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.
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
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?
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.
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
Hello,
Yes the BAF is OTP if you cant erase it.
Pay attention to:
and
I have tested it and I can see IVPR1 being updated by BAF execution once I add DCF records.
regards,
Peter
Ah ok. Thanks for the clarification.
Hi,
Iam not sure what you have programmed into UTEST?
Could you share the UTEST dump/ screen from 0x400300 with me?
regards,
Peter