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.

CCS/TM4C129ENCPDT: Loading a .OUT file using CCS without the project

Part Number: TM4C129ENCPDT

Tool/software: Code Composer Studio

I'm using Code Composer Studio 6.1. I'm using a Tiva Lauch Pad (TM4C123) to program a TM4C129 on a PC board. I have a .OUT file and I want to use CCS to load the board with the .OUT file I have. I do not have the project. I only have the .OUT file. I don't want to debug the program. I just want use CCS to program the board with the .OUT file. In simple terms I would like to open CCS and import the .OUT file and program the board. Is this possible? I've tried to create a dummy project. I've tried to create a target configuration (.ccxml) and nothing is working. Again is this possible to do?

I believe that if I was the owner of the project (which I am not) I could create a .BIN file and then I might be able to use other tools to program the board but right now I only have the .OUT file. 

  • If you start a Project-less debug session, connect to the target and use menu Run → Load → Load Program you should be able to program the .out file into flash.

  • I'm using CCS6.1. The document referred to in the reply references CCS10.0. I looked at the 10.0 documentation and in order to open a project-less debug session I have to perform a manual launch which implies I must have a Target Configuration File. I was unable to create a Target Configuration file unless I opened a project. My Target Configuration file specified the Stellaris In Circuit Debugger and when I clicked on the target in the list the edit box doesn't get filled in. I selected the TM4C129... .I still have a red X on the corner of the Target Configuation File. I tried typing in the TM4C129 part in the text box and that didn't help. I don't think I have a valid Target Configuration file. I can't seem to select the file. I can't call Run Program because on CCS6.1 those options don't seem to be available. 

    I would like to know from opening up CSS6.1 how I can create a project-less debug session after selected a workspace and in that process create a Target Configuration file that doesn't seem to have an error so that I can somehow load a .OUT file to program the Flash memory on my target device. 

  • Michael Cleary said:
    I was unable to create a Target Configuration file unless I opened a project.

    You don't need to have a project open to create a target configuration file. Just go to menu File->New->Target Configuration File. Select the appropriate Connection and Device and save the file.

    Then open the Target Configurations view (menu View->Target Configurations), select the Target Configuration file and launch a manual debug session as described in the Users Guide.

  • I created a Target Configuration file earlier in a project which I realized I didn't need to do but I'm using that Target Configuration fie. I closed the project and now I have the Target Configuration window open. I'm showing the path of the Target Configuration file from the Debug interface to the cortex. In the manual I need to Launch Selected Configuration. The path I found in V6.1 was under the User Defined directory. I launched the selected configuration.

    In a round about way in my debug window I had to right click on the Stellaris entry and click Connect. Only then was I able to go to Run - Load Program. This menu item was always dimmed. I was then prompted to load a file which I did and the process started and a download did take place. The board is not working because even after the download completed I got an error message stating that it could not find a source file. I will have to speak with the firmware designer to figure out this file issue but in conclusion I believe I was able to perform a download of a .out file.