summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3210e-eval/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-09 23:59:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-11-09 23:59:46 +0000
commit7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8 (patch)
tree93bfdd4085c7065656d2c224d1f1ab7ce7799ddc /nuttx/configs/stm3210e-eval/README.txt
parent90a4b4973d3425e2f9b86445779fd5c974d23e27 (diff)
downloadnuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.gz
nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.tar.bz2
nuttx-7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8.zip
More PIC32 debug updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3210e-eval/README.txt')
-rwxr-xr-xnuttx/configs/stm3210e-eval/README.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/nuttx/configs/stm3210e-eval/README.txt b/nuttx/configs/stm3210e-eval/README.txt
index f6c21232d..15d621d5b 100755
--- a/nuttx/configs/stm3210e-eval/README.txt
+++ b/nuttx/configs/stm3210e-eval/README.txt
@@ -12,6 +12,7 @@ Contents
- IDEs
- NuttX buildroot Toolchain
- DFU and JTAG
+ - OpenOCD
- LEDs
- Temperature Sensor
- RTC
@@ -238,6 +239,32 @@ DFU and JTAG
The default setting (none of the above defined) is SWJ_CFG[2:0] set to 100
which disable JTAG-DP and SW-DP.
+OpenOCD
+=======
+
+I have also used OpenOCD with the STM3210E-EVAL. In this case, I used
+the Olimex USB ARM OCD. See the script in configs/stm3210e-eval/tools/oocd.sh
+for more information. Using the script:
+
+1) Start the OpenOCD GDB server
+
+ cd <nuttx-build-directory>
+ configs/stm3210e-eval/tools/oocd.sh $PWD
+
+2) Load Nuttx
+
+ cd <nuttx-built-directory>
+ arm-none-eabi-gdb nuttx
+ gdb> target remote localhost:3333
+ gdb> mon reset
+ gdb> mon halt
+ gdb> load nuttx
+
+3) Running NuttX
+
+ gdb> mon reset
+ gdb> c
+
LEDs
====