Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming BLHeli with CleanFlight ON A MAC
#1
Oscar has a great tutorial on this on his blog: http://blog.oscarliang.net/flash-esc-via...flight-fc/

However, I have a Mac and although I followed a tutorial (youtube.com/watch?v=17b1gNLL2uc) that uses wine to run BLHeli, I didn't think it was possible to also use the pass-through feature of CleanFlight to program with BLHeli.  Well, it is!

If you haven't already set up wine to run BLHeli on your Mac, you will need to do that first.  Then briefly, it's as simple as adding a couple of com ports in your wine configuration.

You will need to know the serial ports that CleanFlight uses on your Mac (in my case cu.SLAB_USBtoUART and tty.SLAB_USBtoUART).  Then open terminal and go to dosdevices in your wine folder.  In the screen shot below, you can see that com1 and com2 are already linked to my USB esc programmer devices, so I just added com3 and com4 as shown.

EDIT: I've boxed the necessary commands in Terminal:  the "cd" command puts you in the correct subdirectory.  the "ln -s" commands create the actual com3 and com4 links to the appropriate serial devices.  Then in BLHeli, you will choose COM3 from the dropdown.  [The other commands (ls -l) just show a list of the current devices in that subdirectory.]

[Image: AxxaGwTl.jpg]

Now, with your FC plugged into the cable you use for CleanFlight, start BLHeli and select the proper interface type and com port (COM 3 in my case).

[Image: mvMrn4Vl.png]   [Image: YSqJixGl.png]

Next, click Connect and you should see that four ESCs are detected - the little white boxes at the bottom. (Four for me anyway.)

[Image: nxPkNqEl.png]

Then - VERY IMPORTANT: Plug in your flight battery (you will remove the propellers!).  [I really scratched my head before I realized I needed to power the ESCs.] Now, you are ready to click Read Setup.  You should be rewarded with the beautiful screen shot below.

[Image: avlXA8Ml.png]

Click OK and program away!  Good luck!
Scotty
Reply
Login to remove this ad | Register Here
#2
Nice tutorial Scotty, Thanks for sharing. I am sure this will come in handy for us Mac users, :-)
Reply
#3
I should mention that if you are using OS X El Capitan, and gave up on BLHeli because you couldn't get your little USB programmer to work (there is a way around that), that this method should work if you've got CleanFlight working on your Mac. At the point in the BLHeli wine setup where you create the links for the serial com ports, just use your CleanFlight ports and forget your little programmer. You don't really need to program the ESCs before you solder them in do you? Smile

No more borrowing your buddy's PC to program with BLHeli.... Use your Mac!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Trying to fix GHF411 - motor barely moves. No BLHeli chime romangpro 0 184 22-Aug-2022, 07:21 AM
Last Post: romangpro
  Newbie ESC signal programming Bootloader9800 2 354 15-Jul-2022, 07:33 AM
Last Post: kafie1980
  HSKRC ESC 45A 2-4S BLHeli-S DSHOT600 fra_gra 2 577 04-Jul-2022, 01:18 PM
Last Post: fra_gra
  Solved T-Motor F55A 4in1 --> 2 esc's not showing in BF and BLHeli RobinS 7 1,951 23-May-2021, 06:49 AM
Last Post: Kevin2112
  What's the best BLheli FW/Setting for fixed wing? GlidLov 3 3,768 20-Apr-2020, 10:50 PM
Last Post: voodoo614


Login to remove this ad | Register Here