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.

UCD90120A: Linux Application to Upgrade the UCD90120a Configuration

Part Number: UCD90120A

I've got some questions related to creating a linux application to perform UCD90120a configuration upgrade via SMBus. 

The application itself is mostly written.

First question: how do I generate the SMBus script file to update the UCD90120a's data flash?

I am only interested in updating the configuration, not the device's firmware.

Is the correct script generated by choosing the following options in TI Fusion?:

“Click to configure device”->”File”->”Export”->”Data Flash Write Script”.

(I have been using "“Click to configure device”->”File”->”Export”->”PMBus Configuration Write Script”. This doesn't update the data flash..)

(Why does this option even exist, and what is it used for? Seems like I fell down a rabbit hole following this path.)

Second question:

We're using a UCD90120a master+slave configuration.

How do I go about updating both devices?

It seems like the system will probably reboot after upgrading each device?

Should I perform all the upgrade steps short of reset on both devices before performing a reset?

What's best/correct way to deal with this situation?

  • Hi

    Please see my comments below

    1. Pmbus write script file is to update the operation memory on the fly, you have to issue a store default all command to make the changes into flash. You can use data flash script file while writing data flash directly.

    2.  What does master +slave mean? Is the reboot due to the factor that the pmbus write script file may change the operating memory on the fly . Data flash script file shall help.

    If this does not work , please provide more details.

    Regards

    Yihe

  • Master+Slave mean we're using two UCD90120a devices with one acting as master the other as slave.
    I'm wondering if a special sequence is necessary/recommended to update both devices without rebooting in between the two updates.
  • Hello David

    Thanks for the descriptions.

    I would suggest to try data flash script file as mentioned in the previous post. 

    Regards

    Yihe 

  • I think this problem is probably solved, but I'm not sure.

    Here's why.

    I start with a .xml project file and update the configuration on a UCD90120a.

    I do this with the TI Fusion tool by choosing: "Click to configure device", then “File->Import”.

    I then generate both a data flash write script file AND a "read-back" version of the .xml file.

    The two .xml files don't match (!), and not just in trivial ways. They are significantly different.

    Until the .xml files match, or at least differ trivially, I won't have confidence in the validity of the data flash write script.

    How should I proceed in validating that my data flash write script matches the .xml project file I'm starting with?

  • Hi David

    The data flas script file is a csv file, xml is a project file. how can you compare these two together?

    do you mean the xml file generated after import the data flash script file does not match the original xml file?

    1. import the xml file into the device

    2. export the data flash write script file

    3. power cycle the board

    4. import the data flash write script file

    5. export the xml file

    Do you follow the above steps?

    Regards

    Yihe

  • Hi Yihe,

    I did not follow those steps exactly. Close, but not exact.

    For step #4 I used my update tool instead of the TI Fusion.
    Using the Project File Compare Tool I was able to see that the differences between the .xml files were only status values and not configuration values.

    So, I think this issue is settled.

    Thanks again,

    David