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.

TPS65986: Programming full flash image over I2C

Expert 3250 points

Part Number: TPS65986

Hello,

Is it possible to write the full flash image over I2C? If so, what is the recommended way to do this? If not, are there other ways than using an external SPI programmer to write the full flash image? 

Many thanks,
Esa

  • Hi Esa,

    Please take a look at the application note:

    It describes how an embedded controller can transfer data to the PD controller using I2C and use 4CC commands to initiate and control a flash update. It is recommended to complete the full flash update one region at a time. 

    I hope this answered your question.

    Regards,

    Scott

  • Hi Scott,

    Thanks for your quick repsonse. I'm aware of the application note and the flash update is currently done as described in it. However, my question was if it's possible to save the FW as a full flash image (see picture below) and then program it as one full region over I2C. If so, what is the recommended way to do this? If not, are there other ways than using an external SPI programmer to write the full flash image? 

    Regards,
    Esa

  • Esa,

    TPS65986 support FLxx flash update related 4CC commands over I2C when a valid flash image is present. If you are programming flash for first time, then an external spi flash programmer like aardvark must be used.

    Regards,

    Atiq