write EEPROM by memory window

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

write EEPROM by memory window

1,569件の閲覧回数
814420552
Contributor III

hello,

my device is S32K146, and compile tool is S32K DS。

<1>as the following picture, after call partition command to partition all D-Flash to EEPROM, when i write a value by memory window, why it tips an error ? 

<2>and every time when i run debug again, the partition information will be lost (check the register SIM->FCFTG1 DEPART is  0xF),  why does the partition information lose?

pastedImage_1.png

wish your help!

0 件の賞賛
返信
1 返信

1,532件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

1. I have done some tests and I have the same error when I'm using OpenSDA. So, If you want to write into the memory by the debugger, you should use some advanced development tools.

2. When you run debug again the new application projet is loaded into MCU and the old one is erased. That is why the partition information is lost.

However, if you do not want to load new code into MCU you can use the "Attach" feature. This feature allows you to attach to the already running application. For example, you can check the registers. But if you want to load updated code (if you change something in your code) do not forget to change it back to the "Run on Reset" option.

pastedImage_1.png

I hope it helps.

Best regards,

Diana

0 件の賞賛
返信