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.

IAR vs CCS Compiler

Other Parts Discussed in Thread: CC2640

Hi,

 Kindly advise on the comparison of both IAR and CCS compiler in terms of the code efficiency, density for MSP430. Which would be the recommended compiler and how is CCS as compared to IAR in terms of support on issues? Thanks.

  • Hi,

    from my experience, IAR compiler in general gives a better performance than CCS compiler, however it also comes with a higher price (if i'm not mistaken the MSP430 IAR compiler license cost around 2k$, while CCS costs only 500$ these days - you should check it again, i'm not a sales guy), so basically if you pay more, of course you can expect better things. In terms of support, i guess the CCS people are doing a very good job, even as a TIer, i would admit that it is hard to compete with them in terms of the support. You could check the TI compiler forum:

    http://e2e.ti.com/support/development_tools/compiler/default.aspx

  • Since both have worked fine for me, CCS wins overall, based on price. Watch the different promotions TI runs and you can find a license for free with purchasing some hardware or by attending a seminar.

  • Greg Whitmore said:
    Since both have worked fine for me, CCS wins overall, based on price

    Well, CCS can't beat the price of MSPGCC :) But this one is not a complete IDE and requires some knowledge to work with.
    However, there is one thingwhere IAR is mandatory: if you want to use BlueTooth. AFAIK the MindTree BT stack is available only for IAR. And you need the full license to use it (too large for the free version).

  • Hi Leo,

    Is there any specific data that shows the performance of the two, CCS and IAR? Would like to have a feel of the code density of both. Thanks.. 

  • I can not comment on the code density with CCS, but I find working in the IDE frustratingly buggy for a 700 dollar program. 

    I have used other eclipse based IDEs (IDL) and they are far more stable from an operating standpoint. Heck, visual studios 2005 seems to operate more reliably then CCS.

    My two cents anyway...

  • Could someone comment directly on code density for a specific case? Say, the SimpleBLEPeripheral project out of the box?

    My CCS build gives me 0x5a9d unused App FLASH space, and 0xfac unused FLASH_LAST_PAGE. (using CGT v5.2.0)

    Could someone post the comparable numbers for the IAR build of the same project?

    We have a very tight memory constraint and would consider moving to IAR if the difference was significant.

    Thanks,
  • >My CCS build gives me 0x5a9d unused App FLASH space
    For which MSP430 device?

    >Say, the SimpleBLEPeripheral project out of the box?
    Link to the project source?
  • This was for a CC2640.  Arrrgh, I seem to have accidentally migrated to the MSP forum.  I will repost in low power wireless.


    Sorry.

**Attention** This is a public forum