Question
Can't get printf() in Keil
Posted on February 13, 2013 at 20:22
I have an STM32F407 motherboard here connected via SWD, and Keil UVision IDE.
I can program, run, halt, and read back registers and all the debugging stuff- EXCEPT the printf() won't show anything in the printf() window. I started out with a Segger JLink and switched to the STLink off an STM32F4Discovery board, and the problem remains, so it's probably not actually specific to the debugger hardware.I've read the instructions online about the #defines, redirecting the fpuc to ITM_SendChar, setting up the Port 0, and init file, I think I've got that all correct, but still nothing on the printf() window and nothing to go on, basically. Any ideas?