Hello,
I have problem with IIC module for IM515. I'm traing to burn fuse bits using Lauterbach Jtag and
programing sequency from RM (page 1174).
For example for fuse FB0REG1 ADDR: 0x83f98844 (default value:0x00)
I would like to achieve value 0x60 (set BT_LPB_FREQ[2:0] = b011)
To do that I'm wrote a short script in TRACE32:
//////////////////////first bit
//Write 8’hAA to PRG_P
Data.Set d:83F98028 %l 0xAA
//User writes target bit address to UPA/LPA using IP Bus
//UA
Data.Set d:83F98014 %l 0x00
//LA
Data.Set d:83F98018 %l 0x8D
//User sets PRG bit
Data.Set d:83F98010 %l 0x01
//Set PROGD in STAT
Data.Set d:83F98000 %l 0x02
///////////////////////// second bit
//Write 8’hAA to PRG_P
Data.Set d:83F98028 %l 0xAA
//User writes target bit address to UPA/LPA using IP Bus
//UA
Data.Set d:83F98014 %l 0x00
//LA
Data.Set d:83F98018 %l 0x8E
//User sets PRG bit
Data.Set d:83F98010 %l 0x01
//Set PROGD in STAT
Data.Set d:83F98000 %l 0x02
////////////////////////third bit is 0!
After I will execute it FB0REG1 = 0x60 but when I reset the cpu FUSE back to the default value = 00.
It is not important how the imx boot moode (Internal Boot / Internal Boot-ROM Selected)
Mayby I don't understand algorytm.
Can anyone can help my?
Lukas.
Solved! Go to Solution.
Problem solved!
The algorithm above is correct but I also need to set the bit:
efuse_prog_supply_gate (CGPR -> 0x73FD_4064),
(and additional information, you must have a 3.3 V on pin VDD_FUSE).
Lukas.
Problem solved!
The algorithm above is correct but I also need to set the bit:
efuse_prog_supply_gate (CGPR -> 0x73FD_4064),
(and additional information, you must have a 3.3 V on pin VDD_FUSE).
Lukas.