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.

ASM Code Oddities

Other Parts Discussed in Thread: MSP430G2553

Hey all, I'm trying to get off the ground with the Launchpad, and I'm having a bit of a time (This is a big step over Arduino's kid-C).

I'm playing around with some example code (.zip link at bottom of post) under the latest version of CCS, and run into some issues when I try to upload to the Launchpad. The project is built as assembly only, code is exactly the same as in the .zip in the link, except with a .retain after the header declaration, which, AFAIK, makes the msp430g2553.h header link correctly.

My only issue now seems to be this error: "#10202-D no suitable entry-point found; setting to 0"

Without the .retain, it comes up as an error and the code fails to build. With the .retain, the error above moves to the "warning" area, and CCS goes to the debug screen as expected. This is where the trouble starts. Hitting the resume button in the debug view causes this error to pop up: "MSP430: Can't Run Target CPU: Could not run device (to breakpoint)"

As well, below the device "TI MSP430 USB1/MSP430 (Suspended)" in the debug menu, there's another line that reads "0xFFFF (no symbols are defined for 0xFFFF)"

Not sure where to go here - straight C code runs fine on the Launchpad, no errors. I've checked the code, and can't see anything that would trip up the program. My only lead seems to be the 0xFFFF, which is, at least, superficially, similar to the hex value of blank flash mem. 

Any gurus lend me a hand? This seems like a simple issue, I just don't know where to go from here.

.zip link: 

http://www.ti.com/lit/zip/slac485

The specific file is "msp430g2x33_adc10_01.asm"

  • Hello Jazz,

    Jazz Kenny said:
    Without the .retain, it comes up as an error and the code fails to build.

    It is strange. Now I am running example from this package and I don't need to add .retain . I have only  "#10202-D no suitable entry-point found; setting to 0" warning after first compilation.

    I think it' s something wrong with your project. I attach a successfully built CCS project. You can try to run this.

    0167.led_asm.zip

    Best regards,

    Mikolaj

  • Thanks for the project. It functions as it should. I guess I'll start checking the non-functional project against this one - There has to be something causing this behavior.

**Attention** This is a public forum