cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429 Debug Viewer Usage

cnrabdullah
Associate II
Posted on May 21, 2014 at 12:57

Hi,

i'm working on stm32f429 with keil uvision v5. I came up to some discussions about debug viewer at keil forums(like this

http://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.
10 REPLIES 10
Posted on May 21, 2014 at 13:28

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.c
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cnrabdullah
Associate II
Posted on May 21, 2014 at 14:21

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 :\

Posted on May 21, 2014 at 15:11

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cnrabdullah
Associate II
Posted on May 21, 2014 at 15:38

Thanks for the reply :) the pb3 to swd connection solved the problem and it works :)

Posted on May 21, 2014 at 16:05

0690X00000602uyQAA.jpg
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cnrabdullah
Associate II
Posted on May 21, 2014 at 16:26

it works well now im so thankful to you :)

cnrabdullah
Associate II
Posted on May 21, 2014 at 16:31

it works well now im so thankful to you :)

Posted on May 21, 2014 at 16:31

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
cnrabdullah
Associate II
Posted on May 21, 2014 at 16:35

i see it, thanks :) i connected the pb3 to the swd port's first pin