This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UCD3138: UCD3138 locked problem

Part Number: UCD3138

Hi

Now we have facing a problem, UCD3138 is locked after the program is downloaded. need to send bytes and write blocks to unlock.  Do we have any unlock code to solve this problem? Thank you!

The TI firmware is the Bi-directional DCDC DEMO!

  • Hi Pei Gong,

    Typically to recover a device back to ROM mode, you can SendByte 0xD9 to the PMBus address (0x58). But it looks like the PMBus communication is not working which could mean that the device may not process this command.

    If you power cycle the device and are temporarily able to communicate, then you can try sending this command.

    To prevent this type of an issue, there a couple of precautions that can be taken:

    1. Before writing the checksum during flash programming, make sure that you are able to send the 0xD9 command and it can recover back to ROM mode.

    2. Use a hardware line to add a back door for recovery. As an example the following code can be added in the beginning of the main function:

    void main()

    {

     //---------------------------------------------------------------------------

    // IMPORTANT: READ BELOW, OR CODE MAY NOT EXECUTE CORRECTLY

    //---------------------------------------------------------------------------

    // tie pin FAULT3 to ground for normal operation

    // tie pin FAULT3 to 3.3V to clear checksum

    if(GioRegs.FAULTIN.bit.FLT3_IN == 1)

    {

    clear_integrity_word();

    }

    This example uses the FAULT3 pin.

    Regards,

    Swami