How to update program code from specific flash address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to update program code from specific flash address

599 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by crp1957 on Mon Jun 22 14:36:34 MST 2015
Hi,

I have my application running(with LPC1768) that has received the new binary code (to update itself) and placed it at 0x40000.

How update this code to 0x0 address.

Thanks
0 Kudos
Reply
1 Reply

584 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Tue Jun 23 09:12:24 MST 2015
Hi crp1957,
You will have to use IAP functions. Please looks into page 640 of 849 of LPC175x_6X UM (http://www.nxp.com/documents/user_manual/UM10360.pdf).
Also below application note may be helpful.
http://www.lpcware.com/content/nxpfile/an10866-lpc1700-secondary-usb-bootloader
http://www.lpcware.com/content/nxpfile/an11257-spi-secondary-boot-loader
http://www.lpcware.com/content/nxpfile/an11258-i2c-secondary-boot-loader
0 Kudos
Reply