AnsweredAssumed Answered

Burn OTP bits on i.MX28 with Linux PC

Question asked by Christopher Preschern on Sep 24, 2013
Latest reply on Oct 10, 2013 by Yuri Muhin
Branched to a new discussion

Hi,

 

I want to burn the OTP bits of my i.MX28. What is the easiest way to do that under Linux?

 

My setup:

The board is connected via USB to a  Linux computer. I use bitburner.py to generate the "otpinit.sb" file. The "otpinit.sb" file is generated properly, because it works to set the OTP bits when using this file with the Windows BitInit.exe program.

 

What I tried:

1) I downloaded the MFG Tool for Linux. Should that actually work? It is an .exe file which I have to emulate with WINE to make it work. Did anybody manage to get MFG Tool work under Linux?

2) I used the libusb-Program and the rockbox program suggested in Re: MFG Tools for Linux

    - when loading the otpinit.sb file on the board, I get the following output:

pitc_loader(8003)

loading pitc id 8003

pitc installed

initialize pitc 2280: id:8003

    - however, the fuses are not set. When I set the fuses with my Windows PC, I get the following output:

pitc_loader(8003)

loading pitc id 8003

pitc installed

initialize pitc 2280: id:8003

pitc 8003: process_cdb(cdb:14)

k_pitc_cmd_write_otp_register_set

    - thus I think that I load the otpinit.sb file successfully to the board, but I don't actually burn the fuses (I had the first of the two outputs when using MFG-Tools to burn the bits. After I added a "burn" command in the ucl.xml file for MFG Tools I got the sencond output which also says that the otp registers were set - therefore I think that I simply don't call the "burn" function when using my Linux program to load the otpinit.sb file). What do I have to do to actually burn the fuses?

 

Best regards,

Christopher

Outcomes