STM32WL55 dual core debug _ error 18 when debugging CM0+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-10 7: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.
- Labels:
-
DEBUG
-
ST-Link
-
STM32CubeIDE
-
STM32WL series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-31 2: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.
- Short-term: The few number of users affected are advised to use STM32CubeIDE 1.8.0 which contains a matching feature set with respect to STM32WL development.
- Long-term: The final fix will be delivered in the next STM32CubeIDE version.
Sorry for the inconvenience!
Kind regards, Mattias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 5:55 AM
1- CM4 2- CM0P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 6:09 AM
here is my debug config :
CM0P :
CM4 :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-11 8: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-14 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-17 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-21 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-21 1:28 AM
Hi Laudo,
Thank you, the problem was resolved by returning to v1.8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-31 2: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.
- Short-term: The few number of users affected are advised to use STM32CubeIDE 1.8.0 which contains a matching feature set with respect to STM32WL development.
- Long-term: The final fix will be delivered in the next STM32CubeIDE version.
Sorry for the inconvenience!
Kind regards, Mattias
