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.

TMS320F28377D: Entering to boot loader mode

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Hi,

I am working on a project to upgrade the firmware of TMS320F28377D device from another device through USB. We do not want to use physical setting on the PINs to go to boot mode. When we use the asm(" LB 0x3fe868"); command, it seems the boot loader is activated (the product id changes to 00ff and TMS320F28377D shows up in the other device as Boot loader), is this right? do I just need now to send the two files (flash kernel and new image) to the  TMS320F28377D device through USB?

Thanks,

Hossein.

  • Hossein, 

    I am not sure about the LB instruction, will check and let you know.

    Pls refer the example provided at C:\ti\c2000\C2000Ware_4_02_00_00\utilities\flash_programmers\usb_flash_programmer folder. 

    As per this ,  Reset the MCU, then write 0x0C5A to the boot mode select address (0xD00) , run from reset to start the the USB boot loader. 

    After this , you can send the two files .

    Best Regards

    Siddharth

  • Hi Siddharth,

    Thank you for the quick reply. 

    1.Please let me know if had a chance to check the LB instruction. 

    2. Please consider we already have a firmware on the TMS320F28377D  running. We would like TMS320F28377D  to go to USB boot loader mode itself after receiving a command from another device. The instructions you are referring to  (Reset the MCU etc), do they apply to this case? I mean based on your suggestion the firmware should tell TMS320F28377D  to reset and somehow after reboot it sets those registers and reset again?  

    3. Please consider TMS320F28377D  is connected to a computer via USB, when I use the asm command, the disassembly shows the processor goes to the address 0x3fe868. On the computer it shows the TMS320F28377D  usb is detached and a new usb device is attached with a name "Stellaris Device Firmware Ugrade", when we see TMS320F28377D  is recognized as usb device with the name "Stellaris Device Firmware Ugrade", does it mean TMS320F28377D  is in boot loader mode and is waiting for the two files? We have not done reset and we have not set those registers we just used the asm command.

    Thanks,

    Hossein.

  • Hossein, 

     The LB instruction stands for Long Branch.  You can refer to the C2000 instruction set for more details.

    PC will branch to 22-bit address specified in the instruction and start executing. Based on your description, this maybe the boot loader address and hence it is showing it the usb device with the name "Stellaris Device Firmware Ugrade". 

    Please verify the address it is branching to and proceed if it's correct .

    Best Regards

    Siddharth