AnsweredAssumed Answered

Program once field

Question asked by Pascal Schroeer on Jun 20, 2014
Latest reply on Jun 22, 2014 by Pascal Schroeer

Hi at all,

 

I have got a question to the program once field at the MK10DX128VLH7 cpu.

 

First of all I have to say, that I'm using the normal flash and eeprom functions without any problems.

Now I would like to use the program once option to store a serial number in my device.

 

 

Here are my questions:

 

1.      Which addresses do I have to choose for the program once field? These ones?

2.     Will the program once field be erased when I repartition the device? (I know that you should

partition your device only once)

 

Well, if the addresses above are right I have programmed the right sector. If I write to this sector with the

WRITE_ONCE_COMMAND I can store data and read out the data. But if I restart the device in debug mode,

the cpu gets a reset when reading the sector and I haven't got any chance to ckeck the error registers.

 

Thanks a lot!

 

 

Pascal

Outcomes