Can't debug NUCLEO-F746ZG in stm32cubeide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-10 10:17 AM
When i try to debug my eval board, I get an error:
Error in final launch sequence:
Device debug script
The code uploads and runs correctly, only the debugging function does not work.
Serial Wire is activated in CubeMX.
The IDE open a new tab "startup_stm32f746zgtx.s" and the cursor is on line "ldr sp, =_estack /* set stack pointer */"
Solved! Go to Solution.
- Labels:
-
DEBUG
-
STM32CubeIDE
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-12 10:50 AM
I can't reproduce this error.
Now, it works at all combinations.
Thanks a lot for Your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-11 3:50 AM
"The code uploads and runs correctly, only the debugging function does not work"
Does your code put the CPU to sleep, and/or disable the SWD pins?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-11 7:11 AM
I only toggle the LED in the code.
This is a strange behavior.
If I connect a PCB with a F417 soldered to the eval-board debugger, it works.
It works with the F746, when i put a USB-Hub between my notebook and the eval-board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-11 7:36 AM
"It works with the F746, when i put a USB-Hub between my notebook and the eval-board."
Is that a powered hub?
Maybe the F746 just takes too much current?
Have you tried powering the target separately?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-12 10:50 AM
I can't reproduce this error.
Now, it works at all combinations.
Thanks a lot for Your help.
