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.

RTOS/MSP430FR5994: Errors changing project options in an example with Code Composer Studio

Part Number: MSP430FR5994
Other Parts Discussed in Thread: MSP-EXP430FR5994

Tool/software: TI-RTOS

Hello,

I am working with the last version of Code Composer Studio (Version: 7.3.0.00019) on macOS High Sierra version 10.13.

I am testing the fatsd example provided by TI for MSP430FR5994 and RTOS.

The project works fine, but it does not run when some options are changed in the project.

As an example, I tried to change the data memory model from restricted to large. The project does not run in this case. Moreover, the project follows without working when I change the previous option to the original value.

I am trying to change these options because we are having problems integrating a JSON library (CJSon).

I would like to change the option about "what data must be near" and user large data memory model under MSP430 Conpiler->Advanced options->Runtime Model Options.

Thanks in advance.

Regards,

Juan Antonio

  • Hi Juan,

    Can you describe the symptoms in more detail? Are you getting errors in CCS or is the code compiling but not operating correctly? If you're getting CCS errors can you post them to the forum?

    Best regards,
    Caleb Overbay
  • Hello.

    Downloading, compiling and loading the fatfs example on the MSP-EXP430FR5994 target it works without any error.

    After changing any of the project options mentioned in the previous post, the code could be compiled without any error but not operating correctly. It seems that the code does not begin to execute. Of course, I am pressing the run button for debugging the project.

    After changing one project options and testing that the project does not operation correctly, I set the original value for the project options, but the output is the same: the code compiles without errors but not operating correctly.

    Thanks and regards,

    Juan Antonio

  • Hi Juan, 

    Juan Antonio said:
    After changing any of the project options mentioned in the previous post, the code could be compiled without any error but not operating correctly. It seems that the code does not begin to execute. Of course, I am pressing the run button for debugging the project.

    Have you pressed the pause button to see where you are located in the code when it "does not begin to execute". Are you trapped in an ISR? Can you step through the code to see which line is causing issues?

    Best regards, 
    Caleb Overbay

  • Hello,

    Excuse me for the delay answering.
    I had other problem and I was working on it.
    I found the solution in the forum looking for another thing.
    The project was blocked in SYSNMI interrupt.
    The solution is: project, options, CCS General, MPU and disabling the MPU option.
    Now, the fatsd project works fine even changing project options.

    Thanks and regards,
    Juan Antonio
  • Hi Juan,

    Thank you for updating the post with your solution. This looks like a possible bug in the code that should be addressed in a future update, so thank you for bringing it to our attention. Can you provide the link to the E2E post that answered your question?

    Best regards,
    Caleb Overbay

**Attention** This is a public forum