From 7b62ca71ac0e3ca2c133be8a7d8e07264f5efea8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 9 Nov 2011 23:59:46 +0000 Subject: More PIC32 debug updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/stm3210e-eval/README.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'nuttx/configs/stm3210e-eval/README.txt') 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 + configs/stm3210e-eval/tools/oocd.sh $PWD + +2) Load Nuttx + + cd + 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 ==== -- cgit v1.2.3