I am training myself to use MDK5 on an ST Micro 32F429IDISCOVERY board, which uses the STM32F429ZI, Cortex-M4 processor. I found a cheat sheet on the Keil web site entitled "STMicroelectronics: Cortex(TM)-M4 Training STM32F429" at:
- http://www.keil.com/appnotes/files/apnt_253.pdf
The sheet claims to have been written in 'Winter 2013' and to be based on MDK4 (pg 3). I have made it to page 11 and found it to exhibit most of the claimed features with the following exceptions:
1. On pg. 6, after you have built, loaded, and executed the 'Blinky' project, the LEDs LD3 and LD4 are supposed to blink. On my board, they do not, even though I can step through the main control loop and see calls to LED_On () and LED_Off(num) being executed.
2. On pg. 10 it teaches you how to load global variables into the Logic Analyzer and display them in in a manner resembling a scope trace. I can get the variables to register, but no values are displayed (not even 0).
3. On pg. 11 it walks you through testing the printf feature, and view "Hello World" in the Debug Viewer window. It attributes this to the: printf("Hello World\n\r");
statement near line 100 of Blinky.c.
The version of Blinky.c that I installed with MDK5 has no printf statements whatsoever. The app note has an accompanying set of project files which MDK5 tells you were designed for MDK4 and which cannot be built without installing "Legacy support", but that Blinky.c contains no printf statements either.
Before I dive any deeper, I am wondering:
1. How many Blinky projects for the 32F429IDISCOVERY board exist? Where are they located? Did I use the wrong one? Are there multiple versions of the 32F429IDISCOVERY board with incompatible pinouts?
2. Is there some additional trick to get the Logic Analyzer to work? As suggested by the cheat sheet, I tried exiting and re-entering debug mode and cycling power the the Discovery board. They made no difference.
3. Where have all the printf's gone?
My thanks for any insights.