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.

MSP430: GEL: Encountered a problem loading file:



Hallo,

I have a Problem, I have a ti LaunchPad and I have installed CCS 5.1. I have read and tested the "Getting Started with the MSP430 LaunchPad" it is great. But now, I want to start a Assembler Program. I select "File" "New" "CCS Project", I make my Entries and after this I select "empty assembly-only project" and write some Assembler Lines. But when I start "debugging", it takes a while and then pops a error message "MSP430: GEL: Encountered a problem loading file: Path\Filename.out Could not open file. When I create a empty or not so empty File with this name and put this file in the right path, there is the same Problem. Where is my mistake?

 

 

  • HI Leo,

    Do you get any other messages?  Is your build successful?  Are the projects located in a directory you have administrator rights to? What project settings have you used?

    Let me see if I can reproduce this behaviour on my launchpad here.

    Best Regards,
    Lisa

  • HI Leo,

    can you please provide more details on what and how you have been trying your assembly project? 

    I have just created an assembly only project here.  I could build and debug with no issue.  The build generated a .out file and I got no errors or warnings.  I tried to do something similar to your description in starting a new empty assembly only project and added an assembly code file I had (.asm) to the project.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Leo, I have had this kind of message before. For me it is always because the project didn't compile correctly enough to create the .out file. If under your active project you see "Includes" but do not see "Binaries" above this you probably didn't successfully create the .out file. In this case check that at the end of your compiler in the Console window you must see:

    <Linking>

    'Finished building target: filename.out'

    ' '

    **** Build Finished ****

     

    To know that your .out binary file has been created.

  • I think, i have found my problem. I start ccs5, then file, new, ccs project. Then I make my entries, name for the project, variant, type and empty Assembly only project. Now I open the .asm File with notepad, select all and copy the text in the clipboard. After this i paste this text to my empty project in ccs. Now, when I start debuging, there is a error message and when I click continue, in the second step, there is my error message "MSP430: GEL: Encountered a problem loading file: Path\Filename.out Could not open file". But when i save my project with save as and i put the file to the right folder, then it is all ok. My foult was, not to save the source file.

    Best regards, and thank to all for your quick reaction.

    Leo Edinger,  Germany

  • Hi Leo,

    very glad things now seem to be working for you.  All the best with development.

    Best Regards,
    Lisa

  • Hi Lisa, I have the same problem as this. Just upgraded to Version: 5.2.0.00069 of CCS

      It also might be significant that I just renamed the project from MPL_atest to MPL_V01

     

    Thanks,

    Rich

  • Hi Lisa,

      It appears that when I renamed the project, in CCS, by right clicking on the project and selecting 'rename', the project gets damaged and I get the Load program error in my last email.

      I fixed this by making a new project and copying all the source files from the project giving the error into it. Then it worked fine.

     When I tried to rename the project back to what it was I started getting hundreds of  'could not be resolved' errors.

     Making a new project and copying all the source files from the project fixes these errors also.

      So, no more renaming projects for me.

    Best Regards,

    Rich

  • hi, probé tu recomendación y no funciona, podrías hacer un vídeo donde se vea como lo haces por que a mi no me funciona.

  • Hola Carlos,

    trabajamos aquí en el forum solamente en Inglés.  Recomiendo un nuevo post.

    Carlos, we are only supposed to work in english on this forum.  I would post your problem with screen shots as a new post.

    Translation of the above post " I tried your recommendation and it did not work.  Would you be able to make a video where it is shown how to do this as it did not work for me.".

    Best Regards.   Mucha suerte,

    Lisa

  • Hello, I have the same problem but I tried the same solution posed. I do not get the same result. always occurs when I copy and paste the code from another file. then it shows me the same error. there a way to watch the procedure in video?

  • Hi Carlos,

    I don't believe we have a video of the process, however please let us know the exact steps you are taking and we can go from there.  Perhaps even make a video/quick tip.

    Best Regards,
    Lisa

  • Hi Lisa

    i have a same problem 

    i tried to same ways for solve the problem but i can't

    I start ccs5, then file, new, ccs project

    then i click the "Add Files..." and choose the header files , and paste main.c 

    when i start debuging, there is a error message and when i click continue , and then there is my error   "MSP430: GEL: Encountered a problem loading file: C:\wonang02140929\Debug\wonang02140929.out Could not open file"

    how can i solve this problem

    please help me