Yahoo Groups archive

Lpc2000

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

Message

Re: IAP problems (LPC2131)

2006-04-22 by jayasooriah

--- In lpc2000@yahoogroups.com, "Geoffrey Wang" <geoffreyw@...> wrote:
>
> This brings up an interesting question...App Note "Initialization
Code/Hints for the LPC2000 family" dated 1 nov 2005 says
> in section 5.1.2  "In-Application Programming uses the top 128 bytes
of theon-chip SRAM.  The application stack should not
> overlap this area".  Elsewhere, I've read it uses 32 bytes.  Anyone
know the truth?
> 
> Geoffrey

The top 32 bytes are reserved for flash programming stub that is must
be executed from RAM.  The remainder of memory at the top, and the
memory at bottom is used as ISP stack and data segmemnts, respectively.

If you are not using ISP, it looks like you only need to set aside the
top 32 bytes.

However, if you are using WDT, then you need to set aside some memory
at (if I remember, at bottom of memory) which is trashed when the boot
loader sets up external bus interface.

Hope this helps.

Jaya

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.