Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Handling interrupts on RAM (debug) version

2006-05-29 by 3gpabko

When you have set MEMMAP=2 and an exception occurs the
ARM core will fetch from addresses 0x40000000 -
0x4000001C  instead of 0x00000000 - 0x0000001C. That's
why you have to be sure that before this happens you
already have at address 0x40000000 a correct Exception
Vectors Table.
With my tools I am doing this with manually written
code in the startup file(reset handler) and linker
scripts.

Regards
Zdravko  

--- stefano_m_a <stefano_mora@...> wrote:

> MEMMAP=2 is not enought ??
> 
> Thanks !
> 
> 
> --- In lpc2000@yahoogroups.com, 3gpabko
> <zdravko_k_d@...> wrote:
> >
> > Ensure that you have copied a correct exeption
> vectors
> > table into RAM(0x40000000) at startup.
> > 
> > Regards
> > Zdravko
> > 
> > --- stefano_m_a <stefano_mora@...> wrote:
> > 
> > > Hi group,
> > > i'm studying ARM stuff on Olimex LPC-E2294 and,
> in
> > > particular, i'm 
> > > testing interrupts.
> > > 
> > > My problem is the following:
> > > if i compile for RAM_RUN configuration
> (MEMMAP=2),
> > > on interrupt event 
> > > the board stucks;
> > > if i compile for ROM_RUN configuration,
> everything
> > > is ok.
> > > 
> > > This behavoiur is both for timer interrupt and
> uart
> > > interrupt.
> > > 
> > > Can anyone help me ?
> > > Thanks !!
> > > --
> > > SM
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> >
>
\u0417\u043d\u0430\u043d\u0438\u0435\u0442\u043e
> \u0435 
> \u043b\u0438\u0447\u043d\u043e 
>
\u043f\u0440\u0435\u0436\u0438\u0432\u044f\u043d\u0430
> 
> \u0438\u0441\u0442\u0438\u043d\u0430.
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com
> >
> 
> 
> 
> 
> 
> 


\u0417\u043d\u0430\u043d\u0438\u0435\u0442\u043e \u0435 \u043b\u0438\u0447\u043d\u043e \u043f\u0440\u0435\u0436\u0438\u0432\u044f\u043d\u0430 \u0438\u0441\u0442\u0438\u043d\u0430.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

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.