IAP RAM Requirements?

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

IAP RAM Requirements?

546件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by scs on Wed Jan 25 12:06:03 MST 2012
The LPC17XX IAP built-in flash programming functions use 32 bytes in the "top portion of the on-chip RAM". But it is not clear which RAM, the normal RamLoc32 or the less used RamAHB32 second bank of RAM.

If IAP uses the normal RamLoc32, then I should probably reserve 32 decimal bytes at the top of RAM in the CodeRed IDE, changing the MPU Linker Target "Stack offset" from 0 to 32.  But if IAP uses RamAHB32 then Stack offset 0 would be ok.

Does anyone know whether "Stack offset" 32 is recommended when my code uses IAP functions?
0 件の賞賛
返信
1 返信

443件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_USA on Thu Jan 26 10:10:35 MST 2012
Hi!
IAP uses the top 32-bytes of the local RAM (not the AHB RAM). There is an NXP application note that shows how to get IAP to work on the LPC176x_5x.
http://www.nxp.com/documents/application_note/AN10866.pdf
http://www.nxp.com/documents/other/LPC1700_secondary_USB_bootloader.zip
0 件の賞賛
返信