EmbDev.net

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


von Sevc D. (sevc)


Rate this post
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
(http://www.embeddedrelated.com/groups/lpc2000/show/3375.php).
may some one have working code (to share).

best regards

von Sevc D. (sevc)


Rate this post
useful
not useful
Also exist this code
http://www.mcu123.com/product/lpc214x/EE_demo_1_1.zip
but it's for IAR.
can some one convert to use in WinARM

regards

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.