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.

TPS65983B: controlling SPI block via SWD interface

Expert 6460 points
Part Number: TPS65983B

Hi,

We are currently building a design with TPS65983B PD Controller and are evaluating the options of initial memory flash programming.

The populated PCB board come to our production without any firmware in memory flash (blank) and we typically need to create a tool for the first firmware flashing.

We noticed in the documentation that when no valid memory is present (e.g. empty flash) the TPS65983B enters a ‘recovery state’ and presents SWD interface on the USB Type-C SBU pins.

So we would like to create a simple Type-C cable where we would have access to these SWD interface via SBU pins and use this to do the first time program of the flash.

Is it possible to control SPI block via SWD interface (some register read/write commands) so that we can write to the flash?

Are there any other simpler ways or tools to do that?

Thanks for your help.

  • Hi Bart,

    Updating the flash using the SWD interface is not a supported method.

    The TPS65983B needs a valid external image to boot successfully.  The '83B only accesses the external flash during device boot or 4CC execution so an external programmer may access and update the flash.

    Regards,

    Scott