LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error

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

LPC55S06-EVK fsl_iap driver Flash_Read returns ecc error

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

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