Tool/software: TI-RTOS
I buy some CC2652R1 chip to test, but when i open sample switch project with IAR 8.20 it could not build and show error about ccs tool.
Is cc2652r1 support by IAR? And if yes, where is the guide because i just see CCS guide?
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.
Tool/software: TI-RTOS
I buy some CC2652R1 chip to test, but when i open sample switch project with IAR 8.20 it could not build and show error about ccs tool.
Is cc2652r1 support by IAR? And if yes, where is the guide because i just see CCS guide?
Now i have other problem, code build and flash to the chip successful, i can debug at the main and BIOS_start() function with IAR but the app code not started.
I user zc_switch to test, edit -DHOLD_AUTO_START to -DxHOLD_AUTO_START mean it will start on boot like i do with cc2530 and c2630.and XDS100V3
I use exist CC2630 module, just replace the chip and 48Mhz crystal follow this guide swra582
i set break point at this line but it never call.
/* Kick off application */
zclSampleSw_task(&zstack_user0Cfg.nvFps);
You mean Zstackapi_bdbStartCommissioningReq?
I use below code but nothing happen, i also try to replace other crystal.
zstack_bdbStartCommissioningReq_t zstack_bdbStartCommissioningReq;
zstack_bdbStartCommissioningReq.commissioning_mode = BDB_COMMISSIONING_MODE_NWK_STEERING | BDB_COMMISSIONING_MODE_FINDING_BINDING;
Zstackapi_bdbStartCommissioningReq(zclSampleLight_Entity,&zstack_bdbStartCommissioningReq);
I use zr_light to test with IAR 8.20.2.14838,
Thank you, i see the TX packet now, but why the code not work? I attach the log, TX packet with DC/DC enable
Yes, after use Uniflash to erase all and flash the program, now it can connected with ZNP.
But this chip and sample program seem not stable, for example when I activate "RESET TO FN" program take forever to reset and no respond at all, I must unplug the power after 15 minutes,
another things is if not use UART menu, the is no way to activate commissioning?
Be cause when I hard code the DEFAULT_CHANLIST channel 15, when program work, it is override with channel 11. And I manual add code to auto commissioning like this:
zstack_bdbStartCommissioningReq_t zstack_bdbStartCommissioningReq;
zstack_bdbStartCommissioningReq.commissioning_mode = BDB_COMMISSIONING_MODE_NWK_FORMATION | BDB_COMMISSIONING_MODE_NWK_STEERING | BDB_COMMISSIONING_MODE_FINDING_BINDING;
Zstackapi_bdbStartCommissioningReq(zclSampleLight_Entity,&zstack_bdbStartCommissioningReq);
Program could not work as expected.
Ryan Brown1 you can see this.
YK is correct in that you should be using PuTTY for your terminal. By "hard code the DEFAULT_CHANLIST" you mean you changed the value in f8wconfig.h, correct? And where did you put the commissioning code in zcl_samplelight.c? I would hope it's at the end of zclSampleLight_Init. I'm not witnessing the same instability issues you've described, you need to further debug and provide more details regarding the state of your device.
Regards,
Ryan