ArduSub firmware update failing - SSL

I’m also having trouble getting the Pixhawk firmware update. Got the companion update to 0.0.29.

Getting this error on Pixhawk:

Downloading stable ArduSub firmware from https://firmware.ardupilot.org/Sub/stable/Pixhawk1/ardusub.apj
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Error downloading firmware! Do you have an internet connection? Try 'ping ardusub.com'
Downloading stable ArduSub firmware from https://firmware.ardupilot.org/Sub/stable/Pixhawk1/ardusub.apj
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Error downloading firmware! Do you have an internet connection? Try 'ping ardusub.com'

I can ping it ok.

Hi @wjwalker, this seems to be a new issue that’s caused by the SSL version on companion being too old to work properly with the ardusub firmware site. I’ve just made a pull request to our companion software to fix it, but that’s not yet merged in and released, and might not be until next week.

In the meantime, you can either

  • download the firmware on your computer (from the link companion was trying to use) and then upload it via the web interface,
  • directly connect your pixhawk to your computer running QGC and flash manually, or
  • go to the web terminal and run the two ‘workaround’ commands specified in my pull request, after which you should be able to flash firmware with the normal buttons

Ok, i got the firmware download.
My QGC 4.0.5 does not give me the same option that you show.
Selecting firmware displays blank line. Selecting advanced displays a button for Flash ChibiOS Bootloader. If it is selected i get command not supported.

Not a software person and don’t understand the web terminal workaround commands. Do i need to install VNC to remote login? Using Windows10.

The QGC flashing option is only available if you directly connect the Pixhawk to the topside computer (as in open the enclosure, unplug it from the companion computer, and instead plug it in to the computer running QGC)

The web terminal is part of the web interface provided by the companion computer. You should be able to access it at http://192.168.2.2:8088, click “Open Terminal” in the top right corner, and then paste the specified commands into the terminal that opens :slight_smile:

Eliot, used the Ardusub web app to choose file to upload and uploaded it successfully.
Now it shows the Ardusub version as 4.0.3 and in QGC have the option for auto motor detection.
I think i am set.
Thanks

1 Like

Stumbled there before i saw your reply.