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.

AM2434: USB (DFU/MSC) Boot

Part Number: AM2434

Our customer wants to use USB boot (DFU/MSC) for AM243x.

In the post below it is mentioned that the USB boot is not officially supported for AM243x because the USB boot is never tested.

e2e.ti.com/.../4041636

On the other hand, AM64x supports the USB (DFU/MSC) Boot with Linux.

software-dl.ti.com/.../UG-DFU.html
software-dl.ti.com/.../UG-Memory.html

AM64x has A53 core and runs SPL and U-Boot on A53 in the boot flow for Linux.

software-dl.ti.com/.../UG-General-Info.html

AM243x does not have A53 core, but should have the same boot flow as AM64x up to running SPL on R5.

Can the USB boot (DFU/MSC) be used for AM243x?

If so, I would suggest to our customer to modify the R5 source code on Linux for the USB boot.

Best regards,

Daisuke

  • Hi Daisuke,

    As mentioned in software-dl.ti.com/.../UG-DFU.html:

    3. Once the U-Boot is up, use DFU command from u-boot to flash the binary images from Host PC (using dfu-utils tool) to the eMMC, or QSPI to fresh/factory boards.

    The DFU commands are supported in the u-boot. There is no counter-part on the R5F core, so the DFU part cannot be done on the R5F core. 

    The AM243x ROM bootloader does support boot from USB/MSC as a USB host. What are missing here are the steps to be done for the DFU: such as load the appImage from USB/MSC, update the boot media (OSPI flash, eMMC or SD card) with the new appImage. There should be corresponding sbl_usb for secondary bootloader which requires the USB host MSC (MCU+ SDK does not support currently). 

    Best regards,

    Ming  

  • Hi Ming-san,

    Thank you for your reply.

    I suggested to our customer to modify the source code for tiboot3.bin and try MSC boot, since the code in tiboot3.bin runs on R5.

    Best regards,

    Daisuke