On Tue, Jul 7, 2009 at 7:22 AM, Gary Carlson<[email protected]> wrote: > I am getting a bug message when I issue a ³reset halt² instruction from a > telnet client using a j-link dongle. Has this instruction worked for anyone > else before on other targets? Before I go off an hunt this down, I was > hoping to see whether it is a problem isolated to my particular processor or > a larger issue with the j-link code. >
It seems to work for me. mc...@ubuntu904:~/Desktop/build/openocd/jlinkv7$ cat stm3210e_eval.cfg # This is an STM32 eval board with a single STM32F103ZET6 chip on it. source [find target/stm32.cfg] source [find interface/jlink.cfg] #----------- Daemon Configuration telnet_port 4444 gdb_port 3333 tcl_port 6666 # Tell gdb that you can use us to program the device (requires GDB >=6.7 and libexapt) gdb_memory_map enable gdb_flash_program enable mc...@ubuntu904:~/Desktop/build/openocd/jlinkv7$ openocd -f stm3210e_eval.cfg Open On-Chip Debugger 0.2.0-in-development (2009-07-07-07:38) svn:2484 $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS 1000 kHz jtag_nsrst_delay: 100 jtag_ntrst_delay: 100 Info : J-Link initialization started / target CPU reset initiated Info : J-Link ARM V6 compiled Apr 1 2009 11:56:10 Info : JLink caps 0x19ff7bbf Info : JLink hw version 60000 Info : JLink max mem block 8832 Info : Vref = 3.248 TCK = 1 TDI = 0 TDO = 1 TMS = 0 SRST = 0 TRST = 0 Info : J-Link JTAG Interface ready Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) Info : JTAG Tap/device matched Info : JTAG tap: stm32.bs tap/device found: 0x06414041 (mfg: 0x020, part: 0x6414, ver: 0x0) Info : JTAG Tap/device matched Info : accepting 'telnet' connection from 0 Info : JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) Info : JTAG Tap/device matched Info : JTAG tap: stm32.bs tap/device found: 0x06414041 (mfg: 0x020, part: 0x6414, ver: 0x0) Info : JTAG Tap/device matched target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800ead4 target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080019ca target state: halted target halted due to single-step, current mode: Thread xPSR: 0x41000000 pc: 0x080019cc mc...@ubuntu904:~$ telnet localhost 4444 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Open On-Chip Debugger > reset halt JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) JTAG Tap/device matched JTAG tap: stm32.bs tap/device found: 0x06414041 (mfg: 0x020, part: 0x6414, ver: 0x0) JTAG Tap/device matched target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x0800ead4 > resume > halt target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x080019ca > step target state: halted target halted due to single-step, current mode: Thread xPSR: 0x41000000 pc: 0x080019cc > -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
