From 0cd4ac4e9fdc18e81d24628c9bab249245dcd968 Mon Sep 17 00:00:00 2001 From: ma261065 Date: Tue, 12 Nov 2019 16:36:29 +1100 Subject: [PATCH] Updated Zigbee (markdown) --- Zigbee.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Zigbee.md b/Zigbee.md index 361cb44b..f5c81116 100644 --- a/Zigbee.md +++ b/Zigbee.md @@ -38,7 +38,7 @@ Z2T requires a TI CC2530 based module flashed with [Z-Stack-firmware](https://gi ### A. Flash CCLib on an ESP82xx Device Flashing the CC2530 normally requires a [CC_DEBUGGER](https://www.aliexpress.com/item/32869263224.html). Using an ESP82xx device like a [Wemos D1 Mini](https://www.aliexpress.com/item/32681374223.html) is a lower cost alternative. -If you are using a Wemos D1 Mini or NodeMCU, just plug the microUSB port. Vcc (3.3V), GND, Tx (GPIO1), and Rx (GPIO3) are connected via the microUSB port. Be sure that you are using a USB **_data_** cable. +If you are using a Wemos D1 Mini or NodeMCU, just plug the microUSB port. Vcc (3.3V), GND, Tx (GPIO1), and Rx (GPIO3) are connected via the microUSB port. Be sure that you are using a USB **_data_** cable (not a USB power cable). For ESP devices that do not have a microUSB connector, make the following connections: @@ -82,6 +82,8 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`) 3. Check for connectivity before flashing: `python Python/cc_info.py -p ` + where is the serial port that the ESP device is plugged into. e.g. /dev/cu.usbserial-xxxx or COM7 + Example of result: ``` INFO: Found a CC2530 chip on /dev/cu.usbserial-xxxx @@ -120,8 +122,8 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`) erase option to erase the chip. ``` - python Python/cc_read_flash.py -p /dev/cu.usbserial-xxx -o x.hex - python Python/cc_write_flash.py --erase -p /dev/cu.usbserial-xxx -i x.hex + python Python/cc_read_flash.py -p -o x.hex + python Python/cc_write_flash.py --erase -p -i x.hex ``` Check for connectivity again using: @@ -133,7 +135,7 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`) _Flashing the CC2530 **takes about 30 minutes**_ ``` - python Python/cc_write_flash.py -e -p /dev/cu.usbserial-xxx -i Bin/CC2530_DEFAULT_20190608_CC2530ZNP-Prod.hex + python Python/cc_write_flash.py -e -p -i Bin/CC2530_DEFAULT_20190608_CC2530ZNP-Prod.hex ``` ```