Cant print on SWV ITM Data Console
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 03:10 AM
I am trying to Debug with SWO and SWV in STM32CubeIDE. But i am not getting any thing on SWV ITM Data console and Timline Graph. As you can see in live expression window count is incrementing as expected. My clock is running on 24Mhz.
- Labels:
-
DEBUG
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 07:07 AM
Is your CoreClock indeed 24 MHz? This is not the oscillator frequency,
The value must be equal to global var SystemCoreClock after return from SystemClock_Config() in main(), in MHz.
For example if SystemCoreClock is 64000000 specify 64.0
Also you must click on the ITM console start button, not earlier than when the debugger stops on the first breakpoint (usually at main). Otherwise it won't start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 07:19 AM
Clock are same and I first clicked the console start button before hitting resume for debugging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 07:40 AM
Which STM32?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-13 07:41 AM
STM32F303-->STM32Discovery board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-20 03:26 PM
The following helped me. On my STM32F3DISCOVERY board, the SB10 jumper was not soldered. Soldered SB10 and SWV data appeared. This is because the SWV data is transmitted on the SWO PB3 pin on the STM32F303VCTx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-21 05:53 PM
On my STM32F429I Discovery-DISC1 I had to solder SB9 then it worked.
Two things to check... 1. Your SWO clock freq... must be the same as main clock, in my case 180 Mhz. 2. Solder the bridge for you board, in my case SB9..... for SWO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-05 06:17 AM
How did you manage to get it work?