跳到主要內容

透過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/


留言

這個網誌中的熱門文章

[經驗分享]開源IT資產管理系統 - Open-AudIT

企業營運必定與電腦系統脫離不了關係,每一部電腦散落在各部門、各辦公室,若是較具規模的公司,甚至會有跨好幾個地區的辦公室存在。 from Pocket http://ift.tt/2sI5nuB via IFTTT

實體店拓展外,UNIQLO 要如何以 O2O 虛實整合持續在台灣成長?

日本服飾品牌 UNIQLO 邁入來台 10 週年,除了全台設有實體店鋪,更在來台初期即有網路商店,提供完整品項與尺碼,以及線上下單、店鋪取貨的店取模式,打造 O2O 全通路購物體驗。 from Pocket https://ift.tt/31hLfzF via IFTTT

RegistryChangesView 登錄檔比對工具,挖出某個設定修改了什麼..

在 Windows 電腦中,很多軟體在安裝/移除或執行時會在系統的「登錄檔」資料庫裡面加入、移除或修改許多項目,有些有修改是必須的,有些修改沒弄好的話可能會造成一些問題導致某些功能不正常或系統不穩定等等情況。 from Pocket http://ift.tt/2wiZCWi via IFTTT