LPC43xx IAP Read page

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC43xx IAP Read page

731 次查看
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.
标签 (1)
0 项奖励
回复
1 回复

680 次查看
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 项奖励
回复