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'm using a Philips 87lpc764 controller with compiler v6.02/simulator v2.02. When initializing the serial port, the transmit/receive baudrate of serial window of the similator always changes to zero. The hardware itself is working fine... The code used: init_rs232 () { TR1 = 0; TMOD &= 0x0F; TMOD |= 0x20; TH1 = 0xFA; ET1 = 0; PCON |= 0x80; SCON = 0xD0; ES = 1; EA = 1; TR1 = 1; } Loading the SCON register does the change to zero in the serial port window of the simulator. Is anyone else having the same problem or is there a solution for this problem ? Thanks,
Have you tried the latest update? http://www.keil.com/update Keil Support
The simulator for me reports an odd baudrate as well.
latest update works fine...