Load firmware through Companion Computer ttyACM0

Is there a way to load an .elf file through a companion computer? I have it hooked up to the companion computer through the USB ttyACM0 port.

Hi, you can use the px4 uploader python script: https://github.com/PX4/Firmware/blob/master/Tools/px_uploader.py but not use the .elf file but the .px4 file that is generated in the same build directory. The python script takes the baud rates and the path to the firmware file as arguments.

1 Like

Awesome. That worked like a charm.