ST Link V2 on STM32L0538-DISCO not woking
Hi folks!
Unfortunately, I can not download and debug my STM32L0358 board since I get the following error message:
Open On-Chip Debugger 0.10.0-dev-00004-gcef2a8c-dirty (2017-08-31-14:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 240 kHz
adapter_nsrst_delay: 100
Info : clock speed 240 kHz
Info : STLINK v2 JTAG v21 API v2 M v5 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.241744
Error: Unable to set adapter speed
Info : STM32L053C8Tx.cpu: hardware has 4 breakpoints, 2 watchpoints
Error: Unable to set adapter speed
adapter speed: 240 kHz
STM32L053C8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x080018c0 msp: 0x20002000
STM32L0: Enabling HSI16
Error: Unable to set adapter speed
adapter speed: 4000 kHz
- Programming Started **
auto erase enabled
Info : Device: STM32L0xx (Cat. 3)
Info : STM32L flash size is 64kb, base address is 0x8000000
STM32L053C8Tx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000000e msp: 0x20002000
wrote 8192 bytes from file Debug/STM32L0_RTO_DEMO.elf in 3.531728s (2.265 KiB/s)
- Programming Finished **
- Verify Started **
STM32L053C8Tx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20002000
STM32L053C8Tx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000002e msp: 0x20002000
verified 8156 bytes in 0.229333s (34.730 KiB/s)
- Verified OK **
- Resetting Target **
Error: Unable to set adapter speed
adapter speed: 240 kHz
in procedure ‘program’
in procedure ‘reset’ called at file “embedded:startup.tcl”, line 507
in procedure ‘ocd_bouncer’
Since I’m quite a newbie I do not have a clue what is going on here. Hence any help is kindly appreciated.
I use system workbench Version: 2.1.1.201708311556