Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Bootloader: cope with very high latency DroneCAN links #28948

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Tools/AP_Bootloader/can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ static void handle_file_read_response(CanardInstance* ins, CanardRxTransfer* tra
}
}
if (!found) {
// not a current transfer
// not a current transfer, we may be getting long delays
fw_update.rtt_ms = MIN(3000, fw_update.rtt_ms+250);
return;
}
if (uavcan_protocol_file_ReadResponse_decode(transfer, &fw_update.reads[idx].pkt)) {
Expand Down
Binary file modified Tools/bootloaders/AR-F407SmartBat_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/AR-F407SmartBat_bl.elf
Binary file not shown.
2,496 changes: 1,255 additions & 1,241 deletions Tools/bootloaders/AR-F407SmartBat_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/ARK_CANNODE_bl.bin
Binary file not shown.
2,574 changes: 1,291 additions & 1,283 deletions Tools/bootloaders/ARK_CANNODE_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/ARK_GPS_bl.bin
Binary file not shown.
2,361 changes: 1,184 additions & 1,177 deletions Tools/bootloaders/ARK_GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/ARK_RTK_GPS_bl.bin
Binary file not shown.
2,362 changes: 1,185 additions & 1,177 deletions Tools/bootloaders/ARK_RTK_GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/AeroFox-Airspeed-DLVR_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/AeroFox-Airspeed_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/AeroFox-GNSS_F9P_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/AeroFox-PMU_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/BirdCANdy_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/BirdCANdy_bl.elf
Binary file not shown.
2,367 changes: 1,187 additions & 1,180 deletions Tools/bootloaders/BirdCANdy_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/BotBloxDroneNet_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/C-RTK2-HP_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CUAV_GPS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CUAV_GPS_bl.elf
Binary file not shown.
2,374 changes: 1,191 additions & 1,183 deletions Tools/bootloaders/CUAV_GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CarbonixF405_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CarbonixL496_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/CubeNode-ETH_bl.bin
Binary file not shown.
12,360 changes: 6,204 additions & 6,156 deletions Tools/bootloaders/CubeNode-ETH_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeNode_bl.bin
Binary file not shown.
3,961 changes: 1,981 additions & 1,980 deletions Tools/bootloaders/CubeNode_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeOrange-periph-heavy_bl.bin
Binary file not shown.
3,665 changes: 1,839 additions & 1,826 deletions Tools/bootloaders/CubeOrange-periph-heavy_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeOrange-periph_bl.bin
Binary file not shown.
4,051 changes: 2,032 additions & 2,019 deletions Tools/bootloaders/CubeOrange-periph_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/CubeRedPrimary-PPPGW_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/FreeflyRTK_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/FreeflyRTK_bl.elf
Binary file not shown.
3,223 changes: 1,615 additions & 1,608 deletions Tools/bootloaders/FreeflyRTK_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/G4-ESC_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Here4AP_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Here4FC_bl.bin
Binary file not shown.
2,841 changes: 1,427 additions & 1,414 deletions Tools/bootloaders/Here4FC_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Hitec-Airspeed_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Hitec-Airspeed_bl.elf
Binary file not shown.
2,253 changes: 1,137 additions & 1,116 deletions Tools/bootloaders/Hitec-Airspeed_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/HitecMosaic_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HitecMosaic_bl.elf
Binary file not shown.
2,251 changes: 1,129 additions & 1,122 deletions Tools/bootloaders/HitecMosaic_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/HolybroF4_PMU_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HolybroG4_Airspeed_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HolybroG4_Compass_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HolybroG4_GPS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HolybroG4_GPS_bl.elf
Binary file not shown.
2,625 changes: 1,324 additions & 1,301 deletions Tools/bootloaders/HolybroG4_GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/HolybroGPS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/HolybroGPS_bl.elf
Binary file not shown.
2,602 changes: 1,305 additions & 1,297 deletions Tools/bootloaders/HolybroGPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MFE_POS3_CAN_bl.bin
100644 → 100755
Binary file not shown.
Binary file modified Tools/bootloaders/MatekG474-DShot_bl.bin
Binary file not shown.
2,294 changes: 1,154 additions & 1,140 deletions Tools/bootloaders/MatekG474-DShot_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MatekG474-Periph_bl.bin
Binary file not shown.
2,294 changes: 1,154 additions & 1,140 deletions Tools/bootloaders/MatekG474-Periph_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MatekL431-ADSB_bl.bin
Binary file not shown.
2,123 changes: 1,065 additions & 1,058 deletions Tools/bootloaders/MatekL431-ADSB_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MatekL431-APDTelem_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-Airspeed_bl.bin
Binary file not shown.
2,124 changes: 1,066 additions & 1,058 deletions Tools/bootloaders/MatekL431-Airspeed_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MatekL431-BattMon_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-DShot_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-EFI_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-GPS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-MagHiRes_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-Periph_bl.bin
Binary file not shown.
2,124 changes: 1,066 additions & 1,058 deletions Tools/bootloaders/MatekL431-Periph_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/MatekL431-Proximity_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-RC_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-Rangefinder_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-Serial_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/MatekL431-bdshot_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Nucleo-G491_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Nucleo-G491_bl.elf
Binary file not shown.
2,250 changes: 1,136 additions & 1,114 deletions Tools/bootloaders/Nucleo-G491_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Nucleo-L496_bl.bin
Binary file not shown.
3,540 changes: 1,778 additions & 1,762 deletions Tools/bootloaders/Nucleo-L496_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Pixhawk6X-PPPGW_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Pixracer-periph_bl.bin
Binary file not shown.
3,426 changes: 1,717 additions & 1,709 deletions Tools/bootloaders/Pixracer-periph_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Sierra-L431_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Sierra-PrecisionPoint_bl.bin
Binary file not shown.
3,408 changes: 1,708 additions & 1,700 deletions Tools/bootloaders/Sierra-PrecisionPoint_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Sierra-TrueNavIC_bl.bin
Binary file not shown.
2,126 changes: 1,067 additions & 1,059 deletions Tools/bootloaders/Sierra-TrueNavIC_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Sierra-TrueNavPro-G4_bl.bin
Binary file not shown.
2,253 changes: 1,137 additions & 1,116 deletions Tools/bootloaders/Sierra-TrueNavPro-G4_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/Sierra-TrueNavPro_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Sierra-TrueNorth_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/Sierra-TrueSpeed_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/ZubaxGNSS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/ZubaxGNSS_bl.elf
Binary file not shown.
2,040 changes: 1,023 additions & 1,017 deletions Tools/bootloaders/ZubaxGNSS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-ADSB_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f103-ADSB_bl.elf
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-ADSB_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-Airspeed_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f103-Airspeed_bl.elf
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-Airspeed_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-GPS_bl.bin
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-HWESC_bl.bin
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-HWESC_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-QiotekPeriph_bl.bin
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-QiotekPeriph_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-RangeFinder_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f103-RangeFinder_bl.elf
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-RangeFinder_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f103-Trigger_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f103-Trigger_bl.elf
Binary file not shown.
1,586 changes: 798 additions & 788 deletions Tools/bootloaders/f103-Trigger_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-GPS_bl.bin
Binary file not shown.
2,250 changes: 1,129 additions & 1,121 deletions Tools/bootloaders/f303-GPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-HWESC_bl.bin
Binary file not shown.
2,249 changes: 1,128 additions & 1,121 deletions Tools/bootloaders/f303-HWESC_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-M10025_bl.bin
Binary file not shown.
2,249 changes: 1,128 additions & 1,121 deletions Tools/bootloaders/f303-M10025_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-M10070_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f303-M10070_bl.elf
Binary file not shown.
2,249 changes: 1,128 additions & 1,121 deletions Tools/bootloaders/f303-M10070_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-MatekGPS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f303-MatekGPS_bl.elf
Binary file not shown.
2,250 changes: 1,129 additions & 1,121 deletions Tools/bootloaders/f303-MatekGPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f303-PWM_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f303-TempSensor_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f303-Universal_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/f303-Universal_bl.elf
Binary file not shown.
2,250 changes: 1,129 additions & 1,121 deletions Tools/bootloaders/f303-Universal_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f405-MatekAirspeed_bl.bin
Binary file not shown.
3,182 changes: 1,595 additions & 1,587 deletions Tools/bootloaders/f405-MatekAirspeed_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/f405-MatekGPS_bl.bin
Binary file not shown.
3,182 changes: 1,595 additions & 1,587 deletions Tools/bootloaders/f405-MatekGPS_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/mRo-M10095_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/mRo-M10095_bl.elf
Binary file not shown.
2,596 changes: 1,309 additions & 1,287 deletions Tools/bootloaders/mRo-M10095_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/mRoCANPWM-M10126_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/mRoKitCANrevC_bl.bin
Binary file not shown.
2,251 changes: 1,129 additions & 1,122 deletions Tools/bootloaders/mRoKitCANrevC_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/rGNSS_bl.bin
Binary file not shown.
Binary file modified Tools/bootloaders/sw-boom-f407_bl.bin
Binary file not shown.
2,178 changes: 1,089 additions & 1,089 deletions Tools/bootloaders/sw-boom-f407_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/sw-nav-f405_bl.bin
Binary file not shown.
2,189 changes: 1,098 additions & 1,091 deletions Tools/bootloaders/sw-nav-f405_bl.hex

Large diffs are not rendered by default.

Binary file modified Tools/bootloaders/sw-spar-f407_bl.bin
Binary file not shown.
3,224 changes: 1,616 additions & 1,608 deletions Tools/bootloaders/sw-spar-f407_bl.hex

Large diffs are not rendered by default.

Loading