Read and Write FUSE MAC1 in IMX8QXP

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

Read and Write FUSE MAC1 in IMX8QXP

Jump to solution
294 Views
Jarbo
Contributor II

Hello,

I have a board with an IMX8QXP, a question about the MAC1, how can I read the fuse through OCOTP?

Jarbo_0-1717073606679.png

How can I read or write the fuses through boot?

I don't know what bank or offset to put. (command fuse read bb oo)

Thank you so much

 

0 Kudos
Reply
1 Solution
275 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @Jarbo 

 

In i.MX8x families, the fuses are organized in fuse arrays instead of fuse banks and words, in this case, the bank parameter should be set to zero and the word should match the Fuse row Index in the processors fuse map.

 

So, in fuse map we can see the row index for MAC1_ADDR[31:00]: 

Alejandro_Salas_0-1717085530727.pngAlejandro_Salas_1-1717085555007.png

 

So, the command to fuse the MAC1_ADDR[31:00] should be:

=> fuse prog 0 708 0xFFFFFFFF

 

Where 0xFFFFFFFF is your MAC1_ADDR[31:00]

 

I hope this can helps to you.

 

Best regards,

Salas.

View solution in original post

0 Kudos
Reply
3 Replies
276 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @Jarbo 

 

In i.MX8x families, the fuses are organized in fuse arrays instead of fuse banks and words, in this case, the bank parameter should be set to zero and the word should match the Fuse row Index in the processors fuse map.

 

So, in fuse map we can see the row index for MAC1_ADDR[31:00]: 

Alejandro_Salas_0-1717085530727.pngAlejandro_Salas_1-1717085555007.png

 

So, the command to fuse the MAC1_ADDR[31:00] should be:

=> fuse prog 0 708 0xFFFFFFFF

 

Where 0xFFFFFFFF is your MAC1_ADDR[31:00]

 

I hope this can helps to you.

 

Best regards,

Salas.

0 Kudos
Reply
260 Views
Jarbo
Contributor II

IMX8 works perfectly, thanks! I can now read and write with the NXP OCTP driver, but with IMX93, could you please provide me with the offset? I have tried several and I cannot write with this one.

0 Kudos
Reply
251 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @Jarbo 

It is preferable to do a new post because this thread is related to i.MX8QXP, but for i.MX93 you can find information how to calculate your fuse in reference manual:

Alejandro_Salas_0-1717161332019.png

 

Best regards,

Salas.

 

0 Kudos
Reply