Hello, I'm using Codewarrior for HCS 12 V4.6 with an Inda...

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

Hello, I'm using Codewarrior for HCS 12 V4.6 with an Inda...

跳至解决方案
1,757 次查看
pmag
Contributor I
Hello,
I'm using Codewarrior for HCS 12 V4.6 with an Indart One programmer/debugger, and I
can't find a solution to preserve a flash block data (1 block of 512 bytes) when I program
the MCU. This block is used to save informations (serial, date, ...) and these informations should not change on an application update.
Is it possible to specify a memory block into flash which it will not affected by code programmation ?
Thanks, best regards.
pm
 
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
911 次查看
stanish
NXP Employee
NXP Employee
Hello pmag,

You can specify memory modules that you don't want to erase automatically before programming.
Debugger menu -> File -> Configuration -> Load tab -> "Advanced..." button.
Unfortunately you can not specify individual sectors of Flash but pre-defined modules.
I'd suggest you to use EEPROM for saving this kind of information

Regards,
Stanish

在原帖中查看解决方案

0 项奖励
回复
1 回复
912 次查看
stanish
NXP Employee
NXP Employee
Hello pmag,

You can specify memory modules that you don't want to erase automatically before programming.
Debugger menu -> File -> Configuration -> Load tab -> "Advanced..." button.
Unfortunately you can not specify individual sectors of Flash but pre-defined modules.
I'd suggest you to use EEPROM for saving this kind of information

Regards,
Stanish
0 项奖励
回复