I am using an EPM900 emulator to debug a LPC935 application that uses serial output. However, I get nothing in any of the serial windows of uV4 when I run it. I decided to start at the very beginning and loaded the "Hello" example project. Under simulation it works fine and I get the "Hello World" message repeated ad infinitum in the UART#1 window. Under EPM900 emulation it downloads fine and the LEDs flash correctly and the printf(..) instruction is being executed. However, I get nothing in any of the UART windows, including the Debug (printf) viewer. As an aside issue, why does uV4 need 3 UART windows PLUS a Debug (printf) window?
Eric, your comment is well-found. Some years ago I did an investigation into RS232 to USB adaptors. The early ones simply divided down the USB clock to get the baud rate clock - some with questionable accuracy - the lower the CPU clock frequency, the bigger the problem. Some worked and some didn't. Of course, things are much better now, but it did highlight the necessity of getting the baud rate correct. Back to the subject. Do we actually KNOW if the EPM900 even supports serial comms? There is no mention of it anywhere in the documentation and nothing anywhere on the Keil web site. We (actually, I) assume that as the EPM900 only has a USB socket and Keil provide an example program that is designed for the EPM900 and uses serial comms in the form of a "printf()" statement and includes <serial.h> that the serial data goes via the USB connection. A reasonable assumption, but that's all it is - an assumption.