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.

TMS320F28065: Bootloader

Part Number: TMS320F28065
Other Parts Discussed in Thread: C2000WARE

Hi

I have a design with the TMS320F28065.

It was designed to load from the internal FLASH.

In addition, we have  SPI-A channel for handshake with the CPU.

We want to use the SPI-A channel to upgrade the s/w version when needed.

From the datasheet and app. nots, I understand that I have to change the OTP BMODE from GetMode: Flash to GetMode: SPI.

At the end of the upgrade I need to change back to Flash mode.

But I can do it only 1 time because of the OTP. Is that correct?

Can I move from GetMode: Flash to GetMode: SPI and back several times?

Is there another way to implement that issue ?

tnx, Ranny

  • Ranny

    You are correct, OTP can only be set once so after you set GetMode to SPI, it can't be changed back.
    You have two options:
    1. Set GetMode to SPI. When SPI bootloader receives incorrect data header key, it will be exit the bootloader and branch to the flash entry point.
    2. Keep GetMode set to Flash and put your SPI bootloader in flash.

    You can see the SPI bootloader code and other boot source in C2000Ware.

    Best regards
    Chris