LibrePilot Forum

General Category => General Discussion => Topic started by: arturios on October 27, 2015, 03:01:38 pm

Title: No USB
Post by: arturios on October 27, 2015, 03:01:38 pm
Hi Guys

Just installed LibrePilot on my windows 10 and tried to connect my CC3D FC. The thing is there are no options for USB in the connections dropdown. Anything I've missed?
Title: Re: No USB
Post by: f5soh on October 27, 2015, 05:18:06 pm
Hi,

Did the connexion worked before ?
Do you heard sound when you plug device ?

What appends if you do :
- hit Rescue button in Firmware tab
- connect board
Title: Re: No USB
Post by: TheOtherCliff on October 27, 2015, 06:25:18 pm
Did you have something besides OP firmware on it?  If you did, you will need to do an SBL procedure to write the LP bootloader on it.
Title: Re: No USB
Post by: arturios on October 27, 2015, 06:35:20 pm
It was working before I installed LibrePilot on the Mac... After updating it, the green light has remained static will not connect even though I can hear usual sounds when I connect USB. Swapped to Windows and no connection. Rescue just times out. Looks like I will have to find my FTDI and rewrite the bootloader. :(
Title: Re: No USB
Post by: f5soh on October 27, 2015, 07:54:59 pm
Green led static looks normal because connected to power.

How about the blue one (Status)?
Title: Re: No USB
Post by: arturios on October 28, 2015, 11:12:27 am
Green led static looks normal because connected to power.

How about the blue one (Status)?

The blue one is solid too
Title: Re: No USB
Post by: f5soh on October 28, 2015, 12:58:10 pm
Blue led should be blinking fast while boot
Title: Re: No USB
Post by: arturios on October 28, 2015, 02:50:17 pm
Blue led should be blinking fast while boot

Blue light blinks very slowly https://youtu.be/IUEowLRtXyw
Title: Re: No USB
Post by: Homebrew on October 28, 2015, 02:53:35 pm
Try this
1) Control Panel -> Device Manager
2) Expand "Universal Serial Bus controllers"
3) Most likely you will have one or more"USB Composite Device"
4) Right click -> Properties each "USB Composite Device" listed and note its "Location", each has a unique location.
5) Plug in CC3D, do not launch GCS.
6) You now have one new "USB Composite Device", Identity which one is the new one by Right click -> Properties
7) Uninstall this new "USB Composite Device" ie your CC3D by Right click -> Uninstall
8) Unplug CC3D from USB Port
9) Plug in CC3D and let windows reinstall driver.
10) Launch GCS, all should be good now.
Title: Re: No USB
Post by: f5soh on October 28, 2015, 02:57:54 pm
With slow fading blue led looks like you are in bootloader mode and no firmware loaded.
Title: Re: No USB
Post by: arturios on October 28, 2015, 03:20:28 pm
Try this
1) Control Panel -> Device Manager
2) Expand "Universal Serial Bus controllers"
3) Most likely you will have one or more"USB Composite Device"
4) Right click -> Properties each "USB Composite Device" listed and note its "Location", each has a unique location.
5) Plug in CC3D, do not launch GCS.
6) You now have one new "USB Composite Device", Identity which one is the new one by Right click -> Properties
7) Uninstall this new "USB Composite Device" ie your CC3D by Right click -> Uninstall
8) Unplug CC3D from USB Port
9) Plug in CC3D and let windows reinstall driver.
10) Launch GCS, all should be good now.

Already been down that route... Just gone back to the Mac and same thing - not being recognised!

With slow fading blue led looks like you are in bootloader mode and no firmware loaded.

Looking like the most obvious verdict... It's how to get out of it is the problem.

This FC was meant to be going into an acro quad I'm working on.
Title: Re: No USB
Post by: f5soh on October 28, 2015, 03:55:21 pm
Maybe :

- Disconnect board
- Hit Upgrade&Erase button
- Connect board
Title: Re: No USB
Post by: arturios on October 28, 2015, 04:10:45 pm
Maybe :

- Disconnect board
- Hit Upgrade&Erase button
- Connect board


Just tried that and... It worked! :) . Can connect on both OS platforms now. Was that simple!

Thanks for your help  ;D
Title: Re: No USB
Post by: f5soh on October 28, 2015, 06:11:32 pm
Hummm you miss that on a previous post :P

The tip is disconnect before hit button

Finally solved  ;D
Title: Re: No USB
Post by: arturios on October 29, 2015, 12:59:44 am
 ;D
Title: Re: No USB
Post by: pulser13 on November 16, 2015, 07:46:45 pm
Hi everybody!
I have quite the same situation: I had cc3d atom flashed with openpilot SW. When I updated it with librepilot SW, process was interrupted (disconnected USB ). Now I have only green LED lit on the board.

I have tried Resque and Upgrade procedure with connection before and after pushing the buttons. With no effect. Windows shows me "devise not recognized". OS X - no USB port open
However, with "STMicroelectronics Flash loader Demo" with UART FTDI board I can flash "Cleanflight" SW and it works.
What can I do with it? Anybody have bootloader file in HEX?
 
Title: Re: No USB
Post by: Mateusz on November 16, 2015, 08:03:35 pm
Hi everybody!
I have quite the same situation: I had cc3d atom flashed with openpilot SW. When I updated it with librepilot SW, process was interrupted (disconnected USB ). Now I have only green LED lit on the board.

I have tried Resque and Upgrade procedure with connection before and after pushing the buttons. With no effect. Windows shows me "devise not recognized". OS X - no USB port open
However, with "STMicroelectronics Flash loader Demo" with UART FTDI board I can flash "Cleanflight" SW and it works.
What can I do with it? Anybody have bootloader file in HEX?

There is a firmware when you build librepilot
Code: [Select]
~/librepilot$ ls build/firmware/
bl_coptercontrol    bu_discoveryf4bare  ef_oplinkmini       fw_osd
bl_discoveryf4bare  bu_oplinkmini       ef_osd              fw_revolution
bl_gpsplatinum      bu_osd              ef_revolution       fw_revonano
bl_oplinkmini       bu_revolution       ef_revonano         fw_revoproto
bl_osd              bu_revonano         ef_revoproto        fw_simposix
bl_revolution       bu_revoproto        fw_coptercontrol    uavobjects
bl_revonano         ef_coptercontrol    fw_discoveryf4bare
bl_revoproto        ef_discoveryf4bare  fw_gpsplatinum
bu_coptercontrol    ef_gpsplatinum      fw_oplinkmini

Title: Re: No USB
Post by: TheOtherCliff on November 16, 2015, 08:56:59 pm
If you were just doing a normal upgrade, you were just updating normal firmware and not bootloader.  If that is the case, then you only have corrupt normal firmware.

Just do a standard Rescue operation beginning with board unplugged.  Press Firmware -> Rescue button, then plug in board in USB, then you can flash, etc.
Title: Re: No USB
Post by: f5soh on November 16, 2015, 09:02:28 pm
If Upgrade/erase button before connecting board do not work, you should update bootloader first using STM Flash loader.

Check procedure and BL file attached.
Title: Re: No USB
Post by: pulser13 on November 16, 2015, 10:46:40 pm
Upgrade/erase button before connecting board do not work...........

Check procedure and BL file attached.
I made Flash bootloader procedure as described in the attached file, thank you. Bootloader flashed successfully, that's it  :( .
When I reconnect cc3d controller blue LED does not lit and other actions with Upgrade/erase buttons do not work.
In the Windows device manager -device descriptor request failed.

Is it possible to flash with FTDI cable a full firmware file? If "yes"- do you have it?
Title: Re: No USB
Post by: f5soh on November 16, 2015, 10:49:01 pm
yes, try file attached :
Title: Re: No USB
Post by: pulser13 on November 16, 2015, 11:16:16 pm
Thank you. It also flashed with no errors, but blue led does not lit after reconnect.
May be something wrong with board.. or with my hands  :). But once again, when I flash the controller with cleanflight_cc3d.hex blue led is slowly flashing.
Just in case- should I flash full firmware with start address 8000000 as bootloader?
Title: Re: No USB
Post by: f5soh on November 16, 2015, 11:30:42 pm
Strange.. still no communication when you hit Upgrade button and after connect board?

Start address looks fine

Title: Re: No USB
Post by: pulser13 on November 17, 2015, 06:42:53 am
Alas - no.
And the last point - When I flash cleanflight SW wit BIN file bleu led does not lit, but when with HEX it is works. Of cause I choice the correct extension when download the files.
My steps:
1. Connect FTDI with CC3D
2. Connect SBL pads
3. Connect USB FTDI with PC.
4.Remove SBL connection
5 Start STM program - choice the port- next-next-next-erase all(successful) -back- download from file -choise ef_coptercontrol.bin-next(successful)
6. reconnect USB - no blue led
7 . disconnect USB-Start GCS-firmware-push Rescue- Connect USB-Timed out  :(
8.Disconnect USB-push Update Erase-connect USB- timed out  :(
Title: Re: No USB
Post by: f5soh on November 17, 2015, 07:29:45 am
Here is another page with procedure, looks the same...
http://www.southquay3d.com/index.php?route=news/article&news_id=9

So no blue led blinking at all ?
Try files attached, watchdog is disabled.
Title: Re: No USB
Post by: pulser13 on November 17, 2015, 02:26:42 pm
No blue at all with all files you sent me.
Anyway thank you. Will buy a new board.
I forgot to say cleanlflight works only via FTDI cable, USB also does not worked.
Title: Re: No USB
Post by: pulser13 on November 18, 2015, 08:11:30 pm
Problem solved!
 It was contact issue. I heat the board with hot air gun. Blue led starts blink. After I started Update/Erase and connect the board to PC. Now everything is OK, except  chanel 6 . I thing I overheat the board and lose the contact. Anybody knows which controller pin going to 470 Ohm resistor to CH6 receiver? Sorry for offtop
Title: Re: No USB
Post by: f5soh on November 18, 2015, 09:08:43 pm
Cool :)

here is the schematic :
https://bitbucket.org/librepilot/librepilot/raw/ac76fc768f235a7548dacd698d8e9b218e3f9820/hardware/Production/CopterControl%203D/CopterControl%203D%20Schematic.pdf
Title: Re: No USB
Post by: JaeMelo on December 19, 2015, 12:51:31 pm
Hi everybody!
I have quite the same situation: I had cc3d atom flashed with openpilot SW. When I updated it with librepilot SW, process was interrupted (disconnected USB ). Now I have only green LED lit on the board.

I have tried Resque and Upgrade procedure with connection before and after pushing the buttons. With no effect. Windows shows me "devise not recognized". OS X - no USB port open
However, with "STMicroelectronics Flash loader Demo" with UART FTDI board I can flash "Cleanflight" SW and it works.
What can I do with it? Anybody have bootloader file in HEX?

There is a firmware when you build librepilot
Code: [Select]
~/librepilot$ ls build/firmware/
bl_coptercontrol    bu_discoveryf4bare  ef_oplinkmini       fw_osd
bl_discoveryf4bare  bu_oplinkmini       ef_osd              fw_revolution
bl_gpsplatinum      bu_osd              ef_revolution       fw_revonano
bl_oplinkmini       bu_revolution       ef_revonano         fw_revoproto
bl_osd              bu_revonano         ef_revoproto        fw_simposix
bl_revolution       bu_revoproto        fw_coptercontrol    uavobjects
bl_revonano         ef_coptercontrol    fw_discoveryf4bare
bl_revoproto        ef_discoveryf4bare  fw_gpsplatinum
bu_coptercontrol    ef_gpsplatinum      fw_oplinkmini

  • fw is the firmware alone
  • ef is entire flash bootloader+firmware
  • bl is the bootloader alone
  • bu is the bootloader updater that is in opfw file, this can be flashed from GCS and does not require soldering SBL pads like for all bin files

Any idea where exactly can I get a copy of all these files?!
Title: Re: No USB
Post by: f5soh on December 19, 2015, 01:11:48 pm
This files are available when you compile Gcs/firmware from sources
https://librepilot.atlassian.net/wiki/display/LPDOC/Developer+Manual

Witch files / board you need ?

Title: Re: No USB
Post by: f5soh on December 19, 2015, 01:28:37 pm
Here is the archive with all 15.09 release firmwares:
Title: Re: No USB
Post by: JaeMelo on December 21, 2015, 03:40:06 pm
I was interested in the bin and ef files for the revo and oplink mini... I plan on assembling a few from scratch and would love to have them for when they need to be flashed.
Title: Re: No USB
Post by: hwh on December 21, 2015, 03:58:56 pm
There's a typo in that url, it's actually https://librepilot.atlassian.net/wiki/display/LPDOC/Downloads
Title: Re: No USB
Post by: ezydrones on December 29, 2015, 10:19:37 pm
With slow fading blue led looks like you are in bootloader mode and no firmware loaded.
Hello,
i have just loaded Libre and connected my cc3d, have the same slow blue blink with green on,
have no idea how to load the firmware?
please help or direct me to where i might get info or help
tnx
Title: Re: No USB
Post by: f5soh on December 30, 2015, 01:17:54 am
Try:

- Disconnect board
- Hit Upgrade&Erase button
- Connect board

https://librepilot.atlassian.net/wiki/display/LPDOC/Firmware+Tab
https://librepilot.atlassian.net/wiki/display/LPDOC/Firmware+Rescue
Title: Re: No USB
Post by: JamesPal on February 02, 2016, 11:29:52 pm
One more thing for stubborn USB drivers, once you replace the USB driver and windows still will not recognize te device, try rebooting windows with the USB device plugged in.
Title: Re: No USB
Post by: EduardoPorto on June 28, 2017, 02:26:06 am
Maybe :

- Disconnect board
- Hit Upgrade&Erase button
- Connect board


Just tried that and... It worked! :) . Can connect on both OS platforms now. Was that simple!

Thanks for your help  ;D


It works for me!
Thank you for feedback and help aswell :D