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:24] – 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:// | + | For programing is suitable eg. [[http:// |
- | Though there already exist natively supported packages for OpenOCD in Ubuntu, their versions are usually quite old compared to the latest development. It is therefore recommended to compile the current version... | + | |
+ | === Ubuntu === | ||
+ | |||
+ | Though there already exist natively supported packages for OpenOCD in Ubuntu, their versions are usually | ||
+ | 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 187: | Line 191: | ||
- | Tho OpenOCD has created a server, that you can connect with throuh | + | Tho OpenOCD has created a server, that you can connect with through |
telnet localhost 4444 | telnet localhost 4444 | ||
Line 197: | 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 ===== | ||
Line 203: | Line 221: | ||
[[http:// | [[http:// | ||
- | Chibios is a basic realtime OS with HAL component that simplifies the work with microprocessor. To facilitate the work a Chibios configuration directly for module with ARM has been created and it is available at [[https:// | + | Chibios is a basic realtime OS with HAL component that simplifies the work with a microprocessor. To facilitate the work, a Chibios configuration directly for module with ARM has been created, and it is available at [[https:// |
- | In order to obtain more documentation | + | In order to obtain more documentation |
=== LED blink demo === | === LED blink demo === |
en/arm_programming.1375010689.txt.gz · Last modified: 2013/07/28 11:24 (external edit)