About Memory view windows

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

About Memory view windows

跳至解决方案
1,818 次查看
jaylou
Contributor I

I am learning Flash by demo flash_partitioning_s32k148, but why do my memory view windows keep showing question marks no matter which memory region I chose?

jaylou_0-1631942327840.png

 

0 项奖励
回复
1 解答
1,804 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

If a debugger shows somehting like ‚??‘ or ‚XX‘, it means that the memory access was terminated by bus error. In case of flash memory, it is a result of double bit ECC error.
Generally, there are three common reasons for ECC error:
- erase or program operation is terminated by unexpected reset, so the flash is left in undetermined state
- due to over-programming when we program double word which is not fully erased
- due to flash wear-out when too many erase-program cycles have been performed or when data retention period was exceeded
If you can see the question marks everywhere, it’s caused by interrupted erase operation, most likely. The solution is to erase the flash again.

Regards,
Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,805 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

If a debugger shows somehting like ‚??‘ or ‚XX‘, it means that the memory access was terminated by bus error. In case of flash memory, it is a result of double bit ECC error.
Generally, there are three common reasons for ECC error:
- erase or program operation is terminated by unexpected reset, so the flash is left in undetermined state
- due to over-programming when we program double word which is not fully erased
- due to flash wear-out when too many erase-program cycles have been performed or when data retention period was exceeded
If you can see the question marks everywhere, it’s caused by interrupted erase operation, most likely. The solution is to erase the flash again.

Regards,
Lukas

0 项奖励
回复