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/MSP430FR6989: CCS MSP430 FR6989

Part Number: MSP430FR6989
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hello, I am a new owner and user of the Launchpad board entered above.  I downloaded and installed CCS version 8 successfully. Many of your

own .asm assembler examples will not assemble and link properly. I keep getting linker error "10099-D  program will not fit into available memory".

"Placement with alignment fails for section ".reset" "   " Error 10234-D unresolved symbols remain". At first some of your examples would work. I saved

one that works and found no difference between it and the others that do not work. First I thought some slight difference of the .asm format may be

the cause but the files are identical. Something else in the project folder has changed. These examples are very small, simple files. Any ideas ?? K Wallace

  • Hello Kip,

    please, give me at least the first example so I could investigate your issue.

  • Hello Tomasz, Thank you for responding. I am new at this so please forgive any procedures that I get wrong. I import this simple

    code to the IDE which blinks the LED at P1.0 and it causes the errors I have mentioned. This exact same code worked just fine

    yesterday. ???   I don't know what this is.

    msp430fr69xx_1.asm

  • A few weeks ago, there was apparently a problem importing assembly projects into CCS.

    I don't know if it's fixed yet, but Jace H suggests a workaround (copy/paste into a new project) here:

    e2e.ti.com/.../2486896

  • Hello Kip,

    do not worry about procedures,
    just exchange reliable and precise information.

    You say: This exact same code worked just fine yesterday. ???
    Are you sure you could compile it and it was working?

    I am pretty sure that linker file has an error.
    I have no experience with MSP430 assembler.

    You said in you original post: At first some of your examples would work.
    Could you give me names of the 2-3 working assembler examples?

    It is past 2 A.M. my local time.
    Cheers!
  • Hi again Tomasz I have been trying every combination of source files to attempt to determine any
    possible difference between the projects that do work and those that do not work. The text files are
    identical. I have replaced the exact same file into each project, and one project will compile, link and
    run with no issues and the other will not. I can only conclude that there is some difference somewhere
    else in the project like the wrong include file or something. I have looked carefully at the includes and
    they appear the same. I can send you more examples but you would see two identical files. I must confess
    that I am stumped and getting very tired. I want to thank you for paying attention to this problem.
    Thanks again Kip Wallace
  • Hi,

    please give me working examples.
    Help me so I could help you.

  • Tomasz, Since most of these project examples worked at first but now do not, I can only
    assume that some security issue or malware has attacked my installation of CCS That is the
    only thing which makes sense. I sent you two files. They are the same as you can see. Something
    else in the project folder has been changed. I can uninstall CCS and start with a fresh installation.
    That will be next. Thank You Again Kip
  • Kip,

    I got it working.
    Looks to me that CCS generates wounded makefile.
    Compiler does not obtain --entry_point=RESET directive and fails during an out image creation.
    .cproject should contain something like this:
    Line 85: <option id="com.ti.ccstudio.buildDefinitions.MSP430_18.1.linkerID.ENTRY_POINT.207217953" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.MSP430_18.1.linkerID.ENTRY_POINT" useByScannerDiscovery="false" value="RESET" valueType="string"/>
    Line 184: <option id="com.ti.ccstudio.buildDefinitions.MSP430_18.1.linkerID.ENTRY_POINT.358972097" name="Specify program entry point for the output module (--entry_point, -e)" superClass="com.ti.ccstudio.buildDefinitions.MSP430_18.1.linkerID.ENTRY_POINT" useByScannerDiscovery="false" value="RESET" valueType="string"/>

    To get your assembly examples working do like this:
    1) create a new empty assembly project with a name similar to the original
    2) in main.asm delete all content and copy all content from the original assembly file
    Should pass compilation and work. At least msp430fr69xx_1.asm example.

    Some examples may not work because the empty assembly project has stack and heap size = 0 by default.

    Try to install CCS v8 or v7.4.
    You should not have problems installing v8.
  • Tomasz, You have been hard at work it looks like. I have CCS V8 When I create a new empty project, it defaults
    to a C project. Don't know if this will work or not. I will try your suggestions. You have done your best and
    thank you for all your work. We all learn from these challenges I guess.
  • Kip,

    find above where to select a project template.

**Attention** This is a public forum