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.

TMS320F28386D: Secure boot with Emulation boot

Expert 2160 points
Part Number: TMS320F28386D

Tool/software:

In CCS memory window, set BOOTPINCONFIG location (0x0D00) to 0x5AFFFFFF and BOOTDEF location (0x0D04) to 0x0000000A.

I follow the example to modify the BOOTPINCONFIG and BOOTDEFas below.

Does my operation is right?  Due to I failed after follow the steps. It just shows A reset Occurred On the Target.

I did not oberve GPIO toggles.

  • Hi W Z, which GPIOs are you using as your boot mode select pins?

    Thank you,

    Luke

  • The hardware configuration for Boot mode is Flash

    Do we need to change this hardware PIN configuration for CPU1 boot mode selection?

  • Could you please know if any update?

  • Hi W Z,

    Are you driving your boot mode select pins to 11 or 00? Since you have programmed custom boot settings, boot mode 00 will be flash boot, not boot mode 11.

    Thank you,

    Luke

  • No, I did not use the custom boot settings. Just want to run the example successfully 

  • Hi W Z,

    Refer to this table in the TRM chapter:

    Could you try using 0xA5 at the beginning of EMUBOOTPINCONFIG instead of 0x5A?

    Thank you,

    Luke

  • After change a new board, i successfully run the example now with Emulation boot (recommended for example/development).

    One thing shall take care is the high byte and low byte allocation in the memory browser.

    Another question: 

    I did not do any other operation to make flash sectors to be authenticated are pre-configured as Zone 1 EXEONLY.

    But I aslo run this example successfully. So I want to confirm with the TI expert, does this is mandatory? 

  • Hi W Z,

    This is simply saying that the Secure Boot / CMAC function is capable of performing CMAC calculations on EXEONLY memory. It can just as easily do this on regular Secure or non secure memory.

    Thank you,

    Luke