en:arm_programming
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:arm_programming [2013/07/28 11:03] – fluktuacia | en:arm_programming [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| To help you with the Ubuntu installation it is possible to used a ready-made [[https:// | To help you with the Ubuntu installation it is possible to used a ready-made [[https:// | ||
| - | == Quick installation using a __repository__ | + | == Quick installation using a software repository |
| sudo add-apt-repository ppa: | sudo add-apt-repository ppa: | ||
| sudo apt-get update | sudo apt-get update | ||
| - | sudo apt-get install gcc-arm-none-eabisudo | + | sudo apt-get install gcc-arm-none-eabi |
| | | ||
| == Compilation procedure == | == Compilation procedure == | ||
| Line 80: | Line 80: | ||
| == Connecting the module == | == Connecting the module == | ||
| - | In order to be able to use the bootloader, it in necessary to connect it to the serial link. In the case of using [[cs: | + | In order to be able to use the bootloader, it in necessary to connect it to the serial link. In the case of using [[en: |
| Line 151: | Line 151: | ||
| An external programmer is required to program through JTAG. In the case of [[cs: | An external programmer is required to program through JTAG. In the case of [[cs: | ||
| + | For programing is suitable eg. [[http:// | ||
| - | Programovat lze např. otevřeným programem [[http:// | + | === Ubuntu === |
| - | OpenOCD | + | Though there already exist natively supported packages for OpenOCD |
| + | quite old compared to the latest development. It is therefore recommended to compile the current version... | ||
| sudo apt-get install libtool git gcc automake libftdi-dev texinfo | sudo apt-get install libtool git gcc automake libftdi-dev texinfo | ||
| Line 164: | Line 166: | ||
| make | make | ||
| sudo make install | sudo make install | ||
| - | | + | |
| - | Tím máme v systému naistalováno | + | To uninstal the OpenOCD, |
| sudo make uninstall | sudo make uninstall | ||
| - | Pokud máme k počítači připojený modul [[cs: | + | If you have a [[cs: |
| sudo openocd -f " | sudo openocd -f " | ||
| Line 188: | Line 190: | ||
| Info : stm32f1x.cpu: | Info : stm32f1x.cpu: | ||
| - | OpenOCD | + | |
| + | Tho OpenOCD | ||
| telnet localhost 4444 | telnet localhost 4444 | ||
| Line 198: | Line 201: | ||
| > | > | ||
| + | |||
| + | === Mac OS X === | ||
| + | |||
| + | |||
| + | ./configure --enable-ft2232_ftd2xx openocd -f busblaster.cfg -f / | ||
| + | \\ | ||
| + | busblaster.cfg: | ||
| + | interface ft2232 | ||
| + | ft2232_device_desc "Dual RS232-HS" | ||
| + | ft2232_layout jtagkey | ||
| + | ft2232_vid_pid 0x0403 0x6010 | ||
| + | |||
| + | basic info: http:// | ||
| + | |||
| ===== RTOS ===== | ===== RTOS ===== | ||
| ==== Chibios ==== | ==== Chibios ==== | ||
| - | [[http:// | + | [[http:// |
| - | + | ||
| - | Jde o základní relaltime operační systém s HAL zjednodušující práci s mikroprocesorem. Pro snazší práci byla vytvorena kofigurace | + | Chibios is a basic realtime OS with HAL component that simplifies the work with a microprocessor. To facilitate the work, a Chibios |
| + | |||
| + | In order to obtain more documentation use [[http:// | ||
| - | Další programová dokumentace je dostupná [[http:// | + | === LED blink demo === |
| - | === Demo blikání | + | |
| #include < | #include < | ||
en/arm_programming.1375009382.txt.gz · Last modified: 2013/07/28 11:03 (external edit)
