STM32F429 Debug Viewer Usage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 3:57 AM
Hi,
i'm working on stm32f429 with keil uvision v5. I came up to some discussions about debug viewer at keil forums(like thishttp://armcortexm.blogs.upv.es/stm32f4-discovery-and-printf-redirection-to-debug-viewer-in-keil/
) and tried it but i couldnt see anything at debug viewer. i checked the configurations that i have to do, but it seems i'm doing it right. is there a difference between stm32f407 and stm32f429 while using the debug viewer? if anyone can help me, i will be very appreciated.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 4:28 AM
Two key points:
On STM32 DISCO boards you need to make sure any SB (Solder Bridges) require to make the PB3 (SWO) connection to the ST-LINK. On the STM32F429I-DISCO you must make SB9. The frequency setting for the trace must be the speed you are running the core/pll, ie 168 MHz or 180 MHz, or whatever you have set in system_stm32f4xx.cUp 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
‎2014-05-21 5:21 AM
Thanks for the reply, i have just checked the core speed and you are right, it wasnt 168 mhz, i have watched the core speed on debug and it is 144 mhz. Then i changed the configuration about core speed to 144 mhz. But it still doesnt work. my st-link is working well and there is no problem with solder
bridges. i can use the debug without a problem. Have you ever use the debug viewer on stm32f429? i cant understand why its not working :\- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 6:11 AM
Have you ever use the debug viewer on stm32f429? i cant understand why its not working :\
Yes, I have the STM32F429I-DISCO working with the Serial Wire Viewer (SWV). I'm also pretty sure why it's not working for you.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
‎2014-05-21 6:38 AM
Thanks for the reply :) the pb3 to swd connection solved the problem and it works :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 7:05 AM
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
‎2014-05-21 7:26 AM
it works well now im so thankful to you :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 7:31 AM
it works well now im so thankful to you :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-21 7:31 AM
it works well now im so thankful to you :)
You are welcome, I saw you had success, but posted the graphic for others who might stumble upon this thread in the future. Some of the DISCO and NUCLEO boards have the connection made, others don't.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
‎2014-05-21 7:35 AM
i see it, thanks :) i connected the pb3 to the swd port's first pin
