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.

TMS320F28062: bootloader through SPI

Part Number: TMS320F28062


Hi,

my customer's system uses one F28062 and one F28377.

The communication is through SPI between the two devices.

F28062 act as master and F28377 act as a slave.

Now we can upgrade the app software for F28377 by transmitting data from F28062 to F28377.

But we can't think of a method to upgrade the app software for F28062 by transmit data from F28377 to F28062.

Because F28377 is a slave, it cannot initiate the talk.

So how can we upgrade the software for F28062 without changing the SPI interface to other interface?

  • Hi Howard,

    I apologize, but I do not understand your question.  I am not sure if this a question pertaining to the ROM boot loader or the SPI peripheral or maybe a pin mux question?  Can you please clarify?

  • Gus,

    as shown below, F28377 will upgrade the application software by downloading software from external can interface.

    F28062 will upgrade the application software by getting software from F28377.

    The problem is that F28377 is the SPI slave, it cannot initiate the talk so it cannot initiate the application software upgrade.

    How can F28377 tell F28062 that the new software is available and start the upgrade?

  • Howard,

    Thanks for the clarification.  

    My recommendation would be to leverage the ROM SPI boot mode on the F28062 and have the F28377 mimic a SPI flash. In this configuration the F28062 will act as the master and the F28377 will act as the slave.  The application software for the F28062 can be converted to the required hex format using the C2000 hex utility described in the TRM.  The customer will need to write a custom application for the F28377 to parse the hex table and handle the SPI requests from the F28377.  

    Please let me know if you have additional questions.