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

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

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

ソリューションへジャンプ
998件の閲覧回数
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?

タグ(1)
0 件の賞賛
返信
1 解決策
975件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
969件の閲覧回数
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 件の賞賛
返信
976件の閲覧回数
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 件の賞賛
返信