Forum: ARM programming with GCC/GNU tools Store variable in MCU

von Sevc D. (sevc)

Rate this post
0 useful
not useful
Hi all.
I want store variable in to MCU (LPC2142).
I think's so can use free RTC registers but place is small for me.
Me MCU can program flash by IAP. But I read datasheet to understand how
to do it, but I can't (my eanglish is poor). From internet
http://www.mct.net/download/armsamples/LPC/iap.c I download code and
read. The code is for LPC2138.
Can someone help to create simply code (use code from net) to easy store
max.256bytes from ram to flash???.
In some forum in internet are more code (question )but ther are not
result if is it work or not. for example
may some one have working code (to share).

best regards

von Sevc D. (sevc)

Rate this post
0 useful
not useful
Also exist this code
but it's for IAR.
can some one convert to use in WinARM



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.