Yahoo Groups archive

Lpc2000

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

Message

Re: Timer interrupt when executing from RAM

2005-07-01 by soren_t_hansen

--- In lpc2000@yahoogroups.com, "soren_t_hansen" <soren_t_hansen@y...>
wrote:
> --- In lpc2000@yahoogroups.com, "Dan Beadle" <dan.beadle@i...> wrote:
> > The vic address is up in high memory FFFF.... The trick of #-0xff0
> lets the PC wrap to that address.  So 3fff ffef sure sounds like the
> wrong location to me.  Is it the same when you are running from Flash?
> 
> When running from flash the PC gets loaded with the correct address :
> fffff030
> But when running from Ram, the objdump tells me that the pc is loaded
> with the address 3ffff030
> 
> I'll have to try to load the address of the Vic address to the pc
> manually and see if that helps.
> 
> /Søren

This is really starting to annoy me big time. Running with my original
set of startup + linker files I'm now able to make the interrupts work
the first time after I've powered up the board. If I then make another
download through the Jtag the interrupts stops working.

I must admit that at this moment I've no clue of what's going on...

Does someone have a working setup that allows them to debug from Ram
and use interrupts at the same time, whitout having to power cycle the
board every time? If this is the case, I would very much like to see
their startup and linker files.

Best Regards
Søren

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.