AnsweredAssumed Answered

New DCF record Addition

Question asked by Suresh Charaku on Aug 7, 2018
Latest reply on Aug 13, 2018 by Peter Vlna

I have a cmm file which adds  a DCF record. I have used this for programming the record.

Eg:

  data.set 0x00400300 %QUAD 0x05AA55AF00000000 ;DCF Start Record

  data.set 0x00400310 %QUAD 0xD3FEA98B00080008 ;STCU SKU Key 1

 

Using debugger I can see the data in DCF record area.

 

Now I want to add a new a new record using again cmm file, would you please inform which one should I use from the following:

1)

  ;data.set 0x00400300 %QUAD 0x05AA55AF00000000 ;DCF Start Record

; data.set 0x00400310 %QUAD 0xD3FEA98B00080008 ;STCU SKU Key 1

data.set 0x00400318 %QUAD 0x2C01567400080008 ;

 

In above case the first 2 records are commented as I do not want to write the area which is already written.

 

2)

data.set 0x00400300 %QUAD 0x05AA55AF00000000 ;DCF Start Record

data.set 0x00400310 %QUAD 0xD3FEA98B00080008 ;STCU SKU Key 1

data.set 0x00400318 %QUAD 0x2C01567400080008 ;

 

In above case I have added new record keeping the old records as it is. If I do this way then will I face any problem, as I am trying to write the same record with same value again in OTP area or will it be fine?

 

MCU : MPC5746R

Debugger : Laughter Bach

Outcomes