I tested it under IAR EWARM 5.40KS, with GDB Server debug interface. ARMV7_GDB_HACKS is disabled, vsllink bug(mentioned in my another mail) fixed, and default_mmu returns ERROR_OK.
When using JTAG, output will be: Open On-Chip Debugger 0.4.0-dev-00096-g5c602f0-dirty (2009-11-08-00:27) $URL$ For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html 1000 kHz jtag_nsrst_delay: 100 jtag_ntrst_delay: 100 trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain Info : Versaloon(0x21)by Simon(compiled on Nov 7 2009) Info : buffer size for USB is 12288 bytes Info : VSLLink_20080905 by Simon(compiled on Nov 7 2009) Info : vsllink run in NORMAL mode Info : VSLLink JTAG Interface ready Info : clock speed 1000 kHz Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba0 <++++ JTAG init by OpenOCD ++++> 0, ver: 0x3) Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410 , ver: 0x1) Info : DWT dwtcr 0x40000000, comp 4, watch/trigger 565 kHz Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba0 0, ver: 0x3) Info : JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410 , ver: 0x1) target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080004c0 msp: 0x20002000 verify Capture-IR is disabled Info : accepting 'gdb' connection from 0 Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : dropped 'gdb' connection - error -400 When using SWD, output will be: Open On-Chip Debugger 0.4.0-dev-00096-g5c602f0-dirty (2009-11-08-00:27) $URL$ For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html 1000 kHz jtag_nsrst_delay: 100 jtag_ntrst_delay: 100 trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain Info : OpenOCD runs in SWJ mode <++++ Indicating SWJ mode, and JTAG_ID is not checked ++++> Info : Versaloon(0x21)by Simon(compiled on Nov 7 2009) Info : buffer size for USB is 12288 bytes Info : VSLLink_20080905 by Simon(compiled on Nov 7 2009) Info : VSLLink SWJ Interface ready Info : clock speed 1000 kHz Info : DWT dwtcr 0x40000000, comp 4, watch/trigger 565 kHz target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080004c0 msp: 0x20002000 verify Capture-IR is disabled Info : accepting 'gdb' connection from 0 Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : The target is not running when halt was requested, stopping GDB. Info : dropped 'gdb' connection - error -400 "Info : The target is not running when halt was requested, stopping GDB. ", this message is printed when download flash to STM32. Does such message useful? -- Best Regards, SimonQian http://www.SimonQian.com
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development