2018-11-06 08:22 AM
I have followed step-by-step set up as explained in http://blog.atollic.com/cortex-m-debugging-real-time-variable-watch-using-swv/swo but it didnt work for me. I get sometimes some random characters printed on the SWV console.
My setup:
IDE: TrueStudio
Hardware: NUCLEO-F410RB
Programmer: On-board ST-Link
Let me know if you need further details.
2018-11-06 10:16 AM
ok, i checked that
2018-11-06 10:27 AM
I dont understand... now it works even with the external crystal.
2018-11-06 11:10 AM
Please ignore my previous comment, the wasnt cleaned up so it was working with HSI not with HSE.
2019-07-21 01:20 AM
Is there such an article for STM32CubeIDE?
Now that I've migrated to STM32CubeIDE from Atollic TS, I can't get the SWV console to show printf messages.
2019-07-21 04:42 AM
@MFend Please see this thread. No replies yet... so ...
2019-07-26 01:16 AM
The SWV ITM Data Console is working!
In Debug Mode - choose Window -> Show View -> SWV -> SWV ITM Data Console
When the SWV is opened, choose configure (wrench/screwdriver icon) and make sure that Hz rate is correct (can be set in Debug dialog when connecting with ST-Link or Segger-Link) - and check Port 0 (towards bottom of screen on far right - see attached.
2019-07-26 01:17 AM
2019-07-26 01:17 AM
of course syscalls must be included in the Src files of the project
2020-09-10 05:42 PM
So glad to finally get this working! Lots of small configurations to overlook.
To clarify for future readers, I believe "Core Clock" needs to match SYSCLK in the clock config tree.