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

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

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

Jump to solution
1,153 Views
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
 
Labels (1)
Tags (1)
0 Kudos
1 Solution
307 Views
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

View solution in original post

0 Kudos
1 Reply
308 Views
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 Kudos