Hello, I am new to the C51 Compiler and I have problems getting the debug to work the way I want. the Simulator mode dont show the output of printf and so far, I cant debug my programs. Amos
You'll have to initialize the 8051's UART port before the lowlevel routine putchar() will work.
Have you tried the hello world example program to see how it works? Jon
"I am new to the C51 Compiler and I have problems getting the debug to work the way I want" Well, the first thing to do is to find out how the tools work - then you will know how to get them to work the way you want. You need to start by reading the uVision Getting Started guide, and working through the example projects in it. If you are also new to the 8051, see the Standard Advice here: http://www.keil.com/forum/docs/thread4198.asp