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 CCSv5

Hi friends,

I am using the ccs compiler version 5.2 on Ubuntu(linux), i am trying to compile the ccs project.

When I press the debug button, I get the error in a window, and here is the error window image what i get while compiling.

 

"Load program error"

Encountered a problem loading file:

File:\home\karmic\workspace_v5_2_Array\Program_Array\Debug\Program Array.out: a data verification error occurred, file load failed.

Could not open file"

and in the output console, I get below error:

MSP430: File Loader: Data verification failed at address 0x00001819 Please verify target memory and memory map.
MSP430: GEL: File: /Directory/file name.out: a data verification error occurred, file load failed.

thank you in advance.

Mallappa Tarageri.

  • The first error message tells you ‘Could not open file’, so likely, the problem is related to your file system.
    In the screenshot, I noticed a distortion after the workspace_v5_2_Array and the following part. As if there was another character. A superfluous slash? However, the error message doesn’t contain this. Maybe the file system and the toolchain are not conforming about the path name. Note that the toolchain uses commandline scripts, and not every path name is valid at the command line. Also, the project name contains a space. It normally shouldn’t be a problem, but better safe than sorry. Don’t use any letters in path of filenames that are invalid on a linux file system. Many development tools are based on linux tools and don’t like special characters in filenames.

  • Hi Sir,

               I tried with creating new project without space, and given the accessing permission to project path, but still getting same error, here i have attached error image file.

    Thanks and regards,

      Mallappa Tarageri.

  • Hi,

    I know that this seems pretty simple, but have you checked that the .out file exists in the directory? Sometimes there's a build error and .out is not generated (it has already happened to me). Also trying getting rid of the spaces on directory and file name.

    Regards

    J

  • Hi,

           .out file is not being generated in project directory, there is no problem in building project. but, the error mentioned above occurs when trying to Debug. how to solve it ?.

    Thanks and regards,

    Mallappa Tarageri

  • It’s possible that an internal linker error causes the linker to exit without generating the output file and without forwarding this error to the IDE. In this case, the IDE will assume the file was generated and will proceed, trying to upload it. Which then fails miserably.
    Things like this do not normally happen, but are known to happen under some circumstances. For example, an older version of MSPGCC compiler choked and exited without error when the first instruction of a function was a while(1).
    Look closely at any log output you might see, maybe you’ll find a hint there.

**Attention** This is a public forum