LPC43xx IAP Read page

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

LPC43xx IAP Read page

326 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by snovik on Wed Nov 05 08:40:01 MST 2014
Hello!

I want to make a custom bootloader MSC for load firmware to flash.
I do not see IAP read page/sector a flash in the datasheet and in the functions of the library. How to read a page / sector  in internal flash?

Thanks.
Labels (1)
0 Kudos
1 Reply

275 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Nov 05 11:38:34 MST 2014
Just read the flash memory area the same as ram; only the address is different.
It is only writing to flash (erasing/programming) that needs IAP.
[Unless you have set code-read-protection of course, then, obviously, you cannot read or write flash!]

I.e. memcpy(ramBuff, flashPageAddress, pageSize); in "C"
Get the start of flash address etc. from your user manual.

Mike
0 Kudos