diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-02-21 16:37:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-02-21 16:37:06 +0000 |
commit | b820a70bd01e4b317e219aab25f58541a86848c0 (patch) | |
tree | 388911d5693387b50f0d31dd5444b85e6f718d7b /nuttx/configs/ea3131/README.txt | |
parent | 9f77b1a93a1b5c96bea1c8f905344329f091e36b (diff) | |
download | px4-nuttx-b820a70bd01e4b317e219aab25f58541a86848c0.tar.gz px4-nuttx-b820a70bd01e4b317e219aab25f58541a86848c0.tar.bz2 px4-nuttx-b820a70bd01e4b317e219aab25f58541a86848c0.zip |
Add OpenOCD notes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2538 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/README.txt')
-rwxr-xr-x | nuttx/configs/ea3131/README.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nuttx/configs/ea3131/README.txt b/nuttx/configs/ea3131/README.txt index 51059df72..811ff34e1 100755 --- a/nuttx/configs/ea3131/README.txt +++ b/nuttx/configs/ea3131/README.txt @@ -194,6 +194,31 @@ Image Format If you don't use setenv.sh, then just set your PATH variable appropriately or use the full path to mklpc.sh in the final step. +OpenOCD +^^^^^^^ + + I have been using the Olimex ARM-USB-OCD JTAG debugger with the EA3131 + (http://www.olimex.com). The OpenOCD configuration file is here: + tools/armusbocb.cfg. There is also a script on the tools 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 + + Then you should be able to start the OpenOCD daemon like: + + tools/oocd.sh <topdir> + + Where <topdir> is the directory where NuttX is installed. + + Once the OpenOCD daemon has been started, you can connect to it via + GDB using the following GDB command: + + (gdb) target remote localhost:3333 + ARM/EA3131-specific Configuration Options ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ CONFIG_ARCH - Identifies the arch/ subdirectory. This should |