Super, vielen Dank! ich hatte den stlink v2 benutzt!
1 | openocd -f stm32lx.cfg
|
2 | Open On-Chip Debugger 0.8.0 (2014-07-21-14:23)
|
3 | Licensed under GNU GPL v2
|
4 | For bug reports, read
|
5 | http://openocd.sourceforge.net/doc/doxygen/bugs.html
|
6 | srst_only separate srst_nogate srst_open_drain connect_deassert_srst
|
7 | Info : This adapter doesn't support configurable speed
|
8 | Info : STLINK v2 JTAG v19 API v2 SWIM v2 VID 0x0483 PID 0x374B
|
9 | Info : using stlink api v2
|
10 | Info : Target voltage: 3.255680
|
11 | Info : stm32lx.cpu: hardware has 0 breakpoints, 0 watchpoints
|
12 | Error: jtag status contains invalid mode value - communication failure
|
13 | Polling target stm32lx.cpu failed, GDB will be halted. Polling again in 100ms
|
14 | Error: jtag status contains invalid mode value - communication failure
|
Und hier die Konfigiguration:
1 | source [find interface/stlink-v2-1.cfg]
|
2 | source [find target/stm32lx_stlink.cfg]
|
3 | reset_config srst_only srst_nogate
|
Was da mit dem Polling nicht stimmt, muss ich mir noch näher anschauen.
In der zwischenzeit habe ich texane stlink installiert, dass lief auf
anhieb.