Updated Zigbee (markdown)

ma261065 2019-11-12 16:36:29 +11:00
parent 16ec1e90da
commit 0cd4ac4e9f
1 changed files with 6 additions and 4 deletions

@ -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 <serial_port>`
where <serial_port> 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 <serial_port> -o x.hex
python Python/cc_write_flash.py --erase -p <serial_port> -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 <serial_port> -i Bin/CC2530_DEFAULT_20190608_CC2530ZNP-Prod.hex
```
```