跳到主要內容

透過Wemos D1-mini(ESP8266)刷cc2530 + cc2591韌體

 
1.下載CCLoader 

2.準備Z-Stack Firmware
        objcopy.exe --gap-fill 0xFF --pad-to 0x040000 -I ihex CC2530ZNP-with-SBL.hex -O binary CC2530ZNP-with-SBL.bin

3.燒錄 CCLoader_Arduino.bin 到Wemos D1-mini(ESP8266)

4.燒錄cc2530 + cc2591韌體前置作業

  • 編輯 \CCLoader\src\CCLoader.ino,在大約86-90行,確認以下文字

// Debug control pins & the indicate LED int DD = 14; //GPIO14=D5 on NodeMCU/WeMos D1 Mini int DC = 4; //GPIO4=D2 on NodeMCU/WeMos D1 Mini int RESET = 5; //GPIO5=D1 on NodeMCU/WeMos D1 Mini int LED = 2; //GPIO2=D4 and the Blue LED on the WeMos D1 Mini and the ESP-12E module on the NodeMCU, or can use GPIO16=D0 for the other Blue LED on NodeMCU

  • 連接PIN腳 (可參考 https://zigbee.blakadder.com/coordinators.html)

Pin NameNodeMCU/WemosGPIO#
P2_1 (DEBUG_DATA)D5GPIO14
P2_2 (DEBUG_CLOCK)D2GPIO4
RST (RESET_N)D1GPIO5
VCC3.3V 
GNDGND




5.燒錄cc2530 + cc2591韌體

  • 切換到\CCLoader-master\Windows
  • CCLoader_x86_64.exe 5 CC2530ZNP-with-SBL.bin 0

    註:5是COM Port



參考文章

https://www.zigbee2mqtt.io/guide/adapters/flashing/connecting_cc2530.html

https://zigbee.blakadder.com/flashing_ccloader.html

https://tasmota.github.io/docs/Zigbee/


留言