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.

FUSION-DIGITAL-POWER-STUDIO: Exporting I2C Script File Offline (without a device connection)

Part Number: FUSION-DIGITAL-POWER-STUDIO
Other Parts Discussed in Thread: UCD90320

Hi Team,

I have been referring to the Fusion Digital Power Designer GUI 7.0 for the UCD90xxx Sequencer User Guide to help with my customer inquiries but came across a question I want to check and see if there's any additional details.

My customer currently has a system file (.tifsp) and wants to convert an individual configuration to a .csv data flash script file.  There's some details in Chapter 5 about exporting the files but he mentioned that it required the Fusion Gui to be connected to the device. Is there a way to convert the files offline?

Thanks for the help and best regards,

Jerry

  • Hi Jerry
    This is not supported since the data flash are packed data and GUI has not knowledge about how the data is packed inside the device.
    They have to connect to a live device to get data flash script file.
    Regards
    Yihe
  • Hi Yihe,

    Thanks for the help with the initial question. I have a follow up question from our customer's implementation if I can ask for your help again for some insights:

    In the flash script, at the end of upgrading sequence, we need to perform:
    1. Resetting UCD devices
    2. Wait 1500ms for the device to startup
    3. Verify ID match again
    4. Clearing data flash logs
    5. Send additional housekeeping commands (0xED, 0xEE, 0xEA, 0xB5) and pauses.

    These steps are perfectly fine when we use the GUI running on Windows. But in our case, the CPU of our system will perform the upgrade, and its power is controlled by UCD90xxx chip. So when #1 is executed, the whole system power is OFF, and CPU cannot proceed to perform #2, #3, #4, #5. I understand #2 and #3. But are #4 and #5 necessary? My experiment result shows that the power of my system comes back correctly without the need of performing #4 and #5.But do you aware of any unexpected side effect if we do not perform these steps?

    Thanks again for the help and support.
    Best,
    Jerry
  • Hi, Jerry,

    You can either just simple open the scrip file, and remove the rows after flash programming finish, and start "Verifying data flash"

    Pause 0.2 Pausing 0.20 ms for ROM write hold time
    Comment Resetting the device
    Pause 500 Waiting for UCD90320 to finish validating data flash checksum
    SendByte 0x77 0xDB
    Pause 1500 Waiting for UCD90320 program to startup
    Comment Verifying data flash
    Comment Verify at Addr=0x038800, Data=0x4E680000D50B0030FC190000064D4652

    Or: when you export the script file using Fusion GUI, deselect the options: "Read back & validate flash", "Verify program is now running through DEVICE_ID", "Clear flash logs...".