From 49ade7c438cec32a88b1f5962ba246cc3e8fb454 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Tue, 26 Jan 2021 17:07:17 +0100 Subject: [PATCH] Restructure --- LICENSE | 2 +- README.md | 6 +----- coordinator/README.md | 12 ++++++------ coordinator/Z-Stack_3.x.0/CHANGELOG.md | 2 +- coordinator/Z-Stack_3.x.0/COMPILE.md | 4 ++++ ...X2R1_20210120.zip => CC2652R_20210120.zip} | Bin 170659 -> 170972 bytes coordinator/Z-Stack_3.x.0/bin/README.md | 6 ++++-- router/CC2530/README.md | 4 ---- router/CC2530_CC2591/README.md | 4 ---- router/CC2530_CC2592/README.md | 4 ---- router/CC2531/README.md | 4 ---- router/{ => Z-Stack_Home_1.2}/README.md | 13 ++++++++----- .../bin/CC2530_CC2591_router_2020_09_29.zip | Bin .../bin/CC2530_CC2592_router_2020_09_29.zip | Bin .../bin/CC2530_router_2020_09_29.zip | Bin .../bin/CC2531_router_2020_09_29.zip | Bin 16 files changed, 25 insertions(+), 36 deletions(-) rename coordinator/Z-Stack_3.x.0/bin/{CC26X2R1_20210120.zip => CC2652R_20210120.zip} (99%) delete mode 100644 router/CC2530/README.md delete mode 100644 router/CC2530_CC2591/README.md delete mode 100644 router/CC2530_CC2592/README.md delete mode 100644 router/CC2531/README.md rename router/{ => Z-Stack_Home_1.2}/README.md (62%) rename router/{CC2530_CC2591 => Z-Stack_Home_1.2}/bin/CC2530_CC2591_router_2020_09_29.zip (100%) rename router/{CC2530_CC2592 => Z-Stack_Home_1.2}/bin/CC2530_CC2592_router_2020_09_29.zip (100%) rename router/{CC2530 => Z-Stack_Home_1.2}/bin/CC2530_router_2020_09_29.zip (100%) rename router/{CC2531 => Z-Stack_Home_1.2}/bin/CC2531_router_2020_09_29.zip (100%) diff --git a/LICENSE b/LICENSE index 971caa5..2052862 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Koen Kanters +Copyright (c) 2018-2021 Koen Kanters Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 53c35d6..e92f115 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,2 @@ # Z-Stack-firmware -This reposistory contains: -- Compiled Z-Stack firmwares (`.hex` files) - - If you want to use these to flash to your CC253X (using the [Flash Programmer (not v2)](http://www.ti.com/tool/FLASH-PROGRAMMER) for example). - - If you want to use these to flash to your CC2652R (using the [Flash Programmer v2](http://www.ti.com/tool/FLASH-PROGRAMMER) for example). -- Instructions on how to compile them +This repository contains compilation instructions and compiled Z-Stack firmwares for the Texas Instruments CC2530, CC2531, CC2538, CC1352P, CC2652R and CC2652RB. diff --git a/coordinator/README.md b/coordinator/README.md index 7c30f41..925722c 100644 --- a/coordinator/README.md +++ b/coordinator/README.md @@ -1,5 +1,5 @@ # Z-Stack coordinator firmwares -This repository contains various Z-Stack coordinator firmwares. +This directory contains various Z-Stack coordinator firmwares. ## Overiew @@ -70,7 +70,7 @@ This repository contains various Z-Stack coordinator firmwares. - + @@ -82,11 +82,11 @@ This repository contains various Z-Stack coordinator firmwares.
Z-Stack_3.x.0CC26X2R1, CC1352P_2CC2652R, CC2652RB, CC1352P-2 3.0 50 100/200
-### I'm a Zigbee2MQTT user, which one should I use? +### I'm using a CC2530 or CC2531, which firmware should I use? This depends: -- Zigbee 3.0 coordinators are only recommended for CC26X2R1 and CC1352P_2 (other devices might not be powerful enough) -- If you have a network of 1 - 30 devices, the Z-Stack_Home_1.2 **default** firmware is recommended. -- If you have a network of 30+ devices, the Z-Stack_Home_1.2 **source routing** firmware is recommended. +- Zigbee 3.0 firmwares are **not** recommended for the CC2530 and CC2531 (since those are not powerful enough) +- If you have a network of 1 - 15 devices, the Z-Stack_Home_1.2 **default** firmware is recommended. +- If you have a network of 15+ devices, the Z-Stack_Home_1.2 **source routing** firmware is recommended. - Note that the **source routing** firmware only supports 5 direct children, therefore you need to have routers in range of the coordinator. ### Legend diff --git a/coordinator/Z-Stack_3.x.0/CHANGELOG.md b/coordinator/Z-Stack_3.x.0/CHANGELOG.md index c04eedf..96f2dbe 100644 --- a/coordinator/Z-Stack_3.x.0/CHANGELOG.md +++ b/coordinator/Z-Stack_3.x.0/CHANGELOG.md @@ -1,6 +1,6 @@ # 20210120 - Optimize network parameters (according to https://www.ti.com/lit/an/swra650b/swra650b.pdf) -- Change default CC2652R/CC2652RB/CC1352P/CC2652P transmit power from 0dBm to 5dBm +- Change default CC2652R/CC2652RB/CC1352P-2/CC2652P transmit power from 0dBm to 5dBm - Potential fix for Hue end devices disconnecting - SimpleLink SDK 4.40.00.44 ([changelog](http://software-dl.ti.com/simplelink/esd/simplelink_cc13x2_26x2_sdk/4.40.00.44/exports/changelog.html)) diff --git a/coordinator/Z-Stack_3.x.0/COMPILE.md b/coordinator/Z-Stack_3.x.0/COMPILE.md index e116af7..ff6b4b7 100644 --- a/coordinator/Z-Stack_3.x.0/COMPILE.md +++ b/coordinator/Z-Stack_3.x.0/COMPILE.md @@ -18,3 +18,7 @@ 1. Build the 3 projects; right click -> *Build project*. - **Important:** by default the **launchpad** variant of the CC1352P2_CC2652P (= `znp_CC1352P_2_LAUNCHXL_tirtos_ccs`) is build. To build the **other** variant comment `#define LAUNCHPAD_CONFIG 1` in `preinclude.h` (located under `Stack/Config/`), don't forget to save. 1. Once finished, the firmware can be found under `znp_[CC26X2R1/CC1352P_2/CC2652RB]_LAUNCHXL_tirtos_ccs/default/znp_[CC26X2R1/CC2652RB/CC1352P_2]_LAUNCHXL_tirtos_ccs.hex` + - `znp_CC26X2R1_LAUNCHXL_tirtos_ccs.hex` -> CC2652R + - `znp_CC2652RB_LAUNCHXL_tirtos_ccs.hex` -> CC2652RB + - `znp_CC1352P_2_LAUNCHXL_tirtos_ccs.hex` -> CC1352P-2 and CC2652P + diff --git a/coordinator/Z-Stack_3.x.0/bin/CC26X2R1_20210120.zip b/coordinator/Z-Stack_3.x.0/bin/CC2652R_20210120.zip similarity index 99% rename from coordinator/Z-Stack_3.x.0/bin/CC26X2R1_20210120.zip rename to coordinator/Z-Stack_3.x.0/bin/CC2652R_20210120.zip index 57d8dc88cd07c1b946ce6bcb29bd11505e112943..1a4d71d76dbfa959618bfefb9f5f8d2069ef33e9 100644 GIT binary patch delta 372 zcmZ3ymFv!St_f1yA`A))&dx?=rba>26J{}qv47JLNcf~7(CFOi%(&H=>E+CcOd?Y2 z7#JAjfhyzUeI1?sgCq3y;*mAggEajB;?fFk21b^zj0_AcB0w$438KmA2}ubbe0{<` z@P~B-G%!t&U{)89W-R0tX#Vk9qJybVQPD9#&Eq(af|zsgp$-9Y-*e}$dh2MM@Vu(6 z6vG@ZI*!@2uaJGzNwMZ*~s%V=FoCB?4^&I&!+^ zEGAh=ke^^+Nh64b?AUOq578YP;LXS+!YsnT0fZJyO@e^t!i)v`9bqES5?mnx4nAN= XOs}2AB*DkTz{GGKsP8*a0|Ns9yBcL% delta 180 zcmcb!oon${t_f0_q6`WQ&dx?=5k^6V@kRzlh6aX426`E(6`>)#4D7Y-90~h?xUGYu z(W%vmajO&4%bDejOd`x83>-jcvD74pQ|YMt@tI5vYq;4MK&HXKl131VD6 @@ -16,7 +18,7 @@ TI LAUNCHXL-CC26xR1 CC2652R - CC26X2R1_*.zip
+ CC2652R_*.zip
DIO_13 No N/A @@ -34,7 +36,7 @@ Electrolama zzh CC2652R - CC26X2R1_*.zip + CC2652R_*.zip DIO_13 No N/A diff --git a/router/CC2530/README.md b/router/CC2530/README.md deleted file mode 100644 index ff25f21..0000000 --- a/router/CC2530/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# CC2530 router firmware -Currently no compilation instructions are available for this firmware. - -Credits for this firmware go to [ptvoinfo](https://github.com/ptvoinfo) \ No newline at end of file diff --git a/router/CC2530_CC2591/README.md b/router/CC2530_CC2591/README.md deleted file mode 100644 index 102a5de..0000000 --- a/router/CC2530_CC2591/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# CC2530_CC2591 router firmware -Currently no compilation instructions are available for this firmware. - -Credits for this firmware go to [ptvoinfo](https://github.com/ptvoinfo) \ No newline at end of file diff --git a/router/CC2530_CC2592/README.md b/router/CC2530_CC2592/README.md deleted file mode 100644 index 03f8a39..0000000 --- a/router/CC2530_CC2592/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# CC2530_CC2592 router firmware -Currently no compilation instructions are available for this firmware. - -Credits for this firmware go to [ptvoinfo](https://github.com/ptvoinfo) \ No newline at end of file diff --git a/router/CC2531/README.md b/router/CC2531/README.md deleted file mode 100644 index 10a1a81..0000000 --- a/router/CC2531/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# CC2531 router firmware -Currently no compilation instructions are available for this firmware. - -Credits for this firmware go to [ptvoinfo](https://github.com/ptvoinfo) \ No newline at end of file diff --git a/router/README.md b/router/Z-Stack_Home_1.2/README.md similarity index 62% rename from router/README.md rename to router/Z-Stack_Home_1.2/README.md index 07f6324..b23935b 100644 --- a/router/README.md +++ b/router/Z-Stack_Home_1.2/README.md @@ -1,19 +1,22 @@ -# Buttons +# Z-Stack_Home 1.2 router firmware +Firmwares have been taken from: https://ptvo.info/ , no sources and compilation instructions are available. Credits go to [ptvoinfo](https://github.com/ptvoinfo). -* S1 button: only changes the state of the green LED. +## Buttons + +* S1 button: only changes the state of the green LED. * S2 button: repairs CC2531 (see below) -# Lights +## Lights * Short fast blinks (one per second) – the router is connecting to a network. * Short long blinks (one per 4 seconds) – normal operations. * Three short blinks – the router cannot send a report to a coordinator. -# Pairing +## Pairing Flash firmware and permit joining to a network on your coordinator. -# Re-pairing +## Re-pairing * CC2530, CC2531: Power on, wait 2 seconds, power off, repeat this cycle three times. * CC2531: Power on, press and hold down the S2 button for 5 seconds. diff --git a/router/CC2530_CC2591/bin/CC2530_CC2591_router_2020_09_29.zip b/router/Z-Stack_Home_1.2/bin/CC2530_CC2591_router_2020_09_29.zip similarity index 100% rename from router/CC2530_CC2591/bin/CC2530_CC2591_router_2020_09_29.zip rename to router/Z-Stack_Home_1.2/bin/CC2530_CC2591_router_2020_09_29.zip diff --git a/router/CC2530_CC2592/bin/CC2530_CC2592_router_2020_09_29.zip b/router/Z-Stack_Home_1.2/bin/CC2530_CC2592_router_2020_09_29.zip similarity index 100% rename from router/CC2530_CC2592/bin/CC2530_CC2592_router_2020_09_29.zip rename to router/Z-Stack_Home_1.2/bin/CC2530_CC2592_router_2020_09_29.zip diff --git a/router/CC2530/bin/CC2530_router_2020_09_29.zip b/router/Z-Stack_Home_1.2/bin/CC2530_router_2020_09_29.zip similarity index 100% rename from router/CC2530/bin/CC2530_router_2020_09_29.zip rename to router/Z-Stack_Home_1.2/bin/CC2530_router_2020_09_29.zip diff --git a/router/CC2531/bin/CC2531_router_2020_09_29.zip b/router/Z-Stack_Home_1.2/bin/CC2531_router_2020_09_29.zip similarity index 100% rename from router/CC2531/bin/CC2531_router_2020_09_29.zip rename to router/Z-Stack_Home_1.2/bin/CC2531_router_2020_09_29.zip