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.

OMAP-L138: USB integration

Part Number: OMAP-L138
Other Parts Discussed in Thread: UNIFLASH

Hi,

I integrated USB 2.0 in ARM and it is working.

Is it possible to integrate USB 2.0 in " Boot loader " ?

Regards,

Allwyn

  • Hi Allwyn

    This device's ROM boot loader  (RBL) does not support natively booting from USB. So you would need to implement primary boot loading through one of the RBL supported boot modes (UART, NAND, NOR, I2C, MMC, SPI etc) and then you can implement an additional user level boot loader over USB.

    Conceptually it will be similar to what this AM335x wiki tries to show on partitioning where you pull the SPL vs Kernel (3rd/4th stage boot loader) etc from

    Hope this helps.

    Regards

    Mukul 

  • Hi
    Currently I am using UART to flash hex files.
    Is it possible to replace UART interface with USB CDC class in BOOT LOADER?

    I integrated USB (virtual com port) the help of USBStarterware package from TI and serial communication is possible with OMAPL1
    38 using teraterm.

    Regards,
    Allwyn
  • Allwyn,

    BOotloader is a very broad term that gets used in system boot. On TI devices when you power up the device there is a ROM bootloader that runs on the device which will setup up the clocks and the boot media and then either copy in the secondary bootloader/application and load into device/external memory.

    Currently it appears to me that you are using serial flashing and boot tools to flash the boot media using UART boot. The tools don`t have the built in ability to transfer the boot image over USB and then to flash the boot image directly as these devices don`t support USB boot as Mukul indicated. If you hope to achieve this functionality on your product then you will need to create a secondary bootloader like the one in staterware that will link to the USB device driver and have the ability to fetch the image from the host using some protocol like DFU and then use that image to flash the boot media. This is however no provided in the TI provided software packages.

    Some of our newer devices have this capability using Uniflash tools as the ROM bootloader on those devices support USB device boot as you can see from here:
    processors.wiki.ti.com/.../Sitara_Uniflash_Quick_Start_Guide

    Regards,
    Rahul