Links for setting up tools needed:
- Java SE6
- Build Environment
- cygwin
- add cygwin/bin location to the path
- installing gnuarm set the window registry entry needed for cygwin 1.7 for use with eclipse
- Eclipse with C-Development Tools (CDT)
- FORTE
- 4DIAC-IDE
- loop-back device
- install check: Device Manager => Network Adaptors => MS Loopback Device
- needed for virtual network on 1 PC with 4diac/forte
- .bat file or java program needed to download FBs via forte deploy to lms
- serial communication in Java
http://en.wikibooks.org/wiki/Serial_Programming/Serial_Java
with link to
http://www.oracle.com/technetwork/java/index-jsp- 141752.html
- GNUARM includes arm-elf-insight for debugging
- used: binutils-2.17, gcc-4.1.1-c-c++, newlib-1.14.0, insight-6.5, setup.exe
- install check:
- 1. echo $PATH Your install directory for /gnuarm/bin should be in the path.
- 2. in a cygwin command window enter arm-elf-insight. The GNU GDB RedHat Source Window should appear.
- arm-elf-insight GUI will not work if blocked by firewall
- Cross-compiling in eclipse
- use arm-elf-g++
- Debugging with GNU GDB arm-elf-insight forte
- open a cygwin command window
- cd to the directory with the forte executable
- ex: cd /cygdrive/h/lms/bin/src/forte
- enter arm-elf-insight forte
- GUI Source Window opens
- Run > Connect to Target: (for Segger JLINK)
- Target: Remote TCP
- Hostname: localhost
- Port: 3333
- View > Console
- monitor reset
- monitor halt
- View > set breakpoints
- max of 2 breakpoints for lms
- max of 1 breakpoint when stepping through code
eCos, Samba, usb Drivers are needed for the following:
- SAM-BA - flashing in firmware update mode
- Flashing LMS with SamBa
Sam-Ba for Vista: (installed on laptop)specifically: - openocd (0.3.1) for JTAG
- website with a list of openocd Windows installers
- .bat files to use openocd to:
- flash lms with Segger JTAG
- connect via openocd
- close connection
- JTAG Segger SW
No comments:
Post a Comment