Loading...
 
Skip to main content

System Workbench for STM32


No console ouput

Hey guys,

I'm trying to develop a code on a STM32F401C-DISCO board with the System Workbench for STM32 on Eclipse. I can build my code and debug it successfully but in debug mode, I can't use printf() or scanf(), the Program Output Console still remain empty 😑. I probably made a wrong configuration somewhere but I can't find it.
I'm using OpenOCD 0.9 and AC6 STM32 Debugging. Hope you could help me !

Thanks in advance,

Max

Hi Max,
Welcome to the world of embedded systems. Your discovery board does not have a console unless you build one. If you google "stm32f4-disco console" You will find information on how to do this and you will then know more about it than me.

I should look into that. In the mean time I have used buttons and such for user inputs. I'm working up to using touch on the STM429I-DISCO.

Another interesting I/O option would be a small radio like the nrf24l01 or the esp8266.

best,
hank

Edit: You might find this link interesting: http://www.wolinlabs.com/blog/stm32f4.semihosting.html