Luka Rahne

Jet Another Uart Problem (JAUP)

Discussion created by Luka Rahne on May 22, 2009
Latest reply on May 22, 2009 by Luka Rahne

I am using internitche OS on M52235EVB  and still have lot of uart problems.

 

1. I remake iuart.c to support rs485

2. i am using uart0 and uart1 only but after heavy load (stress test on uart0) i got interrupt on UART2 if using both uarts at same time.

 

3. UART2 interrupts are disabled all time and MCF_INTC_IMRL_INT_MASK15 is allways high, but when interrupts starts running interrupts can not be turned off and slow down whole processor by huge factor and evetualy hangs. Interrupt flag remain disabled.

 

 

Why do i get unstoppable uart interrupts whit no flags on uart2?

- this interrupt crash gets hooked just after mcf5xxx_irq_enable() in main, (thus there is no reason for memory leaks in my part of code) 

- there is communication on uart1 during power on becuse EVB works like slave

- if there is no communication on uart1 there is no problem.

Outcomes