This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Simulating UART unreliable after 10 seconds

Hi

I'm currently trying to port my serial comms code from a STM32 to the current LPC2478 micro (ARM7TDMI-S core) and I think I am having reliability problems with the Keil simulator.

From code reset, I can send a serial characters from the simulator serial window and I always see the correct received character interrupt raised looking at both the peripheral windows for the VIC and UART0. I can also see that the recieved character is placed into an array.

The problem is after around 10 seconds the received character interrupt is still raised but I no longer get the ISR executed. The main code is executing as normal.

I have no other code or timers running that could stop this from happening. If I continue to send serial characters I can see the simulator show that the UART has overrun due to the ISR not executing.

I won't get my hands on actual real hardware for a while so I can only assume it is a simulator problem at the moment.

Thanks in advance for any ideas or help to as what my be the problem.

0