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.

problem in viewing symbols with mspdebug on ubuntu

I am generating the .out file from CCS for ez430 rf2500.

Since I am not able to debug on CCS (throws error "No USB FET found"), I am using mspdebug for the same purpose.

I am able to load the program and debug using mspdebug, but the issue is the source appears in assembly form.

How to do debug with actual c source code using mspdebug?

  • chethu gowda said:
    I am generating the .out file from CCS for ez430 rf2500.

    What hapens if you switch the putput to .elf? Apparently mspdebug cannot use the debug information in the .out file.
    Or, you may have selected to build the 'release' version of the binary. In this case, the compiler/linker do not include binary<->source relations into the output file and mspdebug has no info form which source code th assembly was generated.

    However, I guess the mspgcc mailing list or the mspdebug author are better places to look for an answer. Most people here use CCS or IAR, as this forum is mainly for problems with the MSP processors and the 'default' toolchains.

  • Jens-Michael Gross said:
    you may have selected to build the 'release' version of the binary

    No, the image is generated in dubug mode only.

    Also, if I do nm image.out I could see the symbols.

    in mspdebug window if I try to import the symbol table image.map file, it says its an invalid file. However during debug session with mspdebug, if i import the symbol table by pointing to image.out file it says the symbol table downloaded but no symbols appear on screen.

    Jens-Michael Gross said:
    I guess the mspgcc mailing list or the mspdebug author are better places

    Yup, I should do it.

**Attention** This is a public forum