diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-03 03:32:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-03 03:32:48 +0000 |
commit | 2e25934ad05dbfc7d1bdd3448dc8e898e8144f8a (patch) | |
tree | 0b7a58dfd15481ad7da90496e795f01c1a77bc34 /nuttx/configs/olimex-strp711/README.txt | |
parent | f98d12c0f266b9059683a08959f6c3c005bbded2 (diff) | |
download | px4-nuttx-2e25934ad05dbfc7d1bdd3448dc8e898e8144f8a.tar.gz px4-nuttx-2e25934ad05dbfc7d1bdd3448dc8e898e8144f8a.tar.bz2 px4-nuttx-2e25934ad05dbfc7d1bdd3448dc8e898e8144f8a.zip |
Initial debugging fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2648 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-strp711/README.txt')
-rw-r--r-- | nuttx/configs/olimex-strp711/README.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/nuttx/configs/olimex-strp711/README.txt b/nuttx/configs/olimex-strp711/README.txt index 8eaf3224e..12cdaaef5 100644 --- a/nuttx/configs/olimex-strp711/README.txt +++ b/nuttx/configs/olimex-strp711/README.txt @@ -287,6 +287,43 @@ ENC28J60 Module UART3, I2C cannot be used with SPI0. The GPIOs selected for the ENC28J60 interrupt conflict with TIM1. +Using OpenOCD and GDB +^^^^^^^^^^^^^^^^^^^^^ + + I have been using the Olimex ARM-USB-OCD JTAG debugger with the STR-P711 + (http://www.olimex.com). The OpenOCD configuration file is here: + scripts/oocd_ft2xx.cfg. There is also a script on the scripts/ directory that + I used to start the OpenOCD daemon on my system called oocd.sh. That + script would probably require some modifications to work in another + environment: + + - possibly the value of OPENOCD_PATH + - If you are working under Linux you will need to change any + occurances of `cygpath -w blablabla` to just blablabla + + The setenv.sh file includes some environment varialble settings + that are needed by oocd.sh. If you have $PATH and other environment + variables set up, then you should be able to start the OpenOCD daemon like: + + oocd.sh + + Where it is assumed that you are executing oocd.sh from the top level + directory where NuttX is installed. + + Once the OpenOCD daemon has been started, you can connect to it via + GDB using the following GDB command: + + arm-elf-gdb + (gdb) target remote localhost:3333 + + And you can load the NuttX ELF file: + + (gdb) load nuttx + + (There are also some files in the scripts/ directory that I used to + get OpenOCD working with a Wriggler clone... I never got that stuff + working). + Configurations: --------------- |