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.

TMS320F28384D: USB boot mode

Part Number: TMS320F28384D

Hi all,

According to datasheet, when we select Flash/USB boot mode and when the default flash entry address is unprogrammed will switch the boot mode to USB boot.

My question is that in a programmed device, when software receive the firmware upgrade command, can we use software erase the default flash entry address, WD reset and then F28384D switch boot mode to USB boot again? It means that customers can use this method and always do software upgrade via USB port.

Another question, the default flash entry address is 0x00080000, is it correct?

Regards,

Luke

  • Hi champs,

    Any suggestions please?

    Luke

  • yes the default flash address is 0x80000.

    You can follow the method you mentioned for firmware upgrade. But the code that erases flash need to run from RAM other flash bank. 

    you cant execute and erase from same bank.

  • Yes, customers should can use the method I mentioned so that every time F28384D start firmware upgrade through USB port.

    One problem here. If there is something wrong, for example USB disconnect, power lost ... and so on, and the problems cause the upgrade process fail to completed, what will happen to this case? I think because the program in flash memory is not completed, F28384D could fail to boot-up and cannot be upgraded via USB port any longer either(the content of flash entry point is not 0xFFFFFFFF), the system crush and we should avoid this kind of problem.

    Is there any other safer way F28384D normally boot-up from flash memory and can be switched to USB-boot via GPIO setting if needed?

    Thanks and regards,

    Luke

  • Even in case of power failure, the next time device boots the USB bootloader will run and load the application on to RAM. So the application can handle these worse case scenarios.

    Regard

    baskaran

  • Hi Baskaran,

    I don't understand well. Do you mean even in case of power failure during USB boot process, when the content of flash entry point is not 0xFFFFFFFF, the next time F28384D is still able to do USB boot?

    Is it possible? Please advise more on this case, thanks for help.

    Regards,

    Luke

  • Hi Baskaran,

    I know customers can use Custom Boot Mode Table to do the boot mode they need, use different GPIO settings to select Flash boot and USB boot respectively, but customers have to do User OTP programming.

    My question is that if customers don't program User OTP and use default boot mode via GPIO72 and GPIO84, is there any other safer way F28384D normally boot from flash and is able to switch USB boot via GPIO setting if needed?

    Regards,

    Luke

  • With default boot modes it is not possible to switch b/w USB and Flash.