About Memory view windows

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About Memory view windows

Jump to solution
1,742 Views
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 Kudos
Reply
1 Solution
1,728 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
1,729 Views
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 Kudos
Reply