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

Different behaviour in using EMC while debugging

Hi,
I'm using a LPC2214 with Keil uvision4.
I have an application, with RTX, that uses the bank0 of EMC to interface with an external UART.
When I try to write to the UART some bytes, after the first write in the THR register of the UART, i never see, in the LSR register, the empty buffer info.
Otherwise, doing the same thing while debugging, works correctly.
I've measured, with an odcilloscope, the CS, RD and WR signals to the UART, and are the same in both situations.
The EMC bank is setted with 15 idle clycle, 31 read and write cycle write duration, and all the other options disabled.
There are different settings that are automatically setted by the compiler while debugging?
How can I understand why my application works differetnly when debugging?
I use a ULINK2 for debugging.

Thanks.