LPC43xx IAP Read page

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC43xx IAP Read page

734件の閲覧回数
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 返信

683件の閲覧回数
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 件の賞賛
返信