EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC2106 flash memory modification by programming!!!

Started by "lpc.lover" April 17, 2006
hello everyone,

I would like to know if it is possible to modify information writes in
the flash of LPC2106?

I want to realize a little program for receive flash hex file by
serial port of the LPC2106, and the LPC2106 write it in the flash by
programming!!

That can see like : send hex file -> receive hex file in memory sram
-> write in flash memory.

Thank you for a help or idea :)

sorry for my bad english :p

An Engineer's Guide to the LPC2100 Series

> I would like to know if it is possible to modify information writes in
> the flash of LPC2106?
>
> I want to realize a little program for receive flash hex file by
> serial port of the LPC2106, and the LPC2106 write it in the flash by
> programming!!
That is possible. The concept is named "boot loader".

Guess what? A boot loader is already present in every 2106 - and it does
precisely what you've described.
It is used by Philips' flash download tool. Connect the 2106's serial
port to a PC, ground some of the 2106's inputs and off you go.

___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
--- In l..., "lpc.lover" wrote:
>
> hello everyone,
>
> I would like to know if it is possible to modify information writes in
> the flash of LPC2106?
>
> I want to realize a little program for receive flash hex file by
> serial port of the LPC2106, and the LPC2106 write it in the flash by
> programming!!
>
> That can see like : send hex file -> receive hex file in memory sram
> -> write in flash memory.
>
> Thank you for a help or idea :)
>
> sorry for my bad english :p
>

Is this what you want to do?

http://www.cse.unsw.edu.au/~jayas/esdk/sill.html
Yes this is a part of what I want : )
Thank you.
Now I going to think about modify the flash block by block and not all in one time ; )
I want to use MAPPING of hex files to do that.
Do you this is a good idea?
For example if I compare the two hex files I think that some part of there file are the same!!
Specialy when the real difference is the modification of a static value in the code!!
With that I think I can flash 256k of the atmel in 3 times : )
I want to use in the futur a other source than the RS232.
For example by wifi connector on RS232 port for wireless flashing ; )

Thank for all idea.

----- Message d'origine ----
De : jayasooriah
: l...
Envoyle : Lundi, 17 Avril 2006, 12h16mn 18s
Objet : [lpc2000] Re: LPC2106 flash memory modification by programming!!!

--- In l..., "lpc.lover" wrote:
>
> hello everyone,
>
> I would like to know if it is possible to modify information writes in
> the flash of LPC2106?
>
> I want to realize a little program for receive flash hex file by
> serial port of the LPC2106, and the LPC2106 write it in the flash by
> programming!!
>
> That can see like : send hex file -> receive hex file in memory sram
> -> write in flash memory.
>
> Thank you for a help or idea :)
>
> sorry for my bad english :p
>

Is this what you want to do?

http://www.cse.unsw.edu.au/~jayas/esdk/sill.html






The 2024 Embedded Online Conference