After booting, when you read the data flash, the data is cleared to 0.

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

After booting, when you read the data flash, the data is cleared to 0.

Jump to solution
109 Views
Aren
Contributor II

Write specific data to the data flash and then power cycle. After booting, when you read the data in the data flash, the data in the data flash is cleared to 0.
Are there any possible reasons why the data is cleared to 0?

Tags (1)
0 Kudos
Reply
1 Solution
86 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hmm, that is not possible.

After writing data to the flash, did you verify that data are present in flash? Not just in the debugger GUI, but physically loaded in flash?

Once the data are loaded into flash, only way to remove them is to perform erase procedure.

I would guess, that your data was not programmed into uC and you see them only in debugger GUI.

Best regards,

Peter

View solution in original post

0 Kudos
Reply
2 Replies
80 Views
Aren
Contributor II

Thank you for your answer.
The cause was that the debug code was misbehaving and overwriting it with 0.

Sorry about the fuss. 

0 Kudos
Reply
87 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hmm, that is not possible.

After writing data to the flash, did you verify that data are present in flash? Not just in the debugger GUI, but physically loaded in flash?

Once the data are loaded into flash, only way to remove them is to perform erase procedure.

I would guess, that your data was not programmed into uC and you see them only in debugger GUI.

Best regards,

Peter

0 Kudos
Reply