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/MSP430F2274: Building Simpliciti example program with CCS v7 on WIN10 - the program is stuck waiting

Part Number: MSP430F2274
Other Parts Discussed in Thread: SIMPLICITI

Tool/software: Code Composer Studio

Hello 

I am trying to build simpliciti examples for ez430-rf2500 on WIN10 with CCS v7

On the folder with the simpliciti files( C:\ti\ccsv7\tools\compiler\ti-cgt-msp430_16.9.6.LTS\lib ) there are 3 libraries: 

1) Which library should i use?

rts430_eabi.lib

rts430x_lc_sd_eabi.lib

rts430x_lc_rd_eabi.lib

2) what is the difference between them?

I am able to build using rts430_eabi.lib but the example program simple peer to peer does not run properly

The code is stuck in SMPL_Init(sRxCallback) inside the function: *nwk_buildFrame(uint8_t port, uint8_t *msg, uint8_t len, uint8_t hops)

at a line: while (!(++sTRACTID)) ;  /* transaction ID can't be 0 */

What I am doing wrong?

Does someone have any experience with that?

Thank you

Maoz Loants

 

  • Maoz Loants said:

    1) Which library should i use?

    rts430_eabi.lib

    rts430x_lc_sd_eabi.lib

    rts430x_lc_rd_eabi.lib

    2) what is the difference between them?

    Typically the runtime library that is most compatible with your project should be used. For example, if the device is a MSP430X (20-bit) device and project is built for large code and small data memory model, then the rts430x_lc_sd_eabi.lib should be selected. You can read about the naming convention and different variants in section 7.1.8 of the MSP430 Compiler Users Guide.

    In most cases, you can let the linker automatically choose the correct runtime library for your application. Please see details in section 4.3.1 of the same guide.

    Maoz Loants said:
    I am able to build using rts430_eabi.lib but the example program simple peer to peer does not run properly

    For this question, I'd have to refer you to the MSP430 experts. I will move the thread into their forum so they can respond to this question.

  • Thank you for the explanation , i will look in the user guide for the naming conventions

    1) I am not sure about choosing automatically since in the project properties -> linker -> File search path there is a window for writing the name of the .lib specifically. Can I leave that blank and choose <automatic> under the General tab , "Runtime support library" field?

    2) Is there anywhere i can find a working Simpliciti project for CCS v7 ? (Or CCS v6 and then convert)

    Thanks
    Maoz
  • OK, it looks like the problem was elsewhere: the .cmd file that i used was an old one from the simpliciti library and once i changed to a new cmd file the program is running well.

**Attention** This is a public forum