Updated Zigbee (markdown)

ma261065 2019-11-10 21:41:02 +11:00
parent 568185f900
commit 8733c6b26b
1 changed files with 10 additions and 7 deletions

@ -114,13 +114,6 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`)
[ ] TIMER_SUSPEND [ ] TIMER_SUSPEND
``` ```
If you get a message about the flash size not being big enough, this will be because the CC2530 is Debug Locked. This limits the ability of certain commands to report the true flash size. To fix this you need to erase the chip, which can be done as part of flashing the chip. So you will need a 16kb file to flash. The easiest way is to read the existing flash, then re-flash it, using the 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
```
4. Flash the firmware using the following command: 4. Flash the firmware using the following command:
_Flashing the CC2530 **takes about 30 minutes**_ _Flashing the CC2530 **takes about 30 minutes**_
@ -128,6 +121,16 @@ python Python/cc_write_flash.py --erase -p /dev/cu.usbserial-xxx -i x.hex
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 /dev/cu.usbserial-xxx -i Bin/CC2530_DEFAULT_20190608_CC2530ZNP-Prod.hex
``` ```
If you get a message about the flash size not being big enough, this will be because the CC2530 is Debug Locked. This
limits the ability of certain commands to report the true flash size. To fix this you need to erase the chip, which can
be done as part of flashing the chip. So you will need a 16kb file to flash. The easiest way is to read the existing
flash, then re-flash it, using the 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
```
``` ```
INFO: Found a CC2530 chip on /dev/cu.usbserial-xxxx INFO: Found a CC2530 chip on /dev/cu.usbserial-xxxx