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.

TI-RTOS using IAR Embedded Workbench (6.20.1)

All:

I have been successful with the latest versions ---

IAR 6.20.1

tirtos_msp430_2_10_01_38

xdctools_3_30_04_52_core

I was able to go into the tirtos.mak file under the tirtos_msp430_2_10_01_38 directory and make the required changes:

1. CCS_BUILD ?= false

2. DEFAULT_INSTALLATION_DIR ?= C:/apps/ti    (In our case, we have a separate apps directory.)

3. IAR_BUILD ?= true

4. IAR_COMPILER_INSTALLATION_DIR    ?= C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.0   (changed to 7.0 from default of 6.5)

5. IAR_MSP430HEADERS   ?= ${IAR_COMPILER_INSTALLATION_DIR}/430/inc  (in 7.0, the inc file is under 430 - not sure if this was needed, but did it.)

We are using the F5529, so I did not need to change the MSP430DEVLIST.

 

I then created a new project under IAR, and pointed to the Empty(minimal) TI-RTOS project.

I made the required changes to the emulator and was able to build, download, and run the project.

 

Questions:

1. Does TI plan to enhance the IAR Embedded Workbench with a GUI for the .cfg file? 

That would be a BIG help in the IAR environment, because it is such a big help in the CCS environment.

2. Idle task appears to be a no-no in MSP430. Is there a way to make this work?

(I know on C55 DSP, I was able to invoke the assembly "idle" command when I got to idle - is that not really a viable option under MSP430?)

 

  • Hi Todd,

    Todd Anderson78572 said:
    1. Does TI plan to enhance the IAR Embedded Workbench with a GUI for the .cfg file? 

    I'll ask around on this and get back to you.

    Todd Anderson78572 said:

    2. Idle task appears to be a no-no in MSP430. Is there a way to make this work?

    (I know on C55 DSP, I was able to invoke the assembly "idle" command when I got to idle - is that not really a viable option under MSP430?)

    I'm not sure why you think you can't have an idle task in SYS/BIOS for the MSP430?

    Although the C55 assembly "idle" instruction doesn't exist on the MSP430, you can idle the processor by plugging your own idle function or by using the Power module and selecting a specific level of idling.  Please see here for more info.

    Steve

  • Thanks for the clarification, Steve.

    Also, do you know if TI-RTOS forces the F552x to be in Large code model?

    If I try to use small code model, I get build errors. There are times that the code size is smaller than 64K, and it would be advantageous at that point to use the small code model.