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.

TMS320F28379D: Booting from USB

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hi,

We are working in TMS320F28379D control card. where it is having 2 USB. In TRM it is mentioned like Micro USB is used for booting purpose . I gone through the reference manual and read about peripheral booting and  boot mode switches.

Can anyone help me in understanding how to boot the board from USB(pendrive)?? and how to configure DCSM OTP registers for booting from USB?

  • Hi Varada,

    So have you configured the boot pins accordingly?

    What are you trying to do?

    Please go through this thread, this maybe helpful.

    Thanks and Regards

    Harshmeet Singh

  • Hi  Harshmeet,

    Thanks for the input i referred the thread along with USB_flash_programmer utility.

    Can you please clarify some of my doubts.

    1. Is Boot mode switch SW1  : 1 1 (default flash or peripheral(ex. USB)) correct for USB?

    2.I need to use USB_flash_programmer.exe my_program.dat command to boot the binary from USB??

    3. Then how to configure BOOTCTRL register to boot the board from USB?

    Please suggest right way to boot from USB.

  • Hi Varada,

    Please find the answers inline.

    1, Yes this is correct.

    2. Yes you need to run the usb_flash_programmer.exe

    3. You need not do that USB Boot should occur in standalone mode.

    Thanks and Regards

    Harshmeet Singh

  • Hi Harshmeet,

    I have followed the above procedure only and tried to flash the image using usb_flash_programmer.

    I am getting the following error while running in windows command prompt.

    usb_flash_programmer.exe USB_led.dat

    Note: USB_led.dat this i have converted .out to .dat using hex2000 utility

    Error enumerating device interface: 0x0103
    This may mean that the device is not attached or the driver is not installed
    Error: Couldn't open the USB device

    I am not getting any F28x7x USB Bootloader in device manager after connecting micro usb cable from control card to PC .

    Can you please suggest me is there anything i am missing ?

    Thanks ,

    varada pavani.

  • Hi Varada,

    The error means that your device driver is not installed.

    Can you please do that?

    You would see an unrecognized driver after connection. You need to install the driver provided in the same folder.

    Regards

    Harshmeet

  • Hi  Harshmeet,

    You would see an unrecognized driver after connection. You need to install the driver provided in the same folder.

    How to install driver? Is there any procedure can you please provide me?

    Here i have attached a screenshot of my windows device manager.

  • Varada,

    You need to right click and go to install drivers.

    Choose the path where the windows driver is present in the flash programmer.

    Please make sure you use the latest C2000 Version.

    Regards

    Harshmeet

  • Hi,

    Here is the path of windows driver. 

    C:\Users\admin\Downloads\ethercat\C2000Ware_2_00_00_02\utilities\flash_programmers\usb_flash_programmer\windows_driver

    Inside that F28x7x_USB_Boot_Loader is available. I did right click and install. Later one popup came as Operation completed successfully.

    But i didnt find any "TMS320F28x7x USB Boot Loader" under "Other devices" in device manager and not even unrecognised devices .

    thanks.

  • Hi Harshmeet,

    Can you please clarify some of my doubts?

    1. Before started flashing the image using usb i need to keep the device in USB boot mode(Need to run usb bootloader).

    This i can achieve by selecting Boot mode switch SW1  : 1 1 ???

    2. Do i need to run any specific code in control card  before starting usb boot flashing?

    3.Micro usb cable is not even detecting in device manager , what can i do for that? 

  • Hi Varada,

    Can you please try the following steps :

    1. Connect the target with switch settings 11

    2. Open Memory Browser and update the Memory Location 0xD00 with 0x0C5A.

    3. Then connect USB from PC to the Micro USB Port on top of F2837xD Control Card.

    4. Press the run button on CCS.

    You should see the F28x7x USB bootloader.

    These steps should work for you.

    Thanks and Regards

  • Hi Harshmeet,

    Thank you for the input.

    I followed the same procedure and usb is detecting in device manager as unknown device(Device Descriptor request Failed).

    But not appearing as F28x7x USB bootloader. But still i tried to install drivers which is available at /home/vvdn/ti/C2000Ware_2_00_00_02_Software/utilities/flash_programmers/usb_flash_programmer/windows_driver

    But unable to install.Please find the screenshots below.

  • Hi Varada,

    It looks like you are not using the latest C2000Ware version.
    There is some issue with driver signature.

    Are you on the latest version?

    Thanks and Regards

    Harshmeet Singh

  • Hi Harshmeet,

    Thanks for helping me out. Issue was resolved.