跳到主要內容

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


留言

這個網誌中的熱門文章

How do I compile ffmpeg on a QNAP NAS

Tested on QNAP TS-419p+ with ARM CPU, but should work the same way for others. Install “Optware (IPKG)” qpkg from  http://www.qnap.com/qpkg.asp In case the “ipkg update” fails, try to adjust the following two config files: [/opt/etc/ipkg] # more tsx19-kmod.conf src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable [/opt/etc/ipkg] # more tsx19.conf src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable ipkg update ipkg install optware-devel ipkg install git ipkg install yasm ipkg install lame mkdir /opt/compile cd /opt/compile git clone git://git.videolan.org/ffmpeg.git cd ffmpeg ./configure --enable-ssse3 --prefix=/opt --extra-cflags='-I/opt/include' --extra-ldflags='-L/opt/lib' --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame make make install replace built-in ffmpeg with link to new version rm /usr/bin/ffmpeg ln -s /opt/bin/ffmpeg /usr/bin http://bubbl

Setting up a CUPS server with Docker on a Synology NAS for my Brother printer

I made the unfortunate mistake of purchasing a cheap brother printer, the Brother HL-L2300D, which is USB only. And not only is it a USB printer, it is a Winprinter which makes it very limited in anything other than Windows. from Pocket http://ift.tt/2gbYuYH via IFTTT

教練級滲透測試 不只健檢還教你強身

戴夫寇爾執行長翁浩正說,坊間滲透測試服務只花一個星期執行完成的專案,戴夫寇爾卻往往要兩個月時間,主因即在於99%工作皆須仰賴專業技術人力來執行。 from Pocket http://ift.tt/2fxAymr via IFTTT