Posted on:
How to read & write in programme-memory through programme in lpc2148? In lpc2148 we hv 512kB flash memory, we want to use some of the flash to store data. how we can do this?
Posted on:
It's explained in the LPC214x users's manual, look for IAP (in application programming)
Posted on:
Thanks I have read it.But i think that it programmes Flash in running mode. Is it right?.Actually i want to store input data in Flash during running mode & whenever need comes,I want to read it & gives output to another peripheral.It means i want to use internal Flash like external memory storage device(use of 64K from 512K Flash)I am confused that,if i use IAP,it damages my Boot programme of LPC2148? So if u have any suggestion or code then Plz give it me.Tkank you once again........................
Posted on:
Pragati Shah wrote: > Thanks > > I have read it.But i think that it programmes Flash in running mode. Is > it right?. IAP can be used to write flash-sectors and to erase flash-pages from the user-application. > Actually i want to store input data in Flash during running > mode & whenever need comes I want to read it & gives output to another > peripheral. > It means i want to use internal Flash like external memory > storage device(use of 64K from 512K Flash)I am confused that,if i use > IAP,it damages my Boot programme of LPC2148? Which boot-program? A secondary bootloader? Just make sure that the address-range used for the emulated "external memory storage device" does not intersect with the address-range with the "boot programme"'s code. > So if u have any suggestion > or code then Plz give it me. see here: http://jcwren.com/arm/ (for LPC2148, files iap/iap.*) and maybe here: http://www.siwawi.arubi.uni-kl.de/avr_projects/arm... (for different LPC2000 (2106), files iap*.*)