| 2 | |
| 3 | == Development Environment == |
| 4 | |
| 5 | ==== JTAG Programmer Hardware ==== |
| 6 | |
| 7 | We are using Olimex [http://www.olimex.com/dev/arm-usb-ocd.html ARM-USB-OCD] USB based JTAG debugger that is attached to the JTAG port on the CM2 board (JXX). |
| 8 | |
| 9 | ==== JTAG Programmer Software ==== |
| 10 | |
| 11 | Software used for debugging and internal flash programming is [http://openfacts.berlios.de/index-en.phtml?title=Open_On-Chip_Debugger OpenOCD] (standard Debian package - {{{ apt-get isntall openocd }}} ). |
| 12 | |
| 13 | === Cross-compiler === |
| 14 | |
| 15 | Software development environment is based on [http://www.codesourcery.com/gnu_toolchains/arm GNU Toolchain for ARM Processor]. Downloaded tarball is installed in /usr/{bin,lib,libexec,arm-none-linux-gnueabi}. The toolcahin was compiled with the ''arm-none-linux-gnueabi'' prefix so that (for example) compiler can be invoked with: |
| 16 | {{{ |
| 17 | arm-none-linux-gnueabi-gcc program.c -o program |
| 18 | }}} |