Updated Zigbee (markdown)

ma261065 2019-11-10 21:36:27 +11:00
parent ed5f13988b
commit 85b1552d88
1 changed files with 3 additions and 1 deletions

@ -116,8 +116,10 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`)
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. 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 -o x.hex ```
python Python/cc_read_flash.py -o x.hex'
python Python/cc_write_flash.py --erase -p /dev/cu.usbserial-xxx -i 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**_