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.

checksum written ucd30xx Reprogramming(update firmware)

Other Parts Discussed in Thread: UCD3020

Hi,

       I'm unknowingly dumped/downloaded  program with checksum into flash memory of ucd30xx ic.how i can reprogram the same device using Fusion Digital Power Designer.

How I can detect ROM of Ucd30xx for reprogram a device.please help me to comeout from program flash to ROM.

Thanks & Regards

Kishor

  • Haaaaai,

                  We can easily detect ROM of Ucd30xx using TI's USB-TO-GPIO programmer. You can find out the TI's website for the details of USB-TO-GPIO programmer which uses a 10 pin PMBus programming pin for faster programming. The instructions and details can be found in the technical documents related to the programmer. 

  • Hi venkant,

    Yes ur  right.but programmed with checksum means the device is in flash mode(FORever).it will not comeback again in ROM mode.so my queation is how i can comeback from FLASH mode to ROM mode(using PMBus command).If you detect a ROM of ucd30xx you can program again a device with no issue.

    I hope You got my problem.

     Thanks & Regards

    Kishor 

    1. Close any open instances of the Fusion Digital Power Designer
    2. Connect the USB-to-GPIO adapter to the board and apply the input voltage to the UCD3xxx power controllers.
    3. Navigate to Start --> All Programs --> Fusion Digital Power Designer --> Device GUIs --> UCD3000 Device GUI  (it may also appear as UCD3xxx Device GUI depending on GUI version).

     

     

  • Last step missing

    4.  Under the Tools section click on Device ID to discover the controller, this should activate the line Command Program to jump to ROM (SendByte 0x09), click this link and the device should be returned to ROM mode.

  • Hi Brad,

               I tried whatever you suggested but I'm unable to detect a ROM of UCD3020.Your procedure is valid only when program written without valid CHECKSUM.  But programmed with Valid CHECKSUM.

    when I clicked on DEVICE ID it is giving scanning address 1-11 and 13-127 for program mode address.

    No device found.

        and  Command Program to jump to ROM (SendByte 0xD9)is not activated.

    Is there any other way to do this. 

  • My experience is with the UCD92xx DC/DC POL controllers which are similar in archetechure to the UCD3xxx parts but come with a pre-loaded firmware.

    Only devices which have firmware written with a valid checksum will be in Program mode and only devices in Program mode will respond to the Device ID request.  Devices without a valid checksum will remain in ROM mode, they would respond to the Scan Device in ROM Mode command and would not require the procedure I provided nor would they respond to it.

    If you have written firmware with a valid checksum then the device will be in Program Mode after initialization.  If it is in Program mode then the only way to return to ROM mode is to send the command 0xD9 to the controller.  If your firmware is not responding to PMBus communication, no response to DeviceID command, then it may not be possible to restore ROM mode.

    The Command Program to jump to ROM mode actually erases the firmware checksum which re-enables ROM mode.

  • Brad ,

     Thank you very much for your clear explanation.your saying what I'm written firmware which will not restore ROM mode.

  • Hi Brad,

    You are right it's problem with my firmware(firmware is not responding to PMBus communication) I corrected now it's working fine.

    Thank you very much.

    Regards,

    Kishor

  • Hello,

    I was downloaded my Firmware in the target via UCD3xxx & UCD9xxx Device GUI . 
    but I lost access to the ROM (ROM not detected) . The following figure shows you what you get when doing a Scan Device in ROM Mode

    But when you click Scan For Device in Program Mode we get this:

    At this stage, it is blocked it does not have the right to appoint another Firmware or the possibility of recovering the Flash program. It seems like I was be locked in Flash mode.

    So , How can i get back to ROM mode 

    Regards 
    Thanks 

  • Hi Rida ,

           Now your program entered into program mode or Flash mode If you want to get back into ROM mode you must clear the FLash checksum so follow below procedure.

    1.Click on SMBus Debug

    2.Send PMBus command (0xD9) to device address 0x58 or (88d) in your case.It clear the checksum and device come back to ROM mode

     Hope it works..:)try and let me know.

    Regards

    Kishor 

    .

  • Rida,

    Kishor is correct. Sending 0xD9 will send your device back to ROM mode. You can also do this by clicking on the  "Command Program to jump to ROM" link. Thanks!

    Regards,

    Brandon Vonk