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.

How to configure SCI Boot Option 1 and keep flash boot mode at the same time?

Part Number: F28379

Customer want to use GPIO28 and GPIO29 as SCI boot IO pins, so they need to modify the BOOTCTRL register in OTP to select SCI Boot Option 1.  However, 2 Boot Mode pins need to enable Get mode to choose SCIBOOT(1), so the flash boot is no longer available, and they can not run the code any more. Is it possible to use SCI Boot Option 1 with GPIO28 and GPIO29 while keeping flash boot mode option at the same time? They want to use SCI Boot to update the code, and use flash boot to run code.

  • Aki,

    I've assigned this post to a C2000 expert, but due to the US holiday we will get back to you no later than July 8th end of day US Central time.

    Best regards,

    Matthew

  • Matthew,

    It is OK. Have a good holiday!  : )

  • Aki,

    They want to use SCI Boot to update the code, and use flash boot to run code.

    I don't think that will work. Once BOOTCTRL location is programmed then only SCI BOOT1 option can be used (not with default SCI BOOT option, BMODE = 1) but then flash boot will not be available. What they could  do is change the BOOTMODE pin if that is what forcing them to use different SCI boot option and then use default SCI boot option with BOOTMODE = 1 and have BOOTMODE = 3 for flash boot. I am assuming they have provision to change the BOODMODE pin setting on the board.

    Regards,

    Vivek Singh

  • Hi Vivek,

    The reason why they need to use  SCI Boot Option 1 is that they need to use GPIO85 for EM1D0, whlie GPIO85 is also for default SCI Boot pin (option 1).  I don't think changing BOOTMODE pin could help. Do you have any suggestion?

  • Hi,

    One solution is to always boot to flash. And in your flash application make the decision of whether to continue to execute the flash application or whether to make a function call into the ROM bootloader which you want.

    You can use whatever signal then to determine which boot mode to select, but you will be selecting it yourself from your flash application.

    sal

  • Sal,

    Got that. I also think they need to deal with this like what you said. It will be helpful if we have such example code as a showcase, since it is a common customer requirement. Thank you.