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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.