-- [ From: Peter L. Taylor * EMC.Ver #2.5.02 ] -- I'm using a 16c74 to gather data off of some sensors I've attached to it. Currently, the PIC will only gather the data when it receives a command from a PC that is hooked to the serial port. Up until now, I have been simulating with MPSIM to just make sure the PIC is doing what I thought I programed it to do. In MPSIM to simulate a USART receive, I set the contents of the RCREG and then set PIR<5> to simulate a receive interrupt. This works fine. To simulate a transmission interrupt, I just set PIR<4>. Now I am trying to simulate the same program in the new MPLAB-SIM 3.01. It will let me change the RCREG, but I can't set PIR<5>, to simulate my serial reception. For transmission, MPLAB-SIM won't let me set PIR<4>. What is the correct procedure to simulate USART transmission and reception with the new MPLAB-SIM? (No, I haven't been to the seminar, yet. It will be in Salt Lake at the end of June, and I plan on going, but would like to start using MPLAB-SIM now and not wait until the end of June.) -- Peter L. Taylor ~~~~~~~~~~~~~~~~~~~~~~~~ Email: petert@transera.com ~~~~~~~~~~~~~~~~~~~~~~~~ http://www.transera.com ~~~~~~~~~~~~~~~~~~~~~~~~ TransEra Corp. 345 East 800 South Orem, Utah 84058 ~~~~~~~~~~~~~~~~~~~~~~~~ Voice: (801)224-6550 Fax: (801)224-0355 ~~~~~~~~~~~~~~~~~~~~~~~~