Yahoo Groups archive

Lpc2000

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

Message

Re: Copy RAM to Flash byte long

2005-01-04 by Mark Butcher

I have had no problems with programming as follows:
1. Copy the present contents of the 512 Byte block where changes are 
to be made (careful with boundary starting and ending at modulo 
addresses).
2. Modify the bytes to be changed resp. programmed.
3. Program the 512 block using IAP command.

Restrictions:
- Only allows bit changes from 1 to 0
- Only allows one change in 16 Byte block (due to error checking)
- Only allows about 16 changes in block - due to programming 
stresses - before block must be deleted
- Interrupt must be disable or interrupt code in RAM while IAP 
command executing.

Conclusion:
These restrictions are no problem when programming. For more details 
see the detailed FLASH description as suggested by Philips Apps.

Note: I believe that Philips suggest programming non-changes bits 
to '1' but I couldn't find this text again when quickly looking in 
the document. In any case I never had problems with this strategy.

regards

Mark Butcher
www.mjbc.ch



--- In lpc2000@yahoogroups.com, "sifiland" <sifiland@y...> wrote:
> 
> HI,
> 
> I want to write Intel extended the formatted Hex files over RS232 
in 
> the Flash.
> Can I write the Flash byte for byte by IAP COMMANDS?  Or do I have 
> each time 512 byte up-broad?  
> 
> Thanks.

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.