PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.56k stars 13.54k forks source link

[Bug] Dronecan Firmware Updating is Broken on Main #23727

Closed AlexKlimaj closed 1 month ago

AlexKlimaj commented 1 month ago

Describe the bug

Firmware updating on 1.15 works but is broken on main after the Dronecan submodule update. Nodes fail the update then the update restarts and fails again indefinitely.

Online nodes (Node ID, Health, Mode):
         71 CRIT       SW_UPD

uavcan: cycle time: 71419 events, 4965837us elapsed, 69.53us avg, min 10us max 72605us 488.892us rms
uavcan: cycle interval: 71419 events, 2893.50us avg, min 19us max 266795us 2696.179us rms
nsh> INFO  [uavcan:71:Boot] Es
ERROR [uavcan:71:Boot] Pf
INFO  [uavcan:71:Boot] Es
ERROR [uavcan:71:Boot] Pf
INFO  [uavcan:71:Boot] Es

To Reproduce

No response

Expected behavior

No response

Screenshot / Media

No response

Flight Log

No response

Software Version

No response

Flight controller

No response

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

No response

julianoes commented 1 month ago

This is updating via the PX4 SD card? I wasn't aware of that method and always used the gui tool with a USB to CAN tool.

AlexKlimaj commented 1 month ago

The main way I've always been updating firmware over CAN has been from the PX4 SD card. Most customers use this method as well since not many people have USB to CAN adapters.

julianoes commented 1 month ago

Makes sense. I will have to test this and fix it.

DronecodeBot commented 1 month ago

This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/px4-sync-q-a-oct-09-2024/41789/1