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.

TMS320F28379D: SCI boot1 (GPIO 28/29) can be used with SCI boot?

Part Number: TMS320F28379D

Champs,

I am asking this for a customer.

The customer wants to use GPIO 28/29 for SCI firmware update by SCI Boot (GPIO 72=0, GPIO 84=1) and use Get Mode for flash boot normally.

If they program OTP BOOTCTRL BMODE=0x81 and KEY=0x5A to change to SCI boot 1, it seems SCI boot 1 used only for Get Mode (GPIO 72=1, GPIO 84 =1).

Is my understanding correct?

In this way, how do we do for SCI firmware update by SCI Boot (GPIO 72=0, GPIO 84=1) using GPIO 28/29, and use Get Mode for flash boot normally.

Wayne

  • Wayne,
    you are right. If you program OTP Boot Mode as SCI Boot 1 then you will loose flash boot. below is what a customer could do.

    1.> Customer has to implement a solution for this in flash. The device will have to always boot to flash to a boot loader which then makes decision to either start the application in flash or start a SCI Boot 1 loader. Customer can put the SCI Boot 1 loader in flash or call back into the ROM loader with SCI Boot 1 option. Now how this bootloader in flash makes a decision to start the application of SCI Boot can be based on a pin.

    Now so far there are two factory default boot mode select pins (GPIO 72 and GPIO84) which let the device to boot to flash and this third pin which is checked in flash to start application or SCI BOOT. If customer is not happy with 3 pins, customer can program the OTP such that he uses the same pin (for ex: GPIO 72) for Boot Mode Select pin 1 and same GPIO72 Boot Mode select Pin 2. So the boot ROM will read the GPIO72 pin twice and if it is HIGH then device defaults to boot to flash. A second pin (GPIO84 or other) can now be used in the boot loader in flash to make a decision to start SCI Boot 1 or not.

    This way customer will have both the options of booting to flash and also to start SCI Boot 1 and still use two pins for boot selection.

    If customer doesn't want to implement this in flash then there is no option other than using GPIO the default SCI Boot option 0.

    Hope this helps.

    Best Regards
    Santosh Athuru
  • Santosh,

    I understand.
    Thank you for your information.

    Wayne