Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Interrupt problem with UART0

2005-08-31 by Karsten Weiss

Hi Detlef,
propably, this might be a problem with sporadic interrupts mentioned in 
the LPC22xx user's manual. Have you set up the default interrupt 
handler?  If not, just define an empty interrupt routine and assign it 
to the default interrupt address. This will catch every sporadic 
interrupt and your system keeps running.

Karsten

xjag74 schrieb:

>Hello,
>
>it seems to be a problem with long called functions and/or global 
>variables.
>I use long calls between functions that run in internal RAM at
>address 
>0x40000000 and functions in external Flash at 0x80000000. Now I pay 
>with the time waste of some extra probs realizing long calls for the 
>performance advantage that the internal memory brings.
>
>regards
>Detlef
>
>--- In lpc2000@yahoogroups.com, "xjag74" <detlef.weidner@w...> wrote:
>  
>
>>Hi,
>>
>>I currently try my interrupt controlled UART0 communication (only
>>    
>>
>TX 
>  
>
>>for the beginning) to get startet. The problem I have is that the 
>>interrupts work really sporadicly after an reset or an breakpoint
>>    
>>
>for 
>  
>
>>one or two seconds or not. When I halt the LPC2210 by an breakpoint
>>and rerun the communication (TX), the ARM shows the same behaviour
>>    
>>
>as
>  
>
>>after an reset.
>>I compile using GCC.
>>Has anyone an idea for that behaviour?
>>My debugger brings me not further on that point.
>>
>>Thanks
>>regards
>>Detlef
>>    
>>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.