Initially the DCF Records are works? - MPC5746R

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

Initially the DCF Records are works? - MPC5746R

1,351 Views
demian91
Contributor III

Hi im programmed the DCF Records and i have this.

Factory:

StartRecord[0x400300]: 0x5aa55af00000000

OPT_EN0[0x400308]: 0x1000000200020

I added:

IVPR1_1[0x400310]: 0xfd1000010000e4

IVPR1_2[0x400318]: 0x2efff010000e8

IVPR1_3[0x400320]: 0x7e8800010000f0

If i set in assembly asm("mfspr %r4, 63 "); i get the ivpr1 address and it results in 0x00 but according with the DCF Record i should get 0xFD1000. For other hand, in the address 0x4000C0 in the excel of reference manual say "Soft DCF Record Start Address" but i think is if i want to set an address diffrent from 0x400300. My principal question is it initially DCF Records are working or i have to set the address value 0x400300 in the position 0x4000C0 to make that, so initially the BAF section is possible to erase and program freely.

7 Replies

1,220 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

My principal question is it initially DCF Records are working or i have to set the address value 0x400300 in the position 0x4000C0 to make that, so initially the BAF section is possible to erase and program freely.

The DCF records programmed by NXP are active by default.

You have possibility to add a new record and thus overwrite the factory settings.

For deeper understanding have a look at my application note describing DCF records in details.

we also posted a DCF record calculators so you don't have to create records yourself:

https://community.nxp.com/docs/DOC-341677 

regards,

Peter

0 Kudos

1,220 Views
demian91
Contributor III

hi, the IVPR1 that i set in the DCF record using the excel "MPC5746R DCF Config - v1.3", is correct that i should get the address 0xFD1000 from asm("mfspr %r4, 63 ");? The BAF is initially in state OTP so is for ever?

0 Kudos

1,220 Views
petervlna
NXP TechSupport
NXP TechSupport
The BAF is initially in state OTP so is for ever?

This depends on the device cut.

I am not sure here, but the first samples does not had BAF OTP.

We added that later as customers were deleting BAF unintentionally.

0 Kudos

1,220 Views
demian91
Contributor III

Well, if i try erase the BAF sector and is not sucessful it means that the sector is OTP? i upload two images with the DCF Records that i described.

-DCF Config for IVPR1: https://ibb.co/ySm8KwL
-DCF Records: https://ibb.co/878RBjZ

0 Kudos

1,220 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes the BAF is OTP if you cant erase it.

Pay attention to:

pastedImage_2.png

and

pastedImage_1.png

I have tested it and I can see IVPR1 being updated by BAF execution once I add DCF records.

regards,

Peter

1,220 Views
demian91
Contributor III

Ah ok. Thanks for the clarification.

0 Kudos

1,220 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Iam not sure what you have programmed into UTEST?

Could you share the UTEST dump/ screen from 0x400300 with me?

regards,

Peter

0 Kudos