Это видео недоступно.
Сожалеем об этом.
HOW TO: Flash the HM-10 firmware on to CC41-A / CC2541 - Bluetooth 4.0
HTML-код
- Опубликовано: 17 авг 2024
- !!!Important: Flashing the module without a 5v to 3v converter might destroy your chip!!!
Dieses Video auf Deutsch anschauen: • CC41-A / CC2541 mit de...
In this video I'm going to show you how to flash the HM-10 firmware on to CC2541 Chips by Texas Instruments. That is especially useful if you own a fake module named cc41-a. Since both modules have the same board design you can simple use the firmware of the genuine HM-10 modules. The only difference between the two of them is that the cc41-a misses one oscillator but that doesn’t lead to any problems. Therefore you can use all tutorials that are based on the HM-10 module (there are none for the cc41-a).
Links:
Post in the Arduino forum: forum.arduino.c...
Software for the Arduino: github.com/Red...
Software for your computer: github.com/Red...
Firmware as binary file: uptobox.com/l8v...
Used Parts(Affiliate links):
FTDI adapter FT232RL: amzn.to/2jwr0bC
Original Arduino UNO: amzn.to/2jwu4UW
Arduino Nano V3: amzn.to/2jEbXu1
5x Arduino Nano V3: amzn.to/2jEdwrQ
Fake? HM-10 Modul: amzn.to/2ksvleb
Scalpel: amzn.to/2jYa4cl
Jumper wires: amzn.to/2k8LXd4
Soldering iron: my own soldering iron is that bad that I wouldn't recommend it to you
There's warnings in bold on step 2 of the forum post saying that the CC2541 digital pin is not 5v tolerant, yet in your video you wired 5v arduino pins directly to the CC2541 without a level shifter. Aren't people gambling on destroying their modules doing that?
I do understand where your concern is coming from. The CC2541 module that I'm using is soldered onto a breakout board which handles the downstepping of the voltage. So there is no risk of breaking the module by overvoltage.
In fact most of these modules are soldered onto a breakout board so that you can hook up wires to it or use it on a breadboard. As far as I know all of those breakout boards do include a voltage regulator. Modules without the breakout board do look a little different from the one shown in this video.
The breakout boards with the 3.3v regulator let you power the module off 5v of course, but that's not what the issue is. You solder pins 7, 8 and 11, which are 3.3v pins and they go to D4, D5, D6 on the arduino, which are 5v pins.
Well you are actually right about that... I've always thought that the the main concern was the vcc pin.
I myself didn't put anymore research into the chip itself after seeing that it worked for me and a lot of other people. I'll have another look at the datasheet to confirm the warning on the forum thread.
After having a look at the datasheet I can confirm what you just told me...
The maximum operating voltage of 3.9V of any of the i/o pins is quite different from the 5V that the arduino should output according to the arduino spec sheet...
Well I hope that this short time overvoltage did not destroy any modules in the past. I will definitly add a warning or even upload a corrected version of this video in the future. Thanks for the hint.
MY MODULE IS DEAD AFTER FIRMWARE UPDATE. I used with arduino UNO. after uploading firmware the red led didnt lit up or even blink...
It is really a fantastic video. I wonder that why very less people liked it. it's helped me a lot. Thanks a ton.
I'm glad that I could help you. I always appreciate such friendly comments. They are huge motivation to keep producing such specialized niche videos.
Hi, could you please help me. I cant find the firmware binary file. The link is not working. I also checked on the forum, the link is removed from their. Could you please provide me the link to the firmware. thanks!
"No line ending" works for me. If I select Both NL & CR, it won't work. Thanks a lot!
Thank you for the guide, it worked. I did not use level shifter, just 2kOhm resistor between Arduino pins and BT board, in order to limit the current
Nice to hear of some positive comments as well. I feel a bit sorry for those that destroyed their devices on accident. I realized that what might seem not like a big loss to me might be a big loss of money for people in developing countries.
@@developandplay don't worry, I can understand your feeling, but I think you have no responsibility because people should THINK before simply repeating the actions done by others, not simply "copy-and-paste". Anyway, in my experience with this circuit as well as with other ones, usually as a quick & dirty solution, by placing current limiting resistors between a 5V output and a 3.3V input, allows to avoid destroying the circuit. Giving the fact that the voltage variation is 5-3.3 = 1.7V, by placing a resistor of 2kOhm, the current will be limited to max 1mA, which is acceptable in most cases.
@@developandplay Thanks for the video. Don't bother about developing countries, I believe 1.5$ is not that much even here in Russia.
Im getting this error, any help?
No chip detected!
Upload Failed!
File closed!
Comport closed!
solved the problem ?. the same happens to me
Worked perfectly on Arduino MEGA, thanks!
Did you used the FTDI converter or not?
Спасибо, помогло! Пробовал с конверторами уровней, не получалось, думал испортил блютуз. Thanks, helped! Tried it with the converters of the level failed.
thanks.. it working properly. unfortunately the LED on the HM10 module not blink when not connected to the device.
hi, and if the led at the end doesn't blink and get off ? what should i do ?
That's only the case if the flashing process wasn't successfull. But don't panic it can be repeated as often as you want to.
For me the process failed when I tried to press the jumper wires onto the module instead of soldering them. By soldering the wires I could create a stable connection and therefore solve the problem.
If you give me a few more details I will be able to help you even better.
By the way your username seems to be spanish. As I'm learning spanish are there any spanish RUclips channels you would recommend?
and same problem with me. :)
i repeated as often as i want and the result the led didn't blink and got low light. what should i do?
Did you find a solution?
So how can i flash it again ? i have the same problem that the LED is on a little and the AT commands arent working
Great!!! Works with ESP8266 too (only chaged the GPIOS)... Thanks!
@@developandplay to flash the CC2541.
@@jeanlife Great! Would you mind uploading you altered code to github? This might help others a ton.
@@developandplay Good idea! github.com/jeanniquini/CCLoader
Hi! Is it works with Arduino Nano? I try more times, the module not responses AT command after.?
Hi,
I tried your tutorial step by step, really great tutorial !
After i connected everything i ran the CCLoader.exe program on my CMD and it began running numbers. When it said "SUCCESS" the led on my cc41-a did not blink and no longer responds to AT-Commands...
What should i do?
Thank you
First I would suggest to unplug all wires except for the 3.3v and ground wires. That will allow you to check whether the flashing process really was succesfull.
If it turns out that the process failed don't panic it can be repeated as often as you want to.
Also I would advise you to doublecheck that your serial monitor is set to "no line ending".
I hope that any of these tips will do the trick...
@@developandplay I gave same problem as Iden Ben Moshe I got the promt for successful upload and everything but now my module is not responding to AT commands, I can see the name in mobile ble application it has been changed to HMSoft, I can connect with mobile terminal send and received data between mobile terminal and Arduino serial monitor. Only thing is its not responding anything to AT test command or any command..
please help meeee.
@@muhammadzeshan4090 Hi, did you found a solution for the problem? Cause I have the same
Can I do exactly what you did with may hm-11 and Arduino uni r3?
Yes the arduino nano and uno r3 use the same microcontroller.
I tried with both 5v->3v converter and without converter, 4 devices in total (2 kinds) all ended up with same issue that AT commends stopped working. Do I need a pullup/pulldown resistor after the update? After the update I'm able to connect and send commends from my phone to the device and I see them in serial which means that communication from CC2541 to arduino works correctly. It's just that the reverse connection either doesn't work or AT commends just stopped working.
I would be actually happy to deliver one of my devices to someone who was able to get this working (and can repeat that on my CC2541 boar) to exclude some potential problems (eg. chinese arduino nano board screwing the results which I think is most likely right now).
Your problem is probably that the line-endings for the fake module are different from those of the original ones. I remember having similar problems. Have you tried fidling around with different serial-communication formats?
developandplay hey I have the cc41-a which is a Hm-10 clone (I hope). I can detect the module on my phone by Bluetooth. But the AT command doesn’t work. I also have the arduino mega. Does this tutorial still work with the mega2650?
If i reprogram my hm10, is it possible to change the mac address too?
I got into a trouble. I bought 4 ble modules, but all of them same mac address
So in theory that could be possible as I couldn't find out whether TI has stored the MAC address in software or hardware. However, that would require a lot of work on your side as the new firmware does not do that. At least as far as I am aware of it...
Does anyone know if this would work on the cc2540 as well?
Servus to you too. Great tutorial. Does the HID function works with this module?
There seam to be some alternative firmwares on the internet that do support HID on this module. The standard hm10 firmware used in this video and installed on genuine hm10 modules does not support HID. So if you have an unused hm10 module and a lot of free time to flash and maybe troubleshoot the result I would say go for it. If you don't own the module already I would suggest buying a more expensive bluetooth module that comes with hid support built in...
Hope that helps.
I already converted the HC-05 to bluetooth HID relay and it works flawlessly, but now I need something better, with lower power consumption.
IanVanMcPlan I just read the readme file of the hid firmware for hm10 modules. There seem to be some known issues. If they don't matter to you as much go for it. You seem to already somewhat experienced...
@@developandplay where is the files for the hid firmware on cc2154/ hm10? Can you give a link, thanks
can you help me? I did all the things, checked the connections but when I put the command I still await response and the commands at is not responding and the led of module is continuously lit
can you help me with that?
Why would I want to load a new firmware? Is there something wrong with the one that is already installed? Thanks!
Yes the firmware on the fake modules has a smaller feature set. Additional it behaves differently so most tutorials you can find online won't work.
what Connection should be made with uno.. i saw @3:10 tx and Rx is also connected??
I only left tx and rx connected for convenience. Those connections are not mandotory. In fact they are not connected to anything on the other side.
I did it and now the module rejects my cellphone's connection, all the AT comands work and while i'm trying to connect with it with my cellphone the serial monitor says ok+connection lost . What can i do ?? Also the light no longer lights
That seems as if your module wasn't flashed correctly but it doesn't seem to be corrupted. Therefore I would simply try to flash it again.
What was the baud rate of the BLE module before flashing? My led is off after flashing only power wires are connected
The same as after flashing it(9600). That most definitely means that the process failed. Did you get to the point where it said "Upload succesfully"?
You simply have to repeat the flashing process until it works. It took me several attempts as well...
If you give me more detailed information (e.g. video) I might be able to give you a more specific trouble shooting guide...
can you please give me your contact email if possible fb id for contacting
I'd prever to not publish my email address. However you can send me a message under the about section of my channel (ruclips.net/user/developandplayabout).
Alternatively you can send my a message on my twitter profile (twitter.com/developandplay).
Could you please help me, I've done everything as you have explained, My Board supports 5v and after flashing the firmware The led Pin isn't blinking.. I was thinking because I use a Mac and I flash through a Virtual Machine, but later, after compiled CCLoader to Mac through gcc -o CCLoader main.c and flashing it again I've obtained no success.. ( Nothing is working ) .. Thank You. what I could be doing wrong?
Hmmm it's quite hard to tell. There are some other comments on this video where people faced a similar issue. It could be that your board is bricked but it also might just have failed the flashing process. Did you connect those pins with solder or just press then against the board? Without soldering for me the first attempts failed...
@@developandplay I Just have found somewhere on internet that some those faked boards after flashing will not have the blinking led, and also will not respond to AT commands. but still work.. For me I have to buy new boards again.. I'm trying to build something with Flutter for Android and IOS ..
@@durvalhenke I have the same problem after firmware update , at-command dont work, led dont blink and my phone dont find any bluetooth device but chip seem to be ok becouse i can still update firmware with success via ccLoader , and after tons of search throughout internet i dont find any solution for this, sadly i cant find even orginal firmware of this chinese crapy clone
what is the sign between .exe and cc ?
i've done the exact same steps except for unsing a mega 2560
but i'm getting this message:
Waiting for respond from Arduino...
No chip detected!
Upload Failed!
File closed!
Comport closed!
if anyone could help me with this problem
Did you use the ccloader for the mega? If I recall correctly the pin layout is different...
@@developandplay yes i used both ccloader.exe and another ccloader_x86_64.exe
but i'm not sure what you mean with different pin layout
@@KaitouHAX So you first have to program the arduino to then use the arduino to flash the software. For programming the arduino you have to use the appropriate code for the pin layout of the arduino that you are using...
@@developandplay i see what you mean but according to the pinout they should be in the correct places.
I get stuck at uploading the firmware, in CMD the process is stuck on Waiting response from Arduino
Connected all the wires properly and double schecked it
Help me
Have you resolved your problem? If not please provide me with more detail so that I can assist you...
Why you need the flash the HM-10 into the clone CC41? CC41 commands are not bad... or I am missing something?
master host For basic Bluetooth applications the cc41 will do just fine. So if your satisfied with the functionality of the cc41 don't even bother.
If you dig a little deeper the hm10 firmware offers way more commands/functionality.
However the main reason for me was that every toturial I could find was written for the hm10. By flashing the hm10 firmware I didn't have to check whether all of the commands worked on the cc41 as well.
I hope I could help you out...
OK got it.. thanks
The link to the firmware is not working
Does this support hid mode?
Hi, the link for the firmware is down. Can you upload it again? I just use the one in the github repository but didn't work.
Unfortunately not I personally don't own either the firmware or GitHub repo. So your best luck is to ask in the forum...
I did destroyed my module not use this procedure must be have a voltage level shifter!
Sorry for that. I already pinned the comment from someone that had the same problem... You might check if it is really broken or just bricked...If not I hope you can earn those 3 bucks quickly again...
WORking! Just adding this comment; Mine is clearly a clone of some sort; It works, but the old firmware needed CR and LF to work. This version code WILL NOT WORK if you send CR + LF after AT! It behaves different.
Great that I could help you.
Nice Bro & plz advice me .....how To make HM-10 BLE To Work As Bluetooth bLE midi ( GarageBand iOS app ) Bcz Hm-10 does not support Bluetooth over midi ....... so is thr any possibilities ??? By Flashing Hm-10 Firmware Or something like tht ??? Bcz Bluetooth BLE midi Supports 4.0 + Modules.... & Hm-10 Is also 4.0 Module ....... Plz Rply waiting for Ur advice 🤩
This looks pretty promising...
developandplay Plz rply Bro I need ur guidance 😒
@@sv0205 No need to get angry I was just trying to help out. I forgot to post the link however...
Here it goes github.com/hoiberg/bluetoothMidi
developandplay Tnx alot Bro.... link is vry hlpful i Hope 🤞 this will Wrk For Me.... Tnx 1nce again 🤘🏻🤩🤩🤩🤩🤩
@@sv0205 Great that I could help you!
Hello, very nice video. Is it possible to use the same technique to flash CC2541 chip on my own custom made PCB?
I would assume yes but you have to careful about using level shifters. Also you know your layout and board features best.mm
How did it go? We're you successful in flashing firmware to cc2541 chip in your custom PCB ? Even I'm planning to implement it
what is the default password for this module after upgrade?
000000
The firmware page is not opening .....please help me
I just checked it and it still works. They simply put even more trash and ads on it. Just be warned: there are even some fishing sites that open as a popup.
As I'm from Germany and our Copyright laws are incredibly strict I don't want to upload the file on sth like Google Drive myself. Sorry for the inconvenience.
ok thank you, i guess im from different country thats why , i had use proxy of Germany to download.
Great video, made it !!!!
Maneco Theloopmaster Thank you.
does anyone have an original chinese firmware to CC41-A by BOLUTEK manufacturer of this crapy chip
Würde das auch für ein HC06 Modul mit einem anderen Chip funktionieren
Nein das ist aufgrund des anderen chips nicht möglich. Der würde nämlich eine komplett andere Firmware benötigen. Warum möchtest du das überhaupt machen? Meines Wissens nach gibt es keine fake module vom hc06...
@@developandplay Hey nein ich dachte nur weil ich für mein Elektrisches Longboard ein Hc06 gekauft habe und ich firmware errors bekomme deswegen dachte ich update für das Modul
does it work on andriod oreo 8 after flashing the texas firmware?
I have not tried that yet but why wouldn't it? Is android oreo somewhat different than previous android versions?
developandplay yes it is more secure and doesn't work with fake ble modules
I'm sorry but LineageOS15/Android Oreo is not available as a stable version for my Oneplus One. So I can't test that. But I will definitely do so in the future.
Mahmoud Ragab Did you tried it? I'm facing the same problem with my fake hm10...
Welche Baudrate stellst du für eine Bluetooth Verbindung ein?
Ich verstehe deine Frage nicht ganz. Soweit ich weiß hat Bluetooth selbst keine Baudrate. Meinst du die Baudrate zur seriellen Kommunikation zwischen arduino und modul?
@@developandplay bei mir tritt das Problem auf das ich mit meinem Handy zwar das Bluetooth Modul finde mich aber nicht verbinden kann
Can I use it to flash the cc2640?
Sorry I don't think so. However you might check if there are other firmwares for that chip.
thank you so much
Abdussamed Gül I'm glad I could help you.
Servus!😆
I got a fake HM-10 from a trusted supplier. Anyway, it's fun to upload firmwares; however, the "Firmware as binary file" link IS BROKEN! Is there another site where it can be gotten?
Besides that, I'm struggling with following the instructable in Linux, but that's my problem. Now it's more important to get the .bin.
Thank you!!!
If it's a trusted supplier that should not happen. Getting a refund might be the better option.
In the forum they will probably have an updated link.
@@developandplay The supplier is 30 minutes away, and the module was really cheap. I just buy only one to make some tests. Anyway, I think I must let it know that he's selling a fake module in order to take some actions.
Regarding to the bin image, I found it in the Huamao web page.
Now I need to make ccloader to run under Linux =)
Gracias
Un placer.
great video...
My hm-10 led is blinking but firmware upload has failed
it shows following error...
Waiting for respond from Arduino...
No chip detected!
Upload Failed!
File closed!
Comport closed!
cant find cause... I'm trying with uno by powering 5v
also tried with 3.3 v pin connecting it to below reset but same error come
please help...
That error never occured to me. However if the upload fails at that stage it's not that big of a deal since your hm-10 wasn't flashed at all. Therefore it retained it's functionality.
I can only advise you to double check your connections. Also make sure it's the right module. For me only powering the module with 5v gave it enough juce to be operational.
okk thanks for reply sir
hola, no puedo descargar lo que esta en este enlace (Firmware como archivo binario: uptobox.com/l8vivxdf2qev) ya que fue borrado.
De igual manera, hice el procedimiento y mi modulo no funciono mas. que puede ser?
cargue varias veces el código: no enciende el led ni responde los comandos AT. AYUDA
@@luisaguero3292 El comentario primo abajo mi video has explanado como tu puedes usar un voltage shifter para mas securidad. Tu hay usado este?
Now how to do it on a Mac?
Buy a pc.
Got distracted by spam, please halp; require further instructions.
I'm sorry I would like to help you but I don't get what you are trying to say.
doe it work on board that have in build blutooth thank you here is the board i have romeo ble mini v2 wiki.dfrobot.com/Romeo_BLE_mini_V2.0_SKU_DFR0351
Hm it uses the CC2540 chip so I don't think it would be compatible. Besides why would you want to use the HM10 firmware?
Yo no one wants to explain how to program these devices, scared are you?
Lol what are trying to say?