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.

CC1310 tirtos_simplelink_2_14_03_28 code example can't run to Main

Other Parts Discussed in Thread: CC1350, CC1310

All,

I create an CC1310 easylinkTX project based on tirtos_simplelink_2_14_03_28, and when download and debug it with CC1350 sample, it can't run to main, when click pause, it will stop as below picture. CC1350 sample is requested before CC1310 RTM and related Rev is as below. the same CC1350 can run code example successfully based on tirtos_simplelink_2_14_00_09_eng code example. 

Would you please kindly suggest how modify to use this version CC1350 sample on  tirtos_simplelink_2_14_03_28 code example? Thanks a lot. 

BR,

Lina

  • CC1350 runs with tirtos_simplelink_2_14_03_28, please make sure that you do a total clean-up (best is to remove the workspace and the old eng release and import the example again)
  • TER,
    Thanks a lot for your kindly reply.
    Actually, I create workspace and project as below link based on tirtos_simplelink_2_14_03_28 from beginning. No any relation with old TI RTOS.
    I also try to reopen workspace and re-add tirtos_simplelink_2_14_03_28.custom_argvars, but will meet same issue, halt and can't run to main. Would you please also have a try? or email me an example project for a test? Thanks a lot.
    processors.wiki.ti.com/.../Creating_TI-RTOS_Applications_in_IAR_Embedded_Workbench

    BR,
    Lina
  • TER,

    I also try to Mass Erase CC1350 and then debug it with IAR, and it will run to different place as below, and give warning that " Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xFFFFFFFF ". Would you please also give any suggestion? Thanks,

    BR,

    Lina

    Wed Nov 18, 2015 19:32:39: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2\arm\config\debugger\TexasInstruments\cc26xx.dmac

    Wed Nov 18, 2015 19:32:39: Connecting to TI XDS100 (Probe no: 06EB12200F3A)

    Wed Nov 18, 2015 19:32:42: TI XDS ARM, device revision: 0x00000001, big endian: false, cache: false, board revision: 0x00000000, driver revision: 0x0B020200

    Wed Nov 18, 2015 19:32:42: No valid application found in flash. The CCFG field FLASH_IMAGE_VALID is non zero

    Wed Nov 18, 2015 19:32:42: Initial reset was performed

    Wed Nov 18, 2015 19:32:42: Watchdog disabled

    Wed Nov 18, 2015 19:32:43: 19235 bytes downloaded (11.92 Kbytes/sec)

    Wed Nov 18, 2015 19:32:43: Loaded debugee: C:\ti\simplelink\CC13xx_example\EasyLinkTX\Debug\Exe\EasyLinkTX.out

    Wed Nov 18, 2015 19:32:44: No valid application found in flash. The CCFG field FLASH_IMAGE_VALID is non zero

    Wed Nov 18, 2015 19:32:53: Warning: Stack pointer is setup to incorrect alignment. Stack addr = 0xFFFFFFFF

    Wed Nov 18, 2015 19:32:53: Target reset

    Wed Nov 18, 2015 19:32:53: There was 1 warning during the initialization of the debugging session.

  • Hello Lina,

    I will share a sample project with you on box built using the latest version of TI RTOS. However, it seems like you are using IAR version 7.2. Can you upgrade IAR version  to 7.40.5.xxxx and give it another try.

    Regards,

  • SVS,
    My IAR for ARM is Rev.7.40.38938. I saw that latest IAR in IAR website is Rev7.50.1. I will download this one for a try.

    BR,
    Lina
  • SVS,
    Thanks a lot. After check with code you sent to me, I found that I did't put a checkmark in the Use flash loader(s) box in Download tab. It should work both in IAR for ARM 7.40.3 and 7.50.1.

    Thanks again.

    BR,
    Lina