Openocd to program a stm32c071 error #1631
Unanswered
Pjonkers1975
asked this question in
Q&A
Replies: 1 comment
-
I do not understand how this is specific to the LoRaMac stack (this repo). "Warn : Cannot identify target as an STM32G0/G4/L4/L4+/L5/U5/WB/WL family device." and you're programming an STM32C0, I suspect your issue is with the OpenOCD configuration you are using. I did an extensive search using Google for "STM32C0 OpenOCD" and found this helpful repo:
Which purports to support all STM32 MCUs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to program a stm32c071 with a raspberry pi and openocd. but getting errors, see below.
any update for this problem?
DEPRECATED! use 'adapter srst delay' not 'adapter_nsrst_delay'
DEPRECATED! use 'adapter srst pulse_width' not 'adapter_nsrst_assert_width'
Info : Linux GPIOD JTAG/SWD bitbang driver
Info : This adapter doesn't support configurable speed
Info : SWD DPIDR 0x0bc11477
Info : [stm32c0x.cpu] Cortex-M0+ r0p1 processor detected
Info : [stm32c0x.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for stm32c0x.cpu on 3333
Info : Listening on port 3333 for gdb connections
[stm32c0x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x080033e4 msp: 0x20006000
[stm32c0x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x080033e4 msp: 0x20006000
** Programming Started **
Warn : Cannot identify target as an STM32G0/G4/L4/L4+/L5/U5/WB/WL family device.
Error: auto_probe failed
embedded:startup.tcl:1516: Error: ** Programming Failed **
in procedure 'script'
at file "embedded:startup.tcl", line 28
in procedure 'program' called at file "openocd.cfg", line 17
in procedure 'program_error' called at file "embedded:startup.tcl", line 1581
at file "embedded:startup.tcl", line 1516
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
shutdown command invoked
Beta Was this translation helpful? Give feedback.
All reactions