Yahoo Groups archive

Lpc2000

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

Message

Re: Interrupts during IAP

2005-01-05 by Karl Olsen

--- In lpc2000@yahoogroups.com, "rjwal3" <rossjwalker@n...> wrote:
> 
> I have set the UART interrupt up to run from RAM so I can use it 
> during IAP writing to FLASH yet it causes the same problem as if I 
> were running the interrupt from FLASH.
> Does any one have any experience this?
> 
> The interrupt vector in startup.s is:
> 
>    LDR     PC, [PC, #-0x0FF0]     /* Vector from VicVectAddr */
> 
>  And the vector address for my UART1 interrupt is my RAM function:  
> 
>   VICVectAddr2 =  (unsigned long)u1intRAM;
> 
> 
> This works fine by itself, but not when I try to use IAP with the 
> UART interrupt anabled and all the rest disabled.
> 
> Could it still be getting something from FLASH?

Have you relocated the interrupt vectors, i.e. copied them from flash 
to RAM and changed MEMMAP?

Karl Olsen

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.