SWO doesn't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 1:06 AM
Hi, everyone
I use stm32f429ZI (180MHz)​
​
The setting contents were attached to the file
​
Any advice would be appreciated
​
Best regards,
​
​
​
- Labels:
-
STM32CubeIDE
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-04 2:12 AM
What board?
Is PB3 / SWO pin wired to debugger or needs solder bridge made​?
Does ITM_SendChar() work?
Do you have plumbing working so STDIO uses SWV?​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-08 5:45 AM
The CubeMX configuration to enable Debug == Trace Asynchronous Sw, is actually not required at all with CubeIDE. Why? At debug launch, the CubeIDE will configure all needed registers on the device to allow SWV trace.
I also think that the first test should be to just use ITM_SendChar() directly to print a character on ITM-port 0. If this works, then you have to look at glueing it together in syscalls.c:_write() function to have printfs directed to ITM-port 0...
