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/MSP430F2122: CCS6 Load program Error

Part Number: MSP430F2122

Tool/software: Code Composer Studio

Hello Everyone,

I use CCS6 to edit my old projects which was created by CCS4 late in the days.

But I have some troubles while I doing "Debug".

I press DEBUG, and there is a message box appear and tell to me:

Load program Error

File:

C:\User...<my path>...\01_Project.out:Load failed.

I tried to create a new project use CCS6. The trouble is still exist.

The same chip, same JTAG, same coding environment can debug before the error first time appear.

How can I solve it?

Thanks to all of you.

Sincerely,

Norton

  • Hi Norton,

    Thanks for posting - I'm going to work to help resolve your issue. How did you import the project from CCSv4 into CCSv6 - did you use the import process? Are there any other errors or warnings given in the message box when you build or debug - if so please copy paste or provide screenshots?

    Regards,
    Katie
  • Hi Katie,

    This is my way for import project from CCS4 to CCS6,
    Project(Tool bar)->Import CCS Projects...->Select search-directory:<Path>
    And I use "Browse..." to choose my project from CCS4.

    There is no error message but a warning message, and the warning message is,
    This project was created using a version of compiler that is not currently installed: 3.3.3 [MSP430]. Another version of the compiler will be used during build: 4.4.8. See 'Help > Check for Updates' or visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. See 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties.

    I have sent e-mail to TI mail box of tiasia,
    The engineer told me to install other version of Compiler via Help->Install New Software...
    But after I finish this operation, the warning message still exist and I could not find the version 3.3.3.

    BTW, before the "Load failed" message first time bomb out, the warning message exist and I can do debug, coding and everything of CCS without any problem.

    Thanks for help

    Sincerely,
    Norton
  • Hi Katie,

    I have other status that happened today.

    It is my working space below,
    Environment is CCS6.2
    Chip is MSP430F2122

    Import project created from CCS4 to CCS6 for first time and do "Debug" would happen the error: *.out: load failed. This PCB with error I will call as PCB1 below
    I changed to the other PC board (I will call this PCB as PCB2 below) without changing any other things, it could work.
    Then I change back to the PCB1, it could also work.
    The next time I import the same project to CCS6 and do "Debug" with the PCB2, the error appear again.
    This time I change to PCB1 and try "Debug", it could work.
    After that I changed to PCB2 and do "Debug", it also can work.

    I have no idea about how to solve it and why the trouble happened.
    If you do not understand my meaning, please tell me.

    BTW, Besides the warning I told you in the last reply, there is other warning. The warning message is, Linker command file has no sections.
    And I double click on the warning message, CCS6 show Ink_mps430f2122.cmd

    These are the other news about my trouble.

    Sincerely,
    Norton
  • Hi Norton,

    Can you try telling the project to use the latest compiler version (instead of the old version), clean the project, and rebuild? Do you see issues?

    Regards,
    Katie
  • Hi Katie,

    The latest version of compiler is v15.12.3, CCS6, and the old version is v3.3.3, CCS4.
    I have tried the way you said, I make a click on clean and build project button in the "Project" list, it did not work.
    Besides, I have still tried to created a new project in CCS6 when the error happen, but the error, *.out: load failed, still exist.

    And what does the issue mean? Or what kind of information should I give you?

    Sincerely,
    Norton
  • Hi Katie,

    I have other trouble today. As soon as I press DEBUG, CCS6 tell me the error code,
    An internal error occurred during: "Compute launch button tooltip".
    The function "getDebugPropertiesWithAttributes" returned an error condition (0x80004005)

    But when I click on OK and press DEBUG again, It can work. I have no idea about why this error code will exist.

    Sincerely,
    Norton
  • Hi guys,

    Since this seems to be a very CCS-related issue, I'm going to try to loop in someone from that team to help (my expertise is more on MSP430 specifically). They may have more information about some of these error codes. Thanks for your patience.

    Regards,
    Katie
  • Yu-Chuan,

    Katie asked me to provide some guidance on this matter.

    >> The engineer told me to install other version of Compiler via Help->Install New Software...
    >> But after I finish this operation, the warning message still exist and I could not find the version 3.3.3.

    MSP430 compiler version 3.x was never made available publicly as a separate download, therefore moving to CCSv6.x you will need to migrate your project. When doing this, make sure you change the compiler version in all Build Configurations (typically named 'Debug' and 'Release') to completely release the dependency on the old compiler.

    >> I have other trouble today. As soon as I press DEBUG, CCS6 tell me the error code,
    >> An internal error occurred during: "Compute launch button tooltip".
    >> The function "getDebugPropertiesWithAttributes" returned an error condition (0x80004005)
    >> But when I click on OK and press DEBUG again, It can work. I have no idea about why this error code will exist.

    This description indicates something is not right with your workspace. I would strongly suggest you to go through the sections 4 and 6 of the Troubleshooting page at:
    processors.wiki.ti.com/.../Troubleshooting_CCSv6

    At last, the errors of .out not loaded have a wide range of problems. I would recommend also taking a look at the wiki page below and performing a manual launch to precisely know where in the debug launch process the issues are happening.

    processors.wiki.ti.com/.../Troubleshooting_CCS_-_Data_Verification_Errors
    https://youtu.be/g2aaJV_DcZY

    Hope this helps,
    Rafael
  • Hi Rafael,

    Thanks for replying.
    You gave me a big hand.
    I will tried to make sure all you told me.
    I will take a look at the wiki when I meet the trouble about "*.out load fail" next time.

    At the last, I still have a problem about the way you suggest me to do.
    You told me, I need to migrate my project. What is the way or the step to migrate my project?
    I have seen the Debug Configuration in the Project list on tool bar.
    And I have seen the Debug Configurations... in the debug button, green bug button.

    Can you tell me the way to solve it or send me the website of how to do this operation?

    Sincerely,
    Norton
  • Hi Rafael,

    I have the problem "*.out load failed" in chip A.
    But I do not have this problem in chip B.
    Does it means chip A is broken?

    Sincerely,
    Norton
  • Norton,

    >> You told me, I need to migrate my project. What is the way or the step to migrate my project?
    Without knowing your project in detail I can't provide many details. However, from your description it seems the only procedure you need to do is select the compiler installed with CCSv6.2. Please refer to the following reference to learn how to change the compiler versions of your project:
    software-dl.ti.com/.../sdto_ccs_build-handbook.html

    >> I have the problem "*.out load failed" in chip A.
    >> But I do not have this problem in chip B.
    >> Does it means chip A is broken?
    If chip A fails consistently and chip B works all the time, then there may be two things happening:
    - your chip A is broken
    - the board where chip A is located has routing problems or other HW issues (bad cable, solder, etc.)

    Hope this helps,
    Rafael
  • Hi, Rafael

    Thanks for replying all the way for solving problems.
    I've got it.

    BTW, the TI account Yu-Chuan and Norton are both mine.
    One is my own account and the other is my account of company.
    Anyway, Thank you very much.

    Sincerely,
    Norton
  • Hi Norton,

    I suggest that you may provide more details . For example, error screenshots or pcb.

    BR,
    alvin
  • Hi Alvin

    Thanks for replying.
    Other details are replied in the previous reply.
    Maybe you can check with it. If you need any other details, please tell me.
    I do not know how to upload picture on this platform, so I will type and describe with words.

    Sincerely,
    Norton
  • Hi Norton,
    I agree desouza viewpoint.
  • Yu-Chuan, 

    Yu-Chuan Chen said:
    I do not know how to upload picture on this platform, so I will type and describe with words.

    Just for your information, my signature contains a hint of how to attach files:

    "When posting, click on the link Use Rich Formatting to attach images, files or use nice formatting."

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thanks for replying and teaching the way for updating files.
    I will try this method.

    Sincerely,
    Norton

**Attention** This is a public forum