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.

CC3220SF: Project for IAR 7.7

Part Number: CC3220SF
Other Parts Discussed in Thread: CC3200, UNIFLASH

Hello Everyone,

I successfully create projects for CC3220SF via IAR 8.32 with cc32xx_sdk_3_10_00_04;

I want to move to IAR 7.7, does any earlier version of sdk is compatible with this one and how can I get it;

If I try to get example for TI from Information center I have an errror below

Regards,

Boris

  • Hi Boris,

    We're checking with our IAR expert on this and will get back to you early next week. Why do you want to move back to such an old version of IAR?

    Todd
  • Hello Todd!

    Thank you very much for your reply!

    I have just found out that IAR 7.7 doesn't support CC3220SF, at least I don't have it in General Options for project. The latest ones avaliable from this series are CC3200 and CC3200_ES121.

    Now I am trying to find a way to develop project for CC3220SF using CC3200 as Device Variant in General Options (8.32.1 for now)

    So I compile project for CC3200, I also use run-from-flash options in icf-file

    place at start of FLASH { readonly section INTVEC_init };
    define symbol Flash = 1;

    Then I download dev-mode image based on this output-binary via Uniflash to external flash and firmware works fine;

    But I'd like to use __SF_DEBUG__ mechanism either. If I download an empty image in dev-mode via Uniflash to external flash (required for __SF_DEBUG__ mechanism to be able to update firmware right from IDE) I can't program and erase memory (and debug either) from IDE and I guess the reason is CC3200 has no internal flash, so this is the main issue at the moment.

    IAR 7.7 is some specific requirement for my project I'd better fullfill.

    Regards,

    Boris

  • For the 3.10 SDK, IAR 3.38.2 is required. CC3220 support is in that release.

    Todd
  • Hello Todd!

    I found out that I can just copy related to CC3220SF files from C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.2\arm\config\ to C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\, and device becomes avaliable and works fine if I use NoRTOS, using RTOS is unavaliable because those projects are built in later versions of IAR than 7.7.

    And also there is one strange thing in CC3220SF_LAUNCHXL.c:

    I have to change

    static tDMAControlTable dmaControlTable[64] __attribute__ ((aligned (1024)));

    to

    static tDMAControlTable dmaControlTable[64] __attribute__ ((aligned (128)));

    when I work in 7.7

    Otherwise, i get compilation error:

    Error[Pe1090]: invalid alignment value specified by attribute CC3220SF_LAUNCHXL.c 161

    I guess the reason is IAR 7.7 doesn't maintain C11 standart?

  • Boris,

    You should use the recommended IAR version as specified with each SimpleLink SDK version. If you decide to stick with 7.7, please realize that we do not support this.

    Todd