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.
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.
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.
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?
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:
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).
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?