# Issue with upgrading firmware of herelink over usb

**URL:** <https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494>\
**Category:** HereLink\
**Created:** [1 June 2021 16:06 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494 "2021-06-01T16:06:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dronemaster](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dronemaster](https://discuss.cubepilot.org/u/dronemaster)\
**Post date:** [1 June 2021 16:06 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494/1 "2021-06-01T16:06:02Z")

</div>

I have a new herelink, and it is needing a Usb firmware upgrade, but I download the upgrade file cmd line tool for firmware update from the current docs, (for mac), and it keeps spitting out this error:

Last login: Tue Jun 1 08:46:44 on ttys000

The default interactive shell is now zsh.  
To update your account to use zsh, please run `chsh -s /bin/zsh`.  
For more details, please visit [https://support.apple.com/kb/HT208050](https://support.apple.com/kb/HT208050).  
/Users/solomonsinger/Downloads/flasher\_mac ; exit;  
Solomons-MacBook-Pro:~ solomonsinger$ /Users/solomonsinger/Downloads/flasher\_mac ; exit;  
Looking for Device…  
Found Unit Type: remoteunit

Downloading required package…  
Traceback (most recent call last):  
File “urlgrabber/grabber.py”, line 1583, in \_do\_perform  
pycurl.error: (77, ‘error setting certificate verify locations: CAfile: /usr/local/etc/openssl@1.1/cert.pem CApath: /usr/local/etc/openssl@1.1/certs’)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “flasher.py”, line 265, in   
File “flasher.py”, line 73, in download\_package  
File “urlgrabber/grabber.py”, line 828, in urlread  
File “urlgrabber/grabber.py”, line 1298, in urlread  
File “urlgrabber/grabber.py”, line 1170, in \_retry  
File “urlgrabber/grabber.py”, line 1148, in \_retry  
File “urlgrabber/grabber.py”, line 1281, in retryfunc  
File “urlgrabber/grabber.py”, line 1346, in **init**  
File “urlgrabber/grabber.py”, line 1695, in \_do\_open  
File “urlgrabber/grabber.py”, line 1833, in \_do\_grab  
File “urlgrabber/grabber.py”, line 1829, in \_do\_grab  
File “urlgrabber/grabber.py”, line 1678, in \_do\_perform  
urlgrabber.grabber.URLGrabError: [Errno 14] curl#77 - “error setting certificate verify locations: CAfile: /usr/local/etc/openssl@1.1/cert.pem CApath: /usr/local/etc/openssl@1.1/certs”  
[5156] Failed to execute script flasher  
logout  
Saving session…  
…copying shared history…  
…saving history…truncating history files…  
…completed.

[Process completed]

This error happens for both air unit and remote. please help! I cannot get the firmware updated, as it seems to have a unauthenticated or error setting certificate. i have downloaded it several times to see if it fixes anything, but it is the same.

I look forward to your reply!

Solomon, UAS Technology Instructor, Lane Community College

---

<div class="post-metadata">

**Author:** ![Alvin](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/alvin/32/1000_2.png) [@Alvin](https://discuss.cubepilot.org/u/Alvin)\
**Post date:** [2 June 2021 01:47 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494/2 "2021-06-02T01:47:37Z")

</div>

Have you unzipped the folder? Did you execute the executable without unzipping it?

---

<div class="post-metadata">

**Author:** ![dronemaster](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dronemaster](https://discuss.cubepilot.org/u/dronemaster)\
**Post date:** [2 June 2021 02:01 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494/3 "2021-06-02T02:01:33Z")

</div>

Yes, I unzipped the executable, as you can see with the posted text, it was running, searching for devices, and successfully connected to the devices. But then it runs into a problem with the executable when it tries to run line 77 of the executable… ‘error setting certificate verify locations: CAfile: /usr/local/etc/openssl@1.1/cert.pem CApath: /usr/local/etc/openssl@1.1/certs’

---

<div class="post-metadata">

**Author:** ![Alvin](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/alvin/32/1000_2.png) [@Alvin](https://discuss.cubepilot.org/u/Alvin)\
**Post date:** [2 June 2021 06:57 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494/4 "2021-06-02T06:57:03Z")

</div>

That looks like a pc issue. Please try on another computer.

---

<div class="post-metadata">

**Author:** ![dronemaster](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@dronemaster](https://discuss.cubepilot.org/u/dronemaster)\
**Post date:** [4 June 2021 21:33 UTC](https://discuss.cubepilot.org/t/issue-with-upgrading-firmware-of-herelink-over-usb/6494/5 "2021-06-04T21:33:20Z")

</div>

I tried a windows and it worked fine. Perhaps there was something with my computer, or the mac version of the bootloader executable. I got it solved though. Thanks!
