Flashing CC2531 without CC Debugger

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2024
  • INFO:
    To flash CC2531 without the CC Debugger all you need is a couple of wires, 3 min of your time and a Rasberry PI. A lot of you send me messages about issues with 1.0 version of the board. If you are stuck, you can buy pre-flashed CC2531 v2.4 from ITEAD for $3.99 shrsl.com/25xc4
    Tutorial: 1:48
    More on: notenoughtech.com/home-automa...
    External antenna mod: notenoughtech.com/home-automa...
    Supported by Patreon:
    Elle S, Marc W, Natasha, Marta H, Joseph C, Mikhail T, Martin A, Marcus K, McFly, Sriram, Xavier P, Clifon M, Thomas A, Mark
    SUPPORT ME:
    www.notenoughtech.com/about-me/
    / notenoughtech
    www.paypal.me/notenoughtech
    Social media:
    / notenoughtech
    plus.google.com/u/0/b/1009298...
    / notenoughtech
    / notenoughtech
    BUSINESS ENQUIRIES:
    www.notenoughtech.com/contact-...
    Music from filmmusic.io:
    "Retro Future Clean", "Andreas Theme", "CarpeDiem" "Furious Freak" by Kevin MacLeod (incompetech.com)
    Licence: CC BY (creativecommons.org/licenses/b...)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 247

  • @jouk91
    @jouk91 2 ปีที่แล้ว +3

    Very clear instructions and pretty easy to follow!! Flashed my CC2531 in no time because of this video, Thank you!

  • @TheCelticbeast
    @TheCelticbeast 5 ปีที่แล้ว +5

    Finally. I've had one of these for 4 months and just put it off til later. Thanks for the video.

  • @johnkenyon2939
    @johnkenyon2939 2 ปีที่แล้ว +2

    Excellent instructions. Thank you! FYI instead of soldering wires directly on to the pins I just used pliers to crimp a couple of the push on connectors so they would fit on the narrow gauge pins.

  • @AntKardano
    @AntKardano 3 ปีที่แล้ว

    Have flashed my CC2531 using an Orange Pi with the help of your guide, thank you!

  • @B16RDP
    @B16RDP 3 ปีที่แล้ว +2

    Great Video thank you. I used some clamping connectors so I did not have to solder. Your instructions were great and allowed me in under 20 mins to get the flash complete.

  • @PauloAbreu
    @PauloAbreu 3 ปีที่แล้ว

    With patience and careful step by step procedure, this worked like a charm! Thank you!

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +1

      Awesome enjoy! I have lots of tutorials how to create different behaviours in NodeRed

  • @MrJamesmix
    @MrJamesmix 4 ปีที่แล้ว +1

    Thanks from Portugal, I just spent 30 minutes flashing with your method, welding included.

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Awesome enjoy. I have all IKEA devices mapped as well so I recommend you check it out

  • @ahalvarsson
    @ahalvarsson 5 ปีที่แล้ว

    You just pushen me over the edge of buying a few of these. Thanks :)

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว +2

      In a household you probably need just one and then used couple of light bulbs to propagate the signal

    • @ahalvarsson
      @ahalvarsson 5 ปีที่แล้ว

      NotEnoughTECH cheap enough to just buy a few to mess around with.

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      Sure thing but you need a Raspberry or something to run it on. Most of the powered ZigBee devices (not batter powered) act as routers in a mesh network. But if you want to have more than one network... Could be right thing to do

  • @petermeiner3574
    @petermeiner3574 5 ปีที่แล้ว +1

    damned, i allready buy the cc programmer and the cabel and the stick.... and now you show the shortcut. Good Job, Mat!

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      I was soo close of getting one too ! I thought the method deserved some attention!

  • @RamblinggeekUk
    @RamblinggeekUk 3 ปีที่แล้ว

    Did this last night and it worked like a charm!

  • @iNimbleSloth
    @iNimbleSloth 3 ปีที่แล้ว

    Wow - thanks for this. Super helpful, flashed first time without any issues.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      There are no nimble sloths.... And you are welcome 🤭

  • @heimdallmidgard4670
    @heimdallmidgard4670 4 ปีที่แล้ว

    Worked! Thank you very much. Your contant is always awesome!

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      awesome - enjoy your Zigbee fun - I have lots of zigbee tutorials!

  • @Kosh42EFG
    @Kosh42EFG 3 ปีที่แล้ว

    This is the video I've been hunting for!

    • @Kosh42EFG
      @Kosh42EFG 3 ปีที่แล้ว

      Woo-hoo! Pre-flashed my backside. One step through this, and after a little network whoopsie (I used the Pi that used to be my HASSIO server, of which I cloned the mac address in a virtual machine) it works like a charm. Many thanks again.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +1

      I'm happy for you. Enjoy the ZigBee and pick yourself nice sensors as a reward :)
      (Bonus points for usig my links haha)

  • @julupanter
    @julupanter 4 ปีที่แล้ว

    Open the messenger at the door, solder the chip, update wiring-pi to support rasperry pi 4, flashing with your great tutorial on the backgroun, and enjoy. About 25 minutes (10 goes into solving the rpi4 unsupported wiring pi). Thank you very much!

    • @OscarGarcia-eu9pg
      @OscarGarcia-eu9pg 4 ปีที่แล้ว

      Hi, how did you make it work for rasberry pi 4? I keep getting id=ffff..

  • @Quinten0508
    @Quinten0508 ปีที่แล้ว

    Thank you for the video/guide! Was able to flash the FW successfully and saved 50 bucks on a bulky ikea hub :)

    • @notenoughtech
      @notenoughtech  ปีที่แล้ว +1

      You made a better choice too!

  • @mcanvar
    @mcanvar ปีที่แล้ว

    Thank you so much, you saved a turkish survivor from waiting parcels for 30 days from China.
    If you are a lazy potato like me about soldering, I have a worked idea for you!
    First cut the male part of the socket wire directly. Now we have to push the wire directly to the related pins, the pins are so thin that they would make their own way to fit inside. But be careful while doing this, gently push and rotate left and right to help the pin.

    • @notenoughtech
      @notenoughtech  ปีที่แล้ว +1

      That's a good tip.

    • @mcanvar
      @mcanvar ปีที่แล้ว

      @@notenoughtech thanks 😊

  • @AndreasZinnikus
    @AndreasZinnikus 4 ปีที่แล้ว

    perfect... Works totally well and was simple. Thank you very much.

  • @jiggyza
    @jiggyza 3 ปีที่แล้ว

    Applauses to you Sr.
    Very useful. Many thanks.

  • @domenus
    @domenus 5 ปีที่แล้ว +3

    Awesome video man! I am excited to see your future videos. I got a few Aqara and Xiaomi wireless switches and Door Sensors working, but I could not set a initial status to them. For instance, the initial state for the Door Sensor is "closed", even if its open. Once you really close it and open again, it works and I got no way to get that to read the initial value.
    Also, the switches have "Unknown" for Battery, Click and Link values until you click the switch for the first time.

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว +1

      I might be wrong on this, but all but temp sensors are going into a sleep mode. So unless there is a trigger wake up (low battery, button press, contact triggered) the unit sleeps to conserve the battery. There is no way of reading the information in this state. I assume this information based on the IKEA remote which after a long time without using the button has to be pressed twice - once to wake up, once to toggle stuff.
      I will check the Aqara stuff soon - I'm actually going to write a piece about keeping the battery getting low battery notifications for all the devices.

  • @camelleon2607
    @camelleon2607 5 ปีที่แล้ว +1

    love it love it LOVE IT!!!!

  • @zoltar99
    @zoltar99 3 ปีที่แล้ว

    Worked fine although it took me a couple of hours to complete, soldering was a bit tedious, but all done now. Thanks.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      Haha just bent the pins. Also apparently Dupont cables work if you remove plastic sleeves

    • @zoltar99
      @zoltar99 3 ปีที่แล้ว

      @@notenoughtech I did bend the pins, yes. Just a bit difficult to solder so close to each other, but got there in the end. Cheers. Saved me from buying the kit.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      Enjoy you will love mixing and matching various ecosystems

  • @IlkkaLavas
    @IlkkaLavas 4 ปีที่แล้ว

    Thanks! Great video!

  • @jerrywolsztyniak8834
    @jerrywolsztyniak8834 3 ปีที่แล้ว +1

    I think you have answers to almost all of my home automation challenges. I've hit a limit on the CC2531 stick I got from ebay as it was loaded with standard firmware which you shouldnt use with more than 30 devices. I'm now up to 58 devices in my house and it kept crashing almost daily, locking up where I had to keep reconnecting it in the usb port. Loaded up Source_Routing firmware on it using your method and it worked perfectly. Thanks again for this video, I dreaded having to wait for a programmer at least 2 months as there are none locally available where I am.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      I just got another coordinator so I'm sure I'll be posting soon.

    • @jerrywolsztyniak8834
      @jerrywolsztyniak8834 3 ปีที่แล้ว

      @@notenoughtech So I've just learned the hard way that Xiaomi Aqara Opple switches dont like source routing and only prefer to be connected directly to the coordinator. I have to build a diy cc2530 router I think to fix my network size problems and revert back to default firmware on the cc2531. I'm up to 80+ devices now.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      You are growing these very quickly. Or do they multiplying on their own now 😂🤣

    • @jerrywolsztyniak8834
      @jerrywolsztyniak8834 3 ปีที่แล้ว

      @@notenoughtech HAHA!! I just started pairing 20 Zemismart dimmers and 4 Xiaomi Smoke detectors that arrived in the mail today. Also testing the Opple switches that I got earlier, while waiting for the big order of 16 to arrive. So far have paired just over 20 Sonoff ZBR3's, 8 Samsung temp and door sensors, a number of Ikea bulbs in lamps. All running off NodeRed, but using the Homeassistant nodes to control them. I found those nodes easier to configure for dimming on the Zemismarts with simple 5% loops that are stopped by the "released" payload from the Xiaomi switches.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      Impressive!
      I like Xiaomi buttons too. You can also paint the logo to make them look different.

  • @ghicione
    @ghicione 5 ปีที่แล้ว

    Excellent video, I like it. Thank you.

  • @rklauco
    @rklauco 4 ปีที่แล้ว

    Thanks a lot for this. Soldering the wires now ;)

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Hope you have V2.4

    • @rklauco
      @rklauco 4 ปีที่แล้ว

      @@notenoughtech How would I find out?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      on the PCB near the USB part

  • @SchwarzwaldEnergiejunkie
    @SchwarzwaldEnergiejunkie 3 ปีที่แล้ว

    Thanks! You helped me a lot!

  • @jj123456789000
    @jj123456789000 3 ปีที่แล้ว

    Thank! Work perfectly!

  • @raymondbruns3291
    @raymondbruns3291 5 ปีที่แล้ว

    Nice video, I think I'm gona order me one.👍

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      Worth it if you want to mix and match ZigBee gadgets from different brands

  • @woodenmonster
    @woodenmonster ปีที่แล้ว

    genius !!, thank you

  • @ginodepalm4898
    @ginodepalm4898 4 ปีที่แล้ว

    Thanks very very nice.

  • @onkelt2624
    @onkelt2624 2 ปีที่แล้ว

    Thank you.

  • @fulgenciojara8962
    @fulgenciojara8962 3 ปีที่แล้ว +2

    I didn't solder the wires. I just bent the wires as him, I removed the plastic cap of the dupont wires and connected them carefully ;)

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +1

      I need to try this next time :D

    • @frankzehelein
      @frankzehelein 3 ปีที่แล้ว

      Awesome tip - thanks! Had to put a bit of tape over the metal caps to separate them cleanly from each other. But much easier than soldering.

  • @praveenKumar-hl3yu
    @praveenKumar-hl3yu 3 หลายเดือนก่อน

    Thank you for the video, simple and clear instructions. Have a questions, is it for C2531 F128 or F256 ?

    • @notenoughtech
      @notenoughtech  3 หลายเดือนก่อน

      Considering the fact I was not aware of revisions... Should work for both? 😄

  • @garyclarke7858
    @garyclarke7858 4 ปีที่แล้ว +1

    Itead now sells a preloaded Zigbee CC2531 USB Dongle

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      I know it's the 2.4v too! 🤗

    • @bart8863
      @bart8863 4 ปีที่แล้ว +1

      @@notenoughtech if it is a preloaded zigbee cc2531 usb dongle, do you no longer have to do the flashing process you outlined in the video? Is it plug and play?

    • @starman617
      @starman617 3 ปีที่แล้ว

      (www.itead.cc/cc2531-usb-dongle.html) Is there a ready-to-run version somewhere? My hands aren't steady enough to do the soldering.

  • @MagivaIT
    @MagivaIT 4 ปีที่แล้ว

    great video... really good.... except.. can you cover how you transfer the file with notepad++

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      I'm using an FTP extension as you can use SFTP do connect to your RPI via SSH and upload files

  • @bbugarschi
    @bbugarschi 3 ปีที่แล้ว

    I'm kinda new to this whole zigbee thing :P
    I was wondering of the dongle and zigbee2mqtt works with tuya smart battery powered temperature/humidity sensors (they are zigbee, but they are not listed as supported)?
    I know you have a vidoe showing how to add new devices, but i'm curios if there could be any problems with the tuya things...

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      I already covered this here
      notenoughtech.com/home-automation/adding-new-devices-to-zigbee2mqtt/
      You should be able to use tuya devices just fine

    • @bbugarschi
      @bbugarschi 3 ปีที่แล้ว +1

      @@notenoughtech awesome thx :)

  • @OscarGarcia-eu9pg
    @OscarGarcia-eu9pg 4 ปีที่แล้ว

    Hi Matt, I appreciated your video!! are there any extra steps if i'm using a raspberry pi 4? Thanks!

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      You should be fine with rpi4. Check the chip on PCB. Some of them seem to be shodddy. Do you have v2.4 or v1.0

    • @OscarGarcia-eu9pg
      @OscarGarcia-eu9pg 4 ปีที่แล้ว

      @@notenoughtech i believe is version 1.0.. But how can I make sure of that? Is there any difference in the flashing process depending of the version?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      I hardly had complains from anyone on v2.4 - check this one out:
      github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748

  • @elroyonline
    @elroyonline 4 ปีที่แล้ว +3

    You say “any” raspberry pi - but it’s probably worth mentioning that it won’t actually work with anything earlier than a 3

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      After some people reported issues with flashing on Zero series you are probably right there.

  • @soovui
    @soovui 4 ปีที่แล้ว

    Hi Mat, I am so happy seeing yr tutorial and excited buying a few cc2531. Sadly i try to flash with raspberry pi 3b+ by following yr given tutorial but all failed with ID=ffff even I checked the wiring several times. I even changed another new raspberry pi 3b+ and another new cc2531. GPIO -v ok. Any idea what is happening? 😭

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      ffff means that device is not detected. It's either driver not correctly installed or you made a mistake with wiring. Double check the pins. These are so close together it's easy to make an accidental short.

    • @soovui
      @soovui 4 ปีที่แล้ว

      @@notenoughtech @NotEnoughTECH Hello Mat, sorry for the disturb, know that u r busy. Do u mean we need to install driver 1st? What do u mean by "driver not correctly install means" ? I need to install some driver onto raspberry pi, before trying to flash cc2531? Or do I miss anything in Raspberry pi raspi-config, need to be enabled? I am pretty sure wiring no short circuited because I even tested with multimeter to ensure no short circuited and wiring continuity too. Double triple check pin to follow exactly the pin configuration table given. But I did tried to unplug the pin 38 or DD, it shows ID=0000 and once plug it back it shows ID=ffff again. Try to type GPIO readall and it shows pin 35 36 38 = 1 respectively. Tq tq tq for yr help and very much appreciated.

    • @garyclarke7858
      @garyclarke7858 4 ปีที่แล้ว

      @@soovui I have the same issue, I have re checked all connections but I still get ffff. did you get this fixed ?

    • @garyclarke7858
      @garyclarke7858 4 ปีที่แล้ว

      My mistake, its now working.

    • @goranpersson3669
      @goranpersson3669 4 ปีที่แล้ว

      I've got the same problem. I found this issue from the github page: github.com/jmichault/flash_cc2531/issues/9. Sadly no straight solution for this. Have you guys found out how to get around this problem?

  • @Pixelcrafter_exe
    @Pixelcrafter_exe 4 ปีที่แล้ว

    very good video. you saved me about 10 $. Thx. I think ther's a mistake at 2:17 at gnd and gdn(?) means this ground?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      You have better eyesight than me! Clearly that $10 you saved I will spend on optician :)

  • @Printlapse_
    @Printlapse_ 4 ปีที่แล้ว

    Hello, is it possible to flash with you method if I already have hassio installed in raspberry pi? Or I need to delete hassio first of all to be able to proceed with your steps?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      As long as you have the root access via SSH you can

    • @Printlapse_
      @Printlapse_ 4 ปีที่แล้ว

      @@notenoughtech what do you mean by that? Sorry I am new with all this stuff

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      If you are the one that installed it then yes

    • @Printlapse_
      @Printlapse_ 4 ปีที่แล้ว

      @@notenoughtech yes I installed hassio on raspberry pi. How to access that console log then? :D

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      not the console log but just SSH session - and then follow the instructions as per tutorial.

  • @LuisReyes-zg7mq
    @LuisReyes-zg7mq 5 ปีที่แล้ว

    Nice vid bud! How can I flash the CC2530 using RaspberryPi?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      (I believe - do not quote me on this - it should be pretty much the same way if there are flash libraries for CC2530

  • @woodrowhowe5536
    @woodrowhowe5536 3 ปีที่แล้ว

    Can I flash the non-usb CC2530 board as well like this?

    • @woodrowhowe5536
      @woodrowhowe5536 3 ปีที่แล้ว

      Ha it does, see comment from Juan Perez below.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      yes you can - just map the pins correctly

  • @EricLee-bl5dc
    @EricLee-bl5dc 4 ปีที่แล้ว

    @NotEnoughTECH I have this problem, I have already installed the HASSIO, when I go to the terminal through SSH Web Terminal, I can only see the" -->~ " prompt. I know it is not right, because your terminal shows a "$" prompt. I cannot execute any gpio -V or any command like "sudo get-apt...".. Please advice how to get to "$" prompt after I have installed the HASSIO. Please give some guidance as we are all beginners in Home-assistant.

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Are you logged in as a root user? Seems like you have no permissions to do whats's needed

    • @EricLee-bl5dc
      @EricLee-bl5dc 4 ปีที่แล้ว

      @@notenoughtech Hi, I setup HA as what is instructed on the web as i am quite new to it. i setup duckdns, ssh web terminal and i try to use the terminal...may i know how to log in as root user or root permission? i am the rightful owner of the HA & Pi?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      frankly speaking I never played with HA - but you can check if you are root user :
      unix.stackexchange.com/questions/305509/how-do-i-check-if-i-have-root-access
      like this.

  • @CC-ro7he
    @CC-ro7he 4 ปีที่แล้ว +7

    For the lazy you can pick them up pre-flashed from cc2531.com ;-)

    • @evolutionretro797
      @evolutionretro797 4 ปีที่แล้ว

      Where are they shipped from?

    • @CC-ro7he
      @CC-ro7he 4 ปีที่แล้ว +1

      @@evolutionretro797 UK, so 1-2 days if you're in the UK, 3-5 if you're in the EU and 5-7 business days if you're international / U.S. :-)

  • @jasb25
    @jasb25 ปีที่แล้ว

    I'm stucked haha. When I run the ./cc_chipid or any other command I get: No such file or directory. The file exists on the directory but I can´t get it to run. HELP :/

  • @LTGnetwork
    @LTGnetwork 4 ปีที่แล้ว

    how come wen i try doto the ./cc_chipid it says no such directory or file, whilest wen i do ls i can clearly see them ?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Are you in that directory?

    • @LTGnetwork
      @LTGnetwork 4 ปีที่แล้ว

      @@notenoughtech yes, since i can use tab completion even

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      @@LTGnetwork the other cause of this could be permissions. Check the file and folder permission. Try setting it all to 775 for testing

    • @LTGnetwork
      @LTGnetwork 4 ปีที่แล้ว

      @@notenoughtech nope still not chanced all premisions to 775 en the whole folder and tryed it as root

    • @LTGnetwork
      @LTGnetwork 4 ปีที่แล้ว

      @@notenoughtech could this because of a pi 4 ?

  • @jeroenhofman447
    @jeroenhofman447 5 ปีที่แล้ว

    Nice video. Is it possible with a rpi2 because this one have only 26 gpio pins. and de pins 38 etc are missing.

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      Yes as long as you use the correct pins.

    • @jeroenhofman447
      @jeroenhofman447 5 ปีที่แล้ว

      thx i will give it a try and finding the correct pins

    • @maersk1969
      @maersk1969 3 ปีที่แล้ว

      @@jeroenhofman447 did you found out the pins?

    • @jeroenhofman447
      @jeroenhofman447 3 ปีที่แล้ว

      @@maersk1969 no not on the pi2 i have used an new sd card on rpi3 and the it works

    • @maersk1969
      @maersk1969 3 ปีที่แล้ว

      @@jeroenhofman447 my problem is that I only have a pi 1 with 26 pins and I do not know what kind of pins I need to flash the cc2531.

  • @fascineroso
    @fascineroso 4 ปีที่แล้ว

    Hi! Thanks for the video, really helpful! Unfortunately, I am stuck on error "ffff"... I have verified several times the cables (I have resoldered them twice), but still no luck. I see a green light from the onboard LED, so I assume that the device is not completely faulty... Is there anything I can do to debug this? Thanks!

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      What raspberry are you using ?

    • @fascineroso
      @fascineroso 4 ปีที่แล้ว

      @@notenoughtech Raspberry Pi 2

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      @@fascineroso also is the xx2531 v2,.4? See PCB... I had some readers reporting that it wouldnt work on zero while worked ok on RPI3...
      check this out too:
      github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748

    • @fascineroso
      @fascineroso 4 ปีที่แล้ว

      ​@@notenoughtech I can see CC25XX USB Dongle Rev 1.0

    • @fascineroso
      @fascineroso 4 ปีที่แล้ว

      @@notenoughtech You think I need another SW to flash this? I bought the following device: uk-m.banggood.com/Wireless-Zigbee-CC2531-Sniffer-Bare-Board-Packet-Protocol-Analyzer-Module-USB-Interface-Dongle-p-1227206.html?&cart_warehouse=CN

  • @alex.cristescu
    @alex.cristescu 4 ปีที่แล้ว

    For anyone having issues and getting ID different than b524 and being unable to write, use '-m 90' (or increase the number if still not working) after every cc_ command. This functionality was added recently and it fixed my issues. @NotEnoughTech maybe pin this for all to see? More info here: github.com/jmichault/flash_cc2531/issues/9#issuecomment-557893592

  • @DanielBrzanov
    @DanielBrzanov 5 ปีที่แล้ว

    Do you still need the jumper cables after the flashing?

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว +1

      No, this is one time process. Once flashed, updates are done over USB and you can get rid of the cables

    • @DanielBrzanov
      @DanielBrzanov 5 ปีที่แล้ว

      @@notenoughtech Hey, the link to the firmware on your site is not valid any more. What should we download? :)

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      Nope

    • @notenoughtech
      @notenoughtech  5 ปีที่แล้ว

      @@DanielBrzanov I have updated the link to the folder rather than a file:
      github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator

    • @ZillionPrey
      @ZillionPrey 4 ปีที่แล้ว

      Well that's new to me if you could update it via usb. Never found a post to do that without reflashing the device.

  • @maryanhulchevskyi1154
    @maryanhulchevskyi1154 3 ปีที่แล้ว

    Great video! Thank You. But I've got a problem connecting cc2531 GND (pin 1) to Raspberry Pi 4b GND (pin 39). It causes power off of the stick despite other pins are connected or not. When I tried to connect GND to other GND pins (6, 9, 14 etc) on the Raspberry I got id="0000". How do you think what is the problem?

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      If it causes the power off a short would be the most obvious cause. Do you have the pin mapped to anything else via other scripts?

    • @maryanhulchevskyi1154
      @maryanhulchevskyi1154 3 ปีที่แล้ว

      @@notenoughtech No. Only zigbee stick cc2531

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      I have no idea? I assume the stick wasn't pre flashed? Perhaps faulty? Itead sells them flashed with coordinator

    • @maryanhulchevskyi1154
      @maryanhulchevskyi1154 3 ปีที่แล้ว

      @@notenoughtech Right. The stick wasn't pre flashed. Actually it's not ITEAD manufactured stick.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      They don't make these but they flash it and verify it and sell for $4 so worth having the piece of mind ;)

  • @lychanis
    @lychanis 3 ปีที่แล้ว

    Hi, nice video!
    I'm a total noob in the matter and I don't have soldering tools. I was wondering is it possible to use female to female wires instead of soldering thing?
    (I would have tested myself but I don't have CC2531 or wire ahah)

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +2

      I have been told that if you remove the plastic shroud these can fit nicely. Inspect the cable though to make sure these won't cause shorts

    • @martinshultz
      @martinshultz 3 ปีที่แล้ว +1

      @@notenoughtech I did this just an hour ago and it worked great. I bent the pins extra far apart and didn't stick the wires on all the way, in order to prevent them making contact with other pins, as you say. But as long as the wires were making contact with the right pins, it worked fine! No soldering required.

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      Enjoy freedom

    • @danielson1984born
      @danielson1984born 3 ปีที่แล้ว

      @@notenoughtech I'm in the process of flashing but got ID successfully. I stripped plastic and use electrical isolating tape to isolate wires. My wires sit a little loose on pins, but it works.

  • @vestercasper
    @vestercasper 3 ปีที่แล้ว

    If I do this , will I then be able to add it directly as a "Zigbee home automation" device ?

    • @vestercasper
      @vestercasper 3 ปีที่แล้ว

      (In Home assistant of course)

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +1

      @@vestercasper I'm not 100% how it looks in HA end but it's ZigBee2MQTT based so you will be able to interact with it via MQTT

    • @vestercasper
      @vestercasper 3 ปีที่แล้ว

      @@notenoughtech Thanks for the quick answer - I really hoped that the firmware would turn it into a ZHA device.. But I guess I have to buy another CC2531 with the sonoff firmware if I want a ZHA device . After that I probably have to move the antenna from my current CC2531 to the sonoff CC2531 (it does not come with an antenna)

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      You can flash any firmware on it. I know people are using it with HA I just don't know the details of how as I use nodered only

    • @vestercasper
      @vestercasper 3 ปีที่แล้ว

      I can confirm its working perfectly as a ZHA device in HA 🙏👍

  • @fabiodordetto
    @fabiodordetto 4 ปีที่แล้ว

    How can I know If my usb sticker was flash or not?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      Unless your seller advertised it as flashed it's probably not

    • @fabiodordetto
      @fabiodordetto 4 ปีที่แล้ว

      @@notenoughtech :(

  • @ygreq
    @ygreq 4 ปีที่แล้ว

    You forgot to mention what the Raspberry Pi is running. My guess is that it is a normal verison of Raspian. Correct?

  • @mr.architect3464
    @mr.architect3464 4 ปีที่แล้ว +1

    Note:
    Upload new firmware using ./cc_write /path/to/CC2531ZNP-Prod.hex this will take about 3 min on RB4
    but in zero it will took 30 minutes!
    P. S. If you start with sudo ./cc_write then it will do it faster. Without sudo it's not working at my home...

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Thanks for that. Zero is significantly slower. I think the instructions also mention similar times for Arduino method

    • @mr.architect3464
      @mr.architect3464 4 ปีที่แล้ว

      @@notenoughtech sudo before commands was needed in my case. Without sudo, everything was slow and not working but with sudo before commands I did it just like you did. So zero is fast but sudo is needed.

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      the issue was with file permissions then. I had the file access issues with my NAS drive. Not having correct permissions set would affect my download speeds.

  • @mr.architect3464
    @mr.architect3464 3 ปีที่แล้ว

    This is WIP video!

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว

      It works and it's a progress? 😉

  • @andrewrussell9368
    @andrewrussell9368 4 ปีที่แล้ว

    I successfully did this yesterday, with help from this video. One hiccup: ./cc_chipid returned ffff. Needed to edit CCDebugger.c and re-make as described in github.com/jmichault/flash_cc2531/issues/9#issuecomment-557893592. Also, my chipid showed as b522 instead of expected b524, but this is also mentioned in the same thread. Thanks, Mat.

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      I had a friend struggling with it too... check the board version it should be printed on PCB

    • @gelisob
      @gelisob 3 ปีที่แล้ว

      Thanks Andrew that helped, I also had to change my cc delay to 90 to get the reading go from ffff to b524. And comment out the delay calibrate.
      And of course thanks for NotenoughTech for making the video.

  • @visitor5914
    @visitor5914 4 ปีที่แล้ว

    Hallo sir, I have a question, I try this method, when I try to get chipid the return value is ID = 8d22, if I try cc_erase: erase result is 00a2, and I failed to run the command of ./cc_write /path/to/CC2531ZNP-Prod.hex also file, so I end up run ./cc_write CC2531ZNP-Prod.hex. Then I try to continue the step by starting the zigbe2mqtt, but the process failed at npm start : Error while starting zigbee-herdsman. Is it because the flashing cc2531 is not yet sucessfull?
    I already multiple times check on the wiring, and I never get the same chip id as your description, could you help please? thanks in advance

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Can you check the board version? It's printed on the PCB

    • @visitor5914
      @visitor5914 4 ปีที่แล้ว

      @@notenoughtech the board is CC2531 usb dongle Rev 2.4 sir...
      Thx for replying

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      @@visitor5914 The same as mine. Are you using correct firmware? You should take a look at the table linked in the article to pick the correct version

    • @visitor5914
      @visitor5914 4 ปีที่แล้ว

      @@notenoughtech Sir can I ask a silly question? Is the chip on your dongle written "CC2531" as the printed text on the dongle board? I just realize after staring on my dongle, the chip is "CC2540 F256" while the printed text on dongle board is cc2531......
      "----____________----- it seems like that was the cause why the chip id is different....
      And the result after looking for solution, this QA (github.com/Koenkk/zigbee2mqtt/issues/220) say: "The CC2540 is a cost-effective, low-power, true system-on-chip (SoC) for Bluetooth low energy applications"
      Need to buy the right module....for other people please double check, cause the online shop only write cc2531 doesn't mean its chip is cc2531.......so sad.......
      :"((((((((

  • @cocotug0
    @cocotug0 2 ปีที่แล้ว

    lol, i used exactly the same wire colors in the esxact same pins by coincidence

  • @R4YTUBE
    @R4YTUBE ปีที่แล้ว

    Hi, this project depends on wiringPi but that is no longer available. It cannot be installed anymore. Error "zsh: no such file or directory: ./cc_chipid" BTW I am on Kali linux .
    I just found this: WiringPi is PRE-INSTALLED with standard Raspbian systems. Please DO NOT try to follow any installation instructions you may be given anywhere else

    • @notenoughtech
      @notenoughtech  ปีที่แล้ว

      Yes I think in bullseye wiringpi is now added as default.
      your error indicates you are running the command from incorrect directory. make sure your file is in the current directory with "ls"

  • @souk-tv
    @souk-tv 2 ปีที่แล้ว

    Why didn't they make this device with a hardware switch so you can click the switch plug it up to a pc via USB, flash it and then when it's flashed flick the switch back and use it in its normal mode.

  • @sagatxxx1
    @sagatxxx1 4 ปีที่แล้ว

    It doesn't work for me with a today fresh raspbian installation.
    The video does not work for you either, when you run "cc_chipid" it comes out ID: 0000, same with erase....., which means that it is not working.
    the same happens to me

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      What board are you trying it on? Also is it v1.0 on PCB?

    • @sagatxxx1
      @sagatxxx1 4 ปีที่แล้ว

      @@notenoughtech yes, mine is 1.0

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Are you on RPI Zero? I get a lot of comments about issues with x1.0 my stick was 2.4

    • @sagatxxx1
      @sagatxxx1 4 ปีที่แล้ว

      @@notenoughtech no,i have a raspberry pi 3

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      @@sagatxxx1 see if any of these would be helpful: github.com/jmichault/flash_cc2531/issues/10#issuecomment-544139748

  • @tomaszkoscielski2438
    @tomaszkoscielski2438 4 ปีที่แล้ว

    Hello. I have problem with step 2: git clone github.com/jmichault/flash_cc2531.git ----> -bash: git: command not found. What am I doing wrong?

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      sudo apt-get install git - should help

    • @tomaszkoscielski2438
      @tomaszkoscielski2438 4 ปีที่แล้ว

      @@notenoughtech Thank you. It helps. I have another problem: where should I story .hex file (CC2531ZNP-Prod.hex)? On SD card? Or on my PC? Thank you in advance!

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Needs to be in the same folder as flash directory you can use mv command to move it

  • @knifekitty_ls
    @knifekitty_ls 4 ปีที่แล้ว

    couldnt you just use female-female dupont jumper wires without soldering them to that header? it looks like standard 10pin header to me

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      The header on cc is way too small for that these pins are very close to each other

  • @user-rc6mp3nq7t
    @user-rc6mp3nq7t 4 ปีที่แล้ว +1

    USSR. Good. Ok. Super.

  •  2 ปีที่แล้ว

    this is not working wiringpi is not available, but is referred to by another package.

    • @notenoughtech
      @notenoughtech  2 ปีที่แล้ว

      Have you tried installing it from a different source?

    •  ปีที่แล้ว

      @@notenoughtech nope.. linked, is installed. and flashed. but I don't see myself in the zigbee2mqtt device.. it is not shown or connected..im flash as router/extender..

  • @OskariUusitalo
    @OskariUusitalo 4 ปีที่แล้ว

    Does not work, WiringPi is off from internet and with version witch comes with raspbian wont flash correctly, does errors when flashing

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Were you on "lite" or standard raspbian?

    • @OskariUusitalo
      @OskariUusitalo 4 ปีที่แล้ว

      Lite

    • @OskariUusitalo
      @OskariUusitalo 4 ปีที่แล้ว

      Verifying gives always errors, sometimes only one bit and other times 20 bits

    • @OskariUusitalo
      @OskariUusitalo 4 ปีที่แล้ว

      Downloaded older version and it worked great wiringpi.com/wiringpi-updated-for-the-pi-v3plus/

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      @@OskariUusitalo Do you have the same result on the Full raspbian?

  • @Dmitriitube
    @Dmitriitube 4 ปีที่แล้ว

    I tried everything(((((
    Raspberry Pi 2B
    pi@raspberrypi:~/flash_cc2531 $ ./cc_write CC2531ZNP-Prod.hex
    ID = b524.
    incorrect hex file ( : missing)

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว

      Did you move the file to the correct folder?

    • @Dmitriitube
      @Dmitriitube 4 ปีที่แล้ว

      @@notenoughtech yes, upload to "flash_cc2531"

  • @ygreq
    @ygreq 4 ปีที่แล้ว +1

    This tutorial is definitely not for beginners. It's great that you are doing this, but damn, it is missing a whole lot of info. For example how to move the hex file into raspberry. Definitely not for newbies :/

    • @ygreq
      @ygreq 4 ปีที่แล้ว

      not knowing folder structure in linux I have no clue where the flash_cc2531 folder is :(

    • @notenoughtech
      @notenoughtech  4 ปีที่แล้ว +1

      You can either upload it using FTP or simply put it the SD card and move to correct location

    • @ygreq
      @ygreq 4 ปีที่แล้ว +1

      @@notenoughtech I finally found it! Thank you!!

  • @PershaIranii
    @PershaIranii ปีที่แล้ว

    It doesn't work anymore, because it needs wiringpi, which is deprecated..

    • @notenoughtech
      @notenoughtech  ปีที่แล้ว

      Wiring pi library should be included now if not you can install via npm

  • @stevelaminack1516
    @stevelaminack1516 3 ปีที่แล้ว

    Not enough light:-)

    • @notenoughtech
      @notenoughtech  3 ปีที่แล้ว +1

      My recent livestream shows I'm working on this. I may not have fingers left when I'm done but the light should improve :) my recent stuff is better lit