2020-05-02 09:34 AM
Hi All,
I running STM32CubeIDE on Ubuntu mate 20.04 and was wondering if there has been any progress in the area of using Semihosting working on STM32CubeIDE version 1.3 without OpenOCD.
I am developing on STM32L073 and would like to get this feature working rather than using uart (retargeting)
When I try to use OpenOCD I get the following error .
Open On-Chip Debugger 0.10.0+dev-01193-g5ce997d (2020-02-20-10:54)
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: 8000 kHz
adapter_nsrst_delay: 100
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 8000 kHz
Info : STLINK V2J36S7 (API v2) VID:PID 0483:3748
Info : using stlink api v2
Info : Target voltage: 3.180742
Info : SRST line asserted
Info : STM32L073CBTx.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Info : SRST line released
Error: timed out while waiting for target halted
TARGET: STM32L073CBTx.cpu - Not halted
Info : Device: STM32L0xx (Cat.5)
Info : STM32L flash size is 64kb, base address is 0x8000000
Info : Device: STM32L0xx (Cat.5)
Info : STM32L flash size is 64kb, base address is 0x8000000
semihosting is enabled
Warn : target STM32L073CBTx.cpu is not halted (add breakpoint)
Error: can't add breakpoint: target running
Just to add that I have no breakpoint set in the code.
Many thanks in advance.
Ola