# Issues with flashing Zubax Babel & UAVCAN GUI Tool

**URL:** <https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642>\
**Category:** Cyphal & DroneCAN\
**Tags:** uavcan\
**Created:** [September 4, 2020, 7:28pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642 "2020-09-04T19:28:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvireshlumenier](https://forum.zubax.com/user_avatar/forum.zubax.com/dvireshlumenier/32/573_2.png) [@dvireshlumenier](https://forum.zubax.com/u/dvireshlumenier)\
**Post date:** [September 4, 2020, 7:28pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/1 "2020-09-04T19:28:49Z")

</div>

Hello,

I recently got a zubax babel, I am trying to flash firmware on to it, to make it usable. OS on my computer is Ubuntu 18.04,  
I have been following instructions on: [GitHub - Zubax/canface\_cf1: High performance CAN-USB/CAN-UART adapter + UAVCAN devboard · GitHub](https://github.com/Zubax/zubax_babel)

And the flashing process seems to be going on forever. I have this message saying "Ymodem sectors/kbytes sent: 97/12k " and this process does not seem to be ending. I left it overnight and this process did not./flash\_via\_serial\_bootloader.sh get completed. I have connected Babel to my computer using USB/Serial port. /dev/ttyACM0 and I am running flash\_via\_serial\_bootloader.sh script.

 ![Screenshot%20from%202020-09-04%2015-24-11](https://forum.zubax.com/uploads/default/original/1X/819f896d566541be1a1d1aadbedbb0016216f0c3.png)

 ![IMG_20200904_152629](https://forum.zubax.com/uploads/default/original/1X/cd869436a60dbcc22f1c078a624713dcefe00cd0.jpeg)

Another issue I am facing is with the UAVCAN gui tool. I have followed the instructions on: [GitHub - OpenCyphal-Garage/gui\_tool: Legacy cross-platform GUI application for UAVCAN/CAN v0 bus management and diagnostics. Does not support UAVCAN v1; for that, see Yukon. · GitHub](https://github.com/UAVCAN/gui_tool). it seems to have installed cleanly without throwing any errors. Bu when I execute the command uavcan\_gui\_tool, I get an error saying importlib\_metadata.PackageNotFoundError: No package metadata was found for uavcan-gui-tool.

 ![Screenshot%20from%202020-09-04%2015-24-28](https://forum.zubax.com/uploads/default/original/1X/d018e932bb813b6a10143ce18fa8feb3bd19aab9.png)

I have attached some screenshots and images of the issues I have been facing.

Can someone please help me out here?

---

<div class="post-metadata">

**Author:** ![pavel-kirienko](https://forum.zubax.com/user_avatar/forum.zubax.com/pavel-kirienko/32/180_2.png) [@pavel-kirienko](https://forum.zubax.com/u/pavel-kirienko)\
**Post date:** [September 4, 2020, 9:43pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/2 "2020-09-04T21:43:20Z")

</div>

1. Regarding the flashing issue: according to the logs you shared, you have modified either the bootloader, the uploader script, or both. We cannot provide support for your custom software for obvious reasons.

2. Re UAVCAN issue: I am unable to reproduce this. Can you please wipe the tool along with all its dependencies from your system, and then share the exact steps you have taken to install it, down to each executed command? You may have a damaged/malfunctioning Python on your system.

---

<div class="post-metadata">

**Author:** ![dvireshlumenier](https://forum.zubax.com/user_avatar/forum.zubax.com/dvireshlumenier/32/573_2.png) [@dvireshlumenier](https://forum.zubax.com/u/dvireshlumenier)\
**Post date:** [September 8, 2020, 2:18pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/3 "2020-09-08T14:18:29Z")

</div>

Hello Pavel,

Thank you so much for your response. For the response 1, in main.cpp , it looks for gcc version 6.3.1. I am on ubuntu 18 and unable to find the link to download gcc 6.3.1., I currently have gcc 6.5 installed on my computer. I got that error, because I commented the line where it was checking for the gcc version. But, I think that broke my code. Is there any other version of code available which uses later versions of gcc? Or can you please provide me links to where I can find gcc 6.3.1?

[GitHub - Zubax/zubax\_babel: High performance CAN-USB/CAN-UART adapter + UAVCAN devboard](https://github.com/Zubax/zubax_babel) is the repo I trying to use to flash my zubax bable via usb.

Thank you,

Viresh Duvvuri

---

<div class="post-metadata">

**Author:** ![dvireshlumenier](https://forum.zubax.com/user_avatar/forum.zubax.com/dvireshlumenier/32/573_2.png) [@dvireshlumenier](https://forum.zubax.com/u/dvireshlumenier)\
**Post date:** [September 9, 2020, 2:50pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/4 "2020-09-09T14:50:32Z")

</div>

Hello,

Just wanted to follow-up on my previous post. Thank you.

---

<div class="post-metadata">

**Author:** ![dvireshlumenier](https://forum.zubax.com/user_avatar/forum.zubax.com/dvireshlumenier/32/573_2.png) [@dvireshlumenier](https://forum.zubax.com/u/dvireshlumenier)\
**Post date:** [September 9, 2020, 6:33pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/5 "2020-09-09T18:33:16Z")

</div>

Hello,

I tried flashing Zubax Bable, using the virtual linux machine - bistromathic, but it again seems to be stuck in a loop. I did not change anything in the repo this time. I built the repo and then I am trying to flash it with the command firmware/zubax\_chibios/tools/flash\_via\_serial\_bootloader.sh . The bytes are getting transferred to the bootloader, but it seems to be taking forever. I have attached the screenshot below:

 ![Screenshot_20200909_211722](https://forum.zubax.com/uploads/default/original/1X/5ea8216e95eedf1f83a47f577bc8e1975bd30782.png)

I would really appreciate if someone could help me solve this issue.

Thank you,

Viresh Duvvuri

---

<div class="post-metadata">

**Author:** ![pavel-kirienko](https://forum.zubax.com/user_avatar/forum.zubax.com/pavel-kirienko/32/180_2.png) [@pavel-kirienko](https://forum.zubax.com/u/pavel-kirienko)\
**Post date:** [September 14, 2020, 8:33pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/6 "2020-09-14T20:33:27Z")

</div>

> [@dvireshlumenier](#):
>
> Thank you so much for your response. For the response 1, in main.cpp , it looks for gcc version 6.3.1. I am on ubuntu 18 and unable to find the link to download gcc 6.3.1., I currently have gcc 6.5 installed on my computer. I got that error, because I commented the line where it was checking for the gcc version. But, I think that broke my code. Is there any other version of code available which uses later versions of gcc? Or can you please provide me links to where I can find gcc 6.3.1?

You can download any version from [Downloads | GNU Arm Embedded Toolchain Downloads – Arm Developer](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads)

To set it up, follow [https://kb.zubax.com/x/NoEh](https://kb.zubax.com/x/NoEh)

> [@dvireshlumenier](#):
>
> I tried flashing Zubax Bable, using the virtual linux machine - bistromathic, but it again seems to be stuck in a loop. I did not change anything in the repo this time. I built the repo and then I am trying to flash it with the command firmware/zubax\_chibios/tools/flash\_via\_serial\_bootloader.sh . The bytes are getting transferred to the bootloader, but it seems to be taking forever.

You are using the upload script incorrectly. Run it without arguments to see the correct usage (the first argument should be the firmware file, not the port).

---

<div class="post-metadata">

**Author:** ![dvireshlumenier](https://forum.zubax.com/user_avatar/forum.zubax.com/dvireshlumenier/32/573_2.png) [@dvireshlumenier](https://forum.zubax.com/u/dvireshlumenier)\
**Post date:** [September 14, 2020, 11:25pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/7 "2020-09-14T23:25:02Z")

</div>

Thank you so much Pavel. It all works now.

---

<div class="post-metadata">

**Author:** ![nickp](https://forum.zubax.com/letter_avatar_proxy/v4/letter/n/e79b87/32.png) [@nickp](https://forum.zubax.com/u/nickp)\
**Post date:** [January 25, 2021, 7:49am UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/8 "2021-01-25T07:49:19Z")

</div>

I have just started working with a couple of babels. When I connect them via usb there are no lights and no usb devices are enumerated (such as a usb-serial interface). Is this the expected behaviour?

---

<div class="post-metadata">

**Author:** ![nickp](https://forum.zubax.com/letter_avatar_proxy/v4/letter/n/e79b87/32.png) [@nickp](https://forum.zubax.com/u/nickp)\
**Post date:** [January 25, 2021, 1:36pm UTC](https://forum.zubax.com/t/issues-with-flashing-zubax-babel-uavcan-gui-tool/1642/9 "2021-01-25T13:36:24Z")

</div>

Ah - just found one of the cables they shipped with was bad. Should be back on track now 🙂
