Read and Write FUSE MAC1 in IMX8QXP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Read and Write FUSE MAC1 in IMX8QXP

跳至解决方案
579 次查看
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 项奖励
回复
1 解答
560 次查看
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 项奖励
回复
3 回复数
561 次查看
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 项奖励
回复
545 次查看
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 项奖励
回复
536 次查看
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 项奖励
回复