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.

Loading a .bin file with CCSv5

Other Parts Discussed in Thread: TM4C123GH6PM, TM4C123FH6PM, UNIFLASH

Hello, I am not able to load a .bin file to the TM4C123FH6PM or TM4C123GH6PM. I am using CCS and a XDS100v2 to connect to the micros via JTAG, but I cannot upload the image that I have in the .bin file format. I have looked around on the wiki sites, and I have not had any luck finding help. Please let me know if you can help. Thanks,

Rob

  • HI Rob,

    how have you been trying?  Have you tried uniflash or the lm flash programmer?   You may  need to translate the bin to a hex or TI txt file first.

    I would be happy to give you the instructions but first would like to understand what you are trying to do have attempted.

    Best Regards,
    Lisa 

  • Hi Lisa, I have a Tiva C Launch Pad with two TM4C123GH6PM micros on it. One is the ICDI Micro. We received an image of the ICDI micro to use on our own board that we are spinning up. (File name "stellaris_icdi.bin") I thought there was a way that CCS can directly load the binary file to the Micro's memory. Is that not correct? I have not tried uniflash or lm flash programmer. As I stated before, I am using a XDS100v2 to connect to the micro via JTAG. I appreciate any help Lisa. Thanks,

    Rob

  • Hi Rob,

    I am still not clear.  Are you trying to load an example?   Do you have your own code?  Are you trying to modify the interface?

    The normal situations are :

    1 - with your own or example code you can use ccs to load the .out generated at build.  CCS also generates a .bin 

    2 - with a flash programer (LM Flash programmer or uniflash) you can load a .hex or .txt file directly to the mcu.  You first conver the .bin to .hex or .txt.  there is a utility with ccs to do this

    So I am trying to understand clearly you wish the second option?

    Best Regards,
    Lisa 

  • I believe the second option is what I am looking for. This is not my code. It was given to us by TI. It looks like I need to convert the .bin file I have to a .hex or .txt and then have Uniflash load it. Is there a tutorial on this process?

    Rob

  • Hi Rob,

    ok start with the following and be sure you know what you are flashing.

    Please keep us informed.

    Directory with conversion tools. (may be slightly different in your installation)

    C:\CCS\cc55_5\ccsv5\utils\tiobj2bin

    Uniflash guide/wiki/info

    http://processors.wiki.ti.com/index.php/Category:CCS_UniFlash

    Uniflash download

    http://www.ti.com/tool/uniflash

    Best Regards,
    Lisa 

  • Hi Lisa, I wanted to let you know that I was able to upload the binary file via UniFlash. Thank you for your help.

    Rob

  • Hi Rob,

    great to hear and thanks for the udpate.

    All the best with development.

    Best Regards,
    Lisa