Yahoo Groups archive

Lpc2000

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

Message

Re: IAP not programming in sector 0 (2138)?

2006-03-28 by Jayasooriah

Hi Samuel,

Both IAP and ISP calls use the same routines to program the flash.  Thus if 
you can use ISP to program sector 0, you should be able to do the same 
using IAP calls.

It should not matter where you are calling from so long as you avoid using 
the bottom and top end sections of RAM that are used by the boot loader.

When you say sector 0 cannot be programmed, all of sector 0?  Or is it just 
16 bytes starting at 0x00000000?

Jaya

--- In lpc2000@yahoogroups.com, "SR" <emddjava@...> wrote:
 >
 > Does anyone have this problem,. When using the IAP set of flash
 > programming commands, sector 0's at 0x00000000 is never been able to
 > be programmed when you are running the code on RAM, the vector address
 > is mapped onto the internal Flash location 0x00000000. Any help,
 >
 > Samuel

Send instant messages to your online friends http://au.messenger.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.