This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to lpc2xxx serial isr


On Mon, Jun 04, 2007 at 02:44:35PM +0700, Alexey Shusharin wrote:
> Hello,
> 
> This patch corrects the issue with a serial isr handler 
> (cyg_hal_plf_serial_isr) in lpc2xxx variant layer.
> 
> The old version of this function does't read UxIIR register in order to 
> clear the interrupt flag. So, the cyg_hal_plf_serial_isr calling never 
> stops and prevents dsr and thread execution.
> 
> Best regards
> Alexey Shusharin
> 

Hello,

An absent that UxIIR read did cause the spurious interrupts report (SIR)
on the GDB stops. I did tried to fix that tweaking a platform HAL. I had
a feeling what that was no K.I.S.S.

I did fulfil a couple of the tests on the Olimex LPC-E2294, LPC-H2294
boards applied the Alexey's patch and I did meet the SIR never. The
patch works perfectly for me. I had a few posts from guys which use my
eCos ports for Olimex LPC22XX targets and they told me about the SIR
issue on the serial ports. That was one of the reasons why I was not
fast with a copyright assignment... If in near days I will get a couple
of the confirmations from LPC22XX guys what this is a medicine, I will
be happy to release the ports.


Thanks,

-- Sergei


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]