No need GPIO14 anymore, and flashing time is now 30 minutes instead of 60.

s-hadinger 2019-09-25 17:25:12 +02:00
parent cfff5fe112
commit 0c6cd6742d
1 changed files with 2 additions and 8 deletions

@ -70,13 +70,7 @@ ESP<BR>Device|<BR>CC2530
GND|GND
GPIO4|CC_DC<BR>(A.K.A. P2_2 or Debug Clock)
GPIO5|CC_RST
GPIO12|CC_DD_I<BR>(A.K.A. P2_1 or Debug Data)
GPIO14|CC_DD_I<BR>(A.K.A. P2_1 or Debug Data)
Note: GPIO12 and GPIO14 are shorted - this is normal!
> Initially CCLib was meant for use with 5V Arduino devices and required a level shifter with resistors. When using an ESP82xx, you can short both pins.
>
> In the future, there should be a way to avoid one of these GPIO connections by patching CCLib.
GPIO12|CC_DD<BR>(A.K.A. P2_1 or Debug Data)
### C. Upload the firmware to the CC2530
The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`). For convenience, ready to use [firmware files](https://github.com/s-hadinger/CCLib/tree/master/Bin) are provided. Select the right one for your hardware: `CC2530`, `CC2530 + CC2591` or `CC2530 + CC2592`.
@ -120,7 +114,7 @@ The CC2530 requires `Z-Stack_Home_1.2`, of type `Default` (not `Source Routing`)
```
4. Flash the firmware using the following command:
_Flashing the CC2530 **takes about 1 hour**_
_Flashing the CC2530 **takes about 30 minutes**_
```
python Python/cc_write_flash.py -e -p /dev/cu.usbserial-1420 -i Bin/CC2530_DEFAULT_20190608_CC2530ZNP-Prod.hex