LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error

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

LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error

343 次查看
ttahut
Contributor III

I am trying to use the supplied fsl_iap driver to read/write flash.  When I try and call FLASH_Read(), it always returns kStatus_FLASH_EccError. 

I have attached the lpcxpresso55S06_flashiap1 sample program that demonstrates this.  I added the lines

90 and 91 to read 4 bytes from flash.  This call always returns the ecc error.  I noticed later on in the sample,

the for-loop that reads from flash directly.  Is this the correct approach to read from flash?  If not, any ideas why the

ecc error occurring?  Any suggestions on how to fix it?  Or should I just use the for loop method?

标签 (1)
0 项奖励
回复
1 回复

314 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ttahut 

About detail explanation, please refer to below thread:

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55xx-How-to-fix-AHB-Read-HardFault-Er...  

 

BR

Alice

0 项奖励
回复