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 10:56] – 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 144: | Line 144: | ||
| A __batch__ to call the dfu-util on Windows platform and the compiled version of dfu-until without the need to download other libraries can be found here: [[http:// | A __batch__ to call the dfu-util on Windows platform and the compiled version of dfu-until without the need to download other libraries can be found here: [[http:// | ||
| - | You can test the firmware loading using this sample binary, that creates the USB HID mouse ( out of STM32F107 processor. [[http:// | + | You can test the firmware loading, using this sample binary, that creates the USB HID mouse out of the STM32F107 processor. [[http:// |
| | | ||
| ==== J-TAG ==== | ==== J-TAG ==== | ||
| - | K programování přes JTAG se potřebuje externí programátor. Na modulu | + | An external programmer is required to program through |
| - | Programovat lze např. otevřeným programem | + | For programing is suitable eg. [[http:// |
| - | OpenOCD | + | |
| + | === Ubuntu === | ||
| + | |||
| + | 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 162: | 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 186: | Line 190: | ||
| Info : stm32f1x.cpu: | Info : stm32f1x.cpu: | ||
| - | OpenOCD | + | |
| + | Tho OpenOCD | ||
| telnet localhost 4444 | telnet localhost 4444 | ||
| Line 196: | 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.1375008991.txt.gz · Last modified: 2013/07/28 10:56 (external edit)
