Yahoo Groups archive

Lpc2000

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

Message

Re: program starting problem

2005-12-07 by arm_beta_tester

Finally, I've found the problem.
A value of the MEMMAP register (it is used for memory mapping) was
equal to 0x00 by default. In this case interrupt vector are remapped
to boot block.

If I exchange the value of this register for 0x01(in debugger mode),
when the reset vector is reached the program works fine. In that case
interrupt vectors are not remapped and reside in flash.

So, I have to change the cstartup.s79 file. So far I use precompiled
runtime libraries, then I must to write a piece of code.

regards,
hg

--- In lpc2000@yahoogroups.com, "arm_beta_tester" <h11@o...> wrote:
>
> Hello,
> 
> I've written a simple program for ARM LPC2138 to flash on and off LED.
> I use IAR EWARM software.
> When the code is debbuged everything is ok.
> But when I disconnet JTAG HW and reset microcontroller, it's not
starting.
> 
> I noticed that if I disconnect the supply voltage and immediately
> after that connect the plug program starting.
> 
> Regards
> 
> Hubert Gawinski
>

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.