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,760件の閲覧回数
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 解決策
914件の閲覧回数
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 返信
915件の閲覧回数
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 件の賞賛
返信