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.

C5515 Standalone Bootloading



Dear Friends,

Is that possible to send boot-image to any EEPROM or Flash interfaced to C5515 through the USB port. I mean that, when our device(not containing any program code) is connected to USB port of a PC, it downloads the boot-image and saves it to any external memory(EEPROM, Flash). After that the bootloader loads the program code from the external memory.

How can I do such a bootloading? Thanks in advance.

Yusuf

  • Yusuf,

     The C5515 bootloader supports USB boot; see sprabd7a.  You can write a program which will be downloaded over the USB link and run on the C5515; your program can then download a file over the same USB link and store it on an EEPROM.  Then you can perform a hardware reset and the bootloader will find the EEPROM image and go.

    Note that the C5515 bootloader does not power the USB_LDO, so it will not work if that is required.  See SPRZ308a.

    To get this to work you need to write one program on the C5515, to receive the file and store it on the EEPROM, and a program on the PC, to upload that program and the program that will be stored.  Good luck! 

  • Thanks for the reply. I have a few other questions.

    In the link below, it is said that "In order to ensure the code cannot be accessed and read outside of the system, only encrypted images can be boot from MMC/SD and USB."

    http://processors.wiki.ti.com/index.php/C5515_Boot-Image_Programmer

    And here it says: "For instructions on how to create and load an encrypted boot image onto your development tool, contact your local TI sales rep."

    http://processors.wiki.ti.com/index.php/C5000_Creating_Boot-Images

    Also there are some conversions in this forum about the topic as below:

    For example in the following topic they mention about a USB_boot application program that is used for both encryption and downloading:

    http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/108500.aspx


    And finally in the conversation below, a TI employee proposes that " you need an encrypted boot image for USB boot. Please contact your TI support to get the boot image encryption tool."

    http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/56666.aspx?pi24373=1


    Regarding all these information, what is the use of this usb_boot tool or encryption tool. ? Do I need to use this for my situation? If there is a tool for usb bootloading, why do I need to write my own code? I am confused as you understand from my questions. Would you mind if you provide more specific information? I will appreciate for any information.

    Best Regards ...

    Yusuf

  • C5515 boots only encrypted boot image from USB. TI can provide the encryption tool and a development for customers to develop their application. It is in this link: http://processors.wiki.ti.com/index.php/C5000_Creating_Boot-Images

    You can send these information to your local TI FAE or directly to m-borkar@ti.com. As stated in the link, this is in compliance to US Export.

    The usb_boot.exe is the PC host tool to communicate with C5515 to send the boot image to C5515.

    Regards.