We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have used printf function in TC. It is used to print data on screen. But what does printf function do in Cortex M3. Do it uses one of uart available in MCU & send data to uart to terminal device or it is used for debugging purpose & transfer data on keil IDE console.
I have included stdio.h file & used printf("a");
But nothing happens , I cant't single step into it to see what's happening.
What actually it do. When I read 8051 book by Mazidi it says printf function due to size constraints.
You decide what it does by implementing a suitable function to take care of the individual characters produced by printf(). See the manual or the examples for more info.
Why are you reading an 8051 book - and a very old one, at that - if you're using Cortex-M3?!