Flash Memory of BankA(only 1st 512 Bytes) Corrupts sometimes after calling Chip_IAP_SetBootFlashBank

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

Flash Memory of BankA(only 1st 512 Bytes) Corrupts sometimes after calling Chip_IAP_SetBootFlashBank

348 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ashgupta28 on Fri Aug 28 11:08:03 MST 2015
Hello,

I am facing an issue in rebooting upgraded code in new flash Bank area. Currently code is running on Bank A & after writing correctly at new code at FLASH bank B & calculating successfully signature, i call Chip_IAP_SetBootFlashBank(new_bank), but just after this function 1 out of 10 times starting 512 BYTES from 0x1A000000 to 0x1A001FF becomes somehow FF.
This happens only after Chip_IAP_SetBootFlashBank(new_bank) but not always.

So code hangs & unable to comes up unless it is hard resetted. After hard resetted , code runs successfully with bank B but 1st 512 Bytes of Bank B remains 0xFFFF. I am using LPCXpresso 7.8 version with latest source packages

Thanks in advance,
Ashish Gupta
标签 (1)
0 项奖励
回复
0 回复数