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

Crash when 2 UARTs transmit at same time

Hi

I have a problem on a LPC2478 where if I keep transmiting the same data to both UART0 and UART2 at the same time very soon the micro will crash with a prefetch Abort error raised. I beleive this is caused by two different UART transmit interrupts being active at once.

If I transmit the data to just UART0 or UART2 individually then there is never a problem.

I am not intentionally using nested interrupts but I suspect this may be the problem. Can I turn this off as I don't need nested interrupts? or is this off by default and I would need to extra code for nested interrupts.

I also assume the prefetch Abort error can be caused by a stack corruption, is there a way to get a trace of everything up to this error using Keil uVision4?

Any help or suggestions would be appreciated.

Regards
Simon

0