in lpc2148, read & write in programme(flash) memory through programme

OP (Company: services india) #1531174
Rate this post
useful
not useful
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........................
Moderator #1531344
Rate this post
useful
not useful
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_projects/glcd_dcf77/index.html 
(for different LPC2000 (2106), files iap*.*)

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now