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.
2022-07-12 10:50 AM
I can't reproduce this error.
Now, it works at all combinations.
Thanks a lot for Your help.
2022-07-11 03: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?
2022-07-11 07: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.
2022-07-11 07: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?
2022-07-12 10:50 AM
I can't reproduce this error.
Now, it works at all combinations.
Thanks a lot for Your help.