you can download this usb bootloader and insider you can find IAP
source code to read and write to flash.
http://www.standardics.nxp.com/support/documents/microcontrollers/zip/an10711.zip
--- In l..., suhas.badve@... wrote:
>
> All,
>
> I am using LPC 2148 in one of my project.
> I want to store some data values in the internal flash at Run time.I
need to read these data values from the flash at the power on.
>
> I think Some IAP functions can be used to write the data values in
the flash.But I couldn't find the document which explains it in
detail.
>
> Can some body explain in detail how i can use this IAP function.
> what are the settigns i need to do to succefully execute the IAP
functions.
> I am using IAR compiler to compile the program.
> Thaks in advance.
>
> Regards,
> Suhas Badve
>