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.

UCD3138CC64EVM-030: How to jump to jump from Flash mode to ROM mode

Part Number: UCD3138CC64EVM-030
Other Parts Discussed in Thread: PMP23340UCD, , USB-TO-GPIO2, UCD-TRAINING-LABS, UCD3138A

Tool/software:

Hi,

Thank u for ur time.

I have some doubts about PMP23340UCD.

      Hardware:UCD3138CC64EVM-030
      Firmware:TI Training-labs

The program is running in Flash mode and cannot jump to ROM, the jump button on the GUI does not work.

The backdoor in the program is commented out and can't be jumped through the Fault pin.

The following error occurs when connecting via JTAG, can you download in Flash mode for JTAG debugging?

Now, how do I get the chip to work via GUI or JTAG?

Best Regards.

  • Hello Martin,

    Thank you for your interest in the UCD devices. Can you please elaborate on why you cannot use the "Command Program to Jump to ROM" feature in the GUI? The GUI is the preferred way to flash and program the GUI. Before you get into JTAG, you should be comfortable using the Fusion Studio GUI and the USB-TO-GPIO2 adapter.

    Also, you have the PMP23340UCD listed but the firmware is the UCD-TRAINING-LABS. Are you just starting out with the UCD products and are learning about them via the UCD Training Labs? The Training Labs are the first step to learn about the UCD products so do not worry about the PMP23340UCD yet. 

    Regards,

    Jonathan Wong

  • Hi,Jonathan

    Thank you for your reply.

    This is my mistake.I changed the pmbus code by mistake.

    In fact, I would like to get the CCS project files for the UCD3138A - just the CMD file, load.asm, and the UCD3138A register declaration file.

    Since the UCD3138A does not exist in traning labs, I tried to comment out the redundant parts of the PMP23340UCD source code.

    The result is obvious, I commented out clear_integrity_word() and watchdog_reset(), so pmbus_write_rom_mode() doesn't work!

    In this case, is there anything that can be done to restore the status quo ante, other than replacing the chip?

    Regards,

    Martin Yang 

  • Hello Martin,

    Unfortunately, if you commented out the clear_integrity_word() and your UCD3138A is locked, then you can really only replace the chip. Keeping the clear_integrity_word() and maintaining a hardware backdoor will your chip can jump to ROM mode.

    Please see this E2E post for more information on the hardware backdoor: https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1356278/ucd3138allcevm150-fault-pins-assignment-in-llc-evm-firmware 

    Regards,

    Jonathan Wong

  • Hi Jonathan,

    Thanks for your help, I will replace the chip.

    Regards,

    Martin Yang

  • Thanks. I unlocked it via JTAG.