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.
Part Number: CC2531EMK
Tool/software: WEBENCH® Design Tools
Hi I have some problems trying to get CC2531-EMK USB dongle to function as ZLL remote.
Currently only Z-Stack_Lighting_1_0_2.exe is available for download, if someone could be nice to upload Z-Stack_Lighting_1_0_1.exe I would be very greatful, it will solve all my patching problems right away.
Since version 1.0.2 is slightly different from 1.0.1.
"The CC2531EMK USB dongle was included in older ZLL kits before the ZLLRC was available."
and the patch to make Z-Stack Lightning 1.0.1 compatible with CC2531-EMK:
Of course ZStack-Lighting-1.0.1-Kit-v4.patch fails patching Z-Stack_Lighting_1_0_2 at multiple places, I have tried to fix that, because the file structure of SampleApp is different.
Most of the files I have successfully patched, the one I'm facing big issues is:
C:\Texas Instruments\Z-Stack Lighting 1.0.2\Projects\zstack\ZLL\SampleApp\CC253x\SampleRemote.ewp
I had to manually apply changes from the patch to adjust them to that file.
After patching the SampleRemote.ewp I can see in IAR Embedded Workbench:
"SampleRemote - USB - EndDevice - SBL".
I have chosen the "CC2531F256" Target device. (Btw I have changed the number of virtual registers to 8 and needed the patch to chipcon_cstartup.s51).
In "C/C++ Compiler" -> "Preprocessor" I have added include directiories:
But I keep getting:
Changed settings forces a full rebuild... Building configuration: SampleRemote - USB - EndDevice - SBL Updating build tree... Build error: Multiple tools write to the same file. File: C:\Texas Instruments\Z-Stack Lighting 1.0.2\Projects\zstack\ZLL\SampleApp\CC253x\EndDeviceUSB-SBL\Obj\hal_adc.r51 Tool 1: C/C++ Compiler, when processing C:\Texas Instruments\Z-Stack Lighting 1.0.2\Components\hal\target\CC2530ARC\hal_adc.c Tool 2: C/C++ Compiler, when processing C:\Texas Instruments\Z-Stack Lighting 1.0.2\Components\hal\target\CC2530EB\hal_adc.c 0 file(s) deleted.
How do i choose just one target from HAL->Target directory ? I think this is my problem.
This guy had a problem with changing targets but never added how he did it, despite Igor Sherer didnt go into details how do you change the HAL target.
I have looked into all of the settings, all of the submenus, all of the .h .c files and I believe it's a decision that IAR WB makes to choose a HAL target according to some setting in the project file (.ewp/.eww/.ewd?) + .h file definitions.
Please guide me how to change the HAL Target, also if you have Z-Stack_Lighting_1_0_1.exe I beg you share it with me.
I'm very satisfied from Texas Instruments but I hate it that they don't keep older versions of tools/software available, this is insane.
The end purpose of my project is inspired by e2e.ti.com/.../252635 giving me hope that my CC2531-EMK will help me factory reset thru ZLL my Philips Hue bulbs.
Thank you in advance.
If my post answers your question, please click on "This Resolved my issue" button to benefit others who have the same issue.
Example to combine rfWakeOnRadioRx into rfWakeOnRadioTx to do TX/RX in the same WOR project.
How to create micro second delay on CC2652R
How to check APS ack in TI Z-Stack
How to detect button hold in CC26x2, CC13x0, CC13x2 SDK.
660 Zigbee devices in the same Zigbee network!
How to setup Mosquitto on Raspberry Pi and make Contiki/Contiki-NG cc26xx-web-demo do mqtt publish to it.
How to connect Contiki-NG cc26xx-web-demo to IBM Watson IoT Platform
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to YiKai Chen:
Using premade ZLL Remote is out of the question. Spending money for something I don't need. I would have bought the Hue Hub which can ZLL factory reset bulbs as well and function as hub meanwhile. But i decided to go for CC2531-EMK for saving money and learning something.
I want to help myself and the community out there, creating ZLL factory reset remote from CC2531-EMK that a lot of people already have using as a Hue Hub alternative.
In reply to Sofia Sofia:
Actually, I have Z-Stack_Lighting_1_0_1.exe but cannot share with you due to SLA. I suggest you to send friend requests to TI employees Ryan Brown1 or Toby Pan to see if they can help you.
To better aid the community, please click on the "This Resolved my issue" button whenever a post answers your question!
In reply to Ryan Brown1:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.