Hi,

We try to use the stm32l1 discovery with openocd. We have some problem
debugging it. Here is a short log of the debug session. I can create the
full log with -d3 if someone need it. 



Open On-Chip Debugger 0.7.0-dev-00079-g08ddb19 (2012-11-12-17:14)

Licensed under GNU GPL v2

For bug reports, read

      http://openocd.sourceforge.net/doc/doxygen/bugs.html

adapter speed: 1000 kHz

Info : clock speed 1000 kHz

Info : stm32lx.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : accepting 'gdb' connection from 3333

Info : flash size = 128kbytes

Warn : acknowledgment received, but no packet pending

undefined debug reason 6 - target needs reset

target state: halted

target halted due to debug-request, current mode: Thread 

xPSR: 0x01000000 pc: 0x08000654 msp: 0x20003ffc

Error: jtag status contains invalid mode value - communication failure

TARGET: stm32lx.cpu - Not halted

 

in procedure 'reset'

Error: jtag status contains invalid mode value - communication failure

Polling target failed, GDB will be halted. Polling again in 100ms

Warn : The target is not in the halted nor running stated, stepi/continue
ignored.

Warn : target not halted

Error: jtag status contains invalid mode value - communication failure

Polling target failed, GDB will be halted. Polling again in 300ms

target state: halted

target halted due to debug-request, current mode: Thread 

xPSR: 0x21000000 pc: 0x0800231a msp: 0x20003e38

Polling succeeded again

Info : dropped 'gdb' connection

 

 

 



Regards

Jonathan


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to