2022-03-10 07:40 AM
Hello,
I have started to use stm32wl55 nucleo.
I try to debug a basic application.
I start by debugging CPU1 (CM4) than after booting CPU2 (CM0+) i run the debug for the second CPU.
But ST-LINK: Could not verify ST device!
error details :
Error in final launch sequence:
Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (18) Could not verify ST device! Abort connection.
Any suggestion ?
Thank's.
Solved! Go to Solution.
2022-03-31 02:43 AM
Hi,
Yes, unfortunately a regression bug has been confirmed with respect to debugging of STM32WL Cortex-M0+ core in STM32CubeIDE 1.9.0 vs previous versions.
Sorry for the inconvenience!
Kind regards, Mattias
2022-03-11 05:55 AM
1- CM4 2- CM0P
2022-03-11 06:09 AM
here is my debug config :
CM0P :
CM4 :
2022-03-11 08:03 AM
Hello,
The debug configs look good.
Maybe add one to the port on CM0+ debug config.
But you should download CM0+ application code with the CM4 core.
To do that, go to the startup tab (of CM4 debug) and add the CM0+ elf download.
And In the CM0+ startup tab, select the elf and edit to remove the download (keep the load symbols).
Rgds,
Laurent
2022-03-11 10:11 PM
Hi LaurentL,
i have already do that. but it is not working !
i have repeated the same staps in this video https://youtu.be/QBEfewpPTSk
when i run an application the code in CM0P is executed ...so it is work correctly but not in debug mode !
2022-03-14 06:31 AM
Hi,
Did you change the Option Bytes config ?
Because I can see the DDS option bit (in Security Configuration OB) that should be unchecked to be able to debug CM0+.
Can you check with STM32CubeProgrammer that this bit is unchecked please ?
And is the security enabled ?
Option bit ESE in Security Config OB ESE tab above PCROP.
When you say you are trying a simple application, is it dealing with RF on CM0+ ?
Or really simple as the default "Empty" project or "Cube" project created with STM32CubeIde new project ?
Maybe the CM0+ application is going to low power mode ?
Can you try the simple empty project ?
Rgds,
Laurent
2022-03-17 01:46 AM
Hello all,
We also encounter an issue with the last version of STM32CubeIDE v1.9.0. Rolled back to v1.8.0 could also resolve your issue if LaurentL's solutions did not resolve it already !
Best regards
2022-03-21 01:27 AM
Hi Laurent,
The applications which i tryed are : a dual core empty project and a blinking led project.
Finally, the problem was resolved by using CubeIDE v1.8.
2022-03-21 01:28 AM
Hi Laudo,
Thank you, the problem was resolved by returning to v1.8
2022-03-31 02:43 AM
Hi,
Yes, unfortunately a regression bug has been confirmed with respect to debugging of STM32WL Cortex-M0+ core in STM32CubeIDE 1.9.0 vs previous versions.
Sorry for the inconvenience!
Kind regards, Mattias