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.
Has anybody had trouble getting the simulator to use a real serial port instead of the builtin serial terminal? Here is my configuration thats loaded on debug: MODE COM1 19200, 0, 8, 1 ASSIGN WIN <NUL >NUL ASSIGN COM1 <SIN >SOUT My simulated program can output serial data through the PC serial port all day long without problems, however when my application reads a byte the simulation hangs. My code runs fine on the real hardware, and it runs fine in the simulator using the builtin serial terminal window, it only hangs when reading a byte, with the assignment to COM1: Ive tested my cables, so i know thats not an issue here. Ive tried the above conf with out assigning NUL to WIN as well, no luck. Any thoughs or suggestions would be greatly appreciated.
I'm a couple of days into using Keil and I'm having the same problem. When I go into debug, Keil hangs if anything is received on Comm1. If I disconnect my 232 source I can exit debug without any problems, but as soon as data is put on the line, I have to dump out. Did you ever find a solution to this?