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.

Load Program Error : Could not open file

Other Parts Discussed in Thread: CC3200

I am attempting to port an SDK to the CC3200. I have got to a stage where everything is compiling without error, however when I try to build and then debug on the CC3200 LaunchPad. I get the following error.

Load Program Error - Encounteed a problem loading file: D:\......   Could not open file.

Can anyone offer advise on what I should be looking at to resolve this issue?

I am using CCS 6.1

Thanks!

Glenn.

  • Hi Glenn,
    When this error occurs, most of the time it is because the build failed and hence the debugger could not find the program to load.

    You mentioned that it builds successfully. But I assume that the out file does not exist. Can you provide the full linker output?

    Thanks
    ki
  • Hi Ki-Soo,

    You are correct, the .out file does not exist.

    I just checked and it does compile when Debug config is set to Debug, but it failed when set to Release.

    And when I check the Console output, it shows the same compilation failures as the Release, but no errors listed.

    Thanks, I will continue to debug.

    Glenn.

  • I have the same error message, and the .out file exists and there are no errors in the code.

    The other issue I have is when I double click a particular line within a function, (has executable code),  to set a break point, the break point position changes automatically to the top of the function.

    Thanks for your help

    ~Galan

  • I am running into the same Load program error and the .out file is present and no errors at all in either release or debug build.

    Thanks,

    Galan