Other Parts Discussed in Thread: CC2650, TIMAC, Z-STACK
Hi,
I could build the home zstack for CC2650 (IAR for ARM).
Installation directory. C:\ti\simplelink\zstack_home_1_02_02a_44539
Hardware: TI debugger devpack v1.2 with a TI CC2650SensorTag v1.2
I tried to debug the following project: C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTag\CC2650\SensorTag
Changes from the default projectfile: I have selected debugger XDS110 (default is XDS100v3).
When I run in debug mode I get the message (see last message):
Thu Nov 26, 2015 20:40:47: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.3\arm\config\debugger\TexasInstruments\CC26xx.dmac
Thu Nov 26, 2015 20:40:47: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.3\arm\config\flashloader\TexasInstruments\FlashCC26xx.mac
Thu Nov 26, 2015 20:40:50: Connecting to TI XDS110 (Probe no: 00000000)
Thu Nov 26, 2015 20:40:51: TI XDS ARM, device revision: 0x00000001, big endian: false, cache: false, board revision: 0x00000000, driver revision: 0x0B020200
Thu Nov 26, 2015 20:40:51: Initial reset was performed
Thu Nov 26, 2015 20:40:51: Watchdog disabled
Thu Nov 26, 2015 20:40:51: 544 bytes downloaded (11.30 Kbytes/sec)
Thu Nov 26, 2015 20:40:51: Loaded debugee: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.3\arm\config\flashloader\TexasInstruments\FlashCC26xxRAM20.out
Thu Nov 26, 2015 20:40:51: Target reset
Thu Nov 26, 2015 20:40:53: Unloaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.3\arm\config\flashloader\TexasInstruments\FlashCC26xx.mac
Thu Nov 26, 2015 20:40:53: Downloaded C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTagMike\CC2650\SensorTag\Exe\SensorTag.out to flash memory.
Thu Nov 26, 2015 20:40:54: Watchdog disabled
Thu Nov 26, 2015 20:40:55: 35682 bytes downloaded into FLASH (8.62 Kbytes/sec)
Thu Nov 26, 2015 20:40:55: Loaded debugee: C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTagMike\CC2650\SensorTag\Exe\SensorTag.out
Thu Nov 26, 2015 20:40:55: Target reset
Thu Nov 26, 2015 20:40:57: 0 bytes downloaded into FLASH (0.00 Kbytes/sec)
Thu Nov 26, 2015 20:40:57: Loaded extra image: C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTagMike\CC2650\..\..\..\..\..\Projects\zstack\Core\Thread\CC26xx\EndDevice\Exe\ZStackCoreEndDevice.out, image ID 3
Thu Nov 26, 2015 20:40:57: 0 bytes downloaded into FLASH (0.00 Kbytes/sec)
Thu Nov 26, 2015 20:40:57: Loaded extra image: C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SensorTagMike\CC2650\..\..\..\..\..\Projects\common\TIMAC_ROM_Release\03282014\timac_rom_PATCH.symbols, image ID 4
Thu Nov 26, 2015 20:41:00: Breakpoint hit: Code @ main.c:212.5, type: default (auto)
Thu Nov 26, 2015 20:41:06: The stack pointer for stack 'CSTACK' (currently 0x20001D68) is outside the stack range (0x20003EE0 to 0x200040E0)
The code were it is failing:
main.c
Void taskFxn(UArg a0, UArg a1)
....
...
/* Start tasks of external images */
ICall_createRemoteTasks(); <--- HERE IS STUCKS!!
/* Kick off application */
SensorTagApp_task(&user0Cfg.nvFps);
I can use some help here.