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.

TMS320F28388S: USB boot mode for both C28x and CM

Other Parts Discussed in Thread: C2000WARE

Hi Team,

for F28388S, I found from the TRM that it seem can not use USB boot mode for CM, if customer want to use USB boot mode to load both C28x and CM code, is it possible to do so? or any other workaround?

Another question is what tool can support USB boot mode? is C2prog able to support this? any suggestion on how to implement USB boot mode for F28388S?

 

  • Strong

    USB bootloader is only available for CPU1. There is a few options: 

    • Store your own CM USB bootloader in CM flash or user OTP. Then CPU1 app will release CM to boot to flash or user OTP which will then run the USB bootloader. There is a USB SW library in C2000Ware as well as the CPU1 USB bootloader code for reference.
    • Use the CM IPC Message Copy to RAM boot mode. CPU1 will store the CM USB bootloader code in the IPC message RAM, upon CM boot, CM copies this code to RAM and executes it

    Best regards

    Chris

  • Hi Chris,

    Thanks for your reply.

    customer want do USB bootloader for both CPU and CM with  empty chip for mass production, and there is no customer's code in both C28x and CM. it is first time to load the code, is it possible or any tool can help on this?

  • Strong

    The USB flash programmer (in C2000Ware at ~\utilities\flash_programmers\usb_flash_programmer) is designed to work with the USB bootloader.

    To load code to CM, they'll have to make use of one of the options I listed previously. 

    Best regards

    Chris

  • Chris,

    Below is what I am understanding, please correct me if I am wrong.

    Store your own CM USB bootloader in CM flash or user OTP. Then CPU1 app will release CM to boot to flash or user OTP which will then run the USB bootloader. There is a USB SW library in C2000Ware as well as the CPU1 USB bootloader code for reference.

    ----> As there is no USB bootloader in CM flash or user OTP for an empty chip,  it is not a possible option that can be used to load CM code for the first time.

    • Use the CM IPC Message Copy to RAM boot mode. CPU1 will store the CM USB bootloader code in the IPC message RAM, upon CM boot, CM copies this code to RAM and executes it

    ----> This have to load CPU1 code first ,and run CPU1, then  it is able to continue to load the CM code.

    For mass production, customer will not use CCS, forget USB boot, any tool that support programming both C28x and CM code?

  • Strong,

    Your understanding is correct.

    I recommend checking out C2Prog by https://www.codeskin.com/ . They support F2838x.

    Best regards

    Chris