px4-firmware/Tools
Julian Oes 6eef811db8
tools/bootloader: add force-erase option
If the STM32H7 fails to program or erase a full chunk of 256 bytes, the
ECC check will trigger a busfault when trying to read from it.

To speed up erasing and optimize wear, we read before erasing to check
if it actually needs erasing. That's when a busfault happens and the
erase time outs.

The workaround is to add an option to do a full erase without check.

Credit goes to:
https://github.com/ArduPilot/ardupilot/pull/22090

And the protocol option added to the bootloader is the same as for
ArduPilot, so compatible.

Signed-off-by: Julian Oes <julian@oes.ch>
2024-03-05 06:09:18 +13:00
..
HIL HIL: add --ignore-stdout-errors to run_nsh_cmd.py and use for 'tests dataman' 2023-07-24 13:10:31 +02:00
Matlab Commander: updated mag calibration routine, matlab script updates 2015-06-25 14:44:24 +02:00
astyle uorb: compress format definitions 2023-11-08 00:31:26 -05:00
auterion Tools/auterion: add Skynode upload scripts (#21842) 2023-08-21 08:03:07 +02:00
dist Update vehicle config mixer URLs 2015-07-02 22:29:19 +02:00
ecl_ekf ekf-pdf-report: plot bias using bias msg instead of state vector 2023-11-20 20:10:16 -05:00
kconfig Tools/kconfig: delete old migration helpers 2022-06-17 19:31:45 -04:00
models Update SDP3x Airspeed Correction (#8242) 2017-11-22 22:03:26 -05:00
module_config px4_fmu-v6xrt: Add dshot support 2023-12-15 10:15:02 -05:00
msg uorb: enure message definitions don't exceed buffer lengths & increase test buffer 2023-12-05 10:42:23 +01:00
px4airframes Rename param and paramgroups to airframe and airframegroups 2022-11-10 07:39:27 +01:00
px4events px4events: handle events parsing from ROS2 code 2023-11-15 13:18:58 +01:00
px4moduledoc Tools: extend documentation parser: 2023-03-06 18:34:01 -05:00
serial rename all instances of serial PPB to EXT2 2022-12-13 08:09:15 +01:00
setup Tools/setup: macos.sh add python-tk for kconfig gui (boardguiconfig) 2023-12-16 16:29:07 -05:00
simulation Update to latest sitl gazebo camera 2024-03-03 12:18:02 +13:00
stack_usage worst case analysis of stack usage (#7883) 2017-09-10 13:34:34 -04:00
test_keys Whitespace cleanup. 2021-10-19 13:29:26 -04:00
uorb_graph uorb_graph: remove handling for actuator_controls topic 2023-03-16 11:55:45 +01:00
zenoh Add Zenoh pico support 2023-10-18 15:30:36 -04:00
.gitignore Streamline python script for temp cal. (#6416) 2017-01-24 18:42:15 -05:00
bloaty_static_ram.bloaty CMake Bloaty add static ram usage breakout 2021-04-29 10:16:43 -04:00
boot_now.py Tools: added boot_now.py script 2015-03-14 21:12:24 +11:00
check_submodules.sh Tools/check_submodules.sh: perform submodule sync again after first update to reach nested submodules 2021-11-10 13:52:51 -05:00
compress.py Whitespace cleanup. 2021-10-19 13:29:26 -04:00
convert_ip.py microdds_client: rename to uxrce_dds_client 2023-05-03 11:51:53 -07:00
cryptotools.py Put all the test key material into same directory 2021-06-25 08:35:58 +02:00
decrypt_ulog.py Add a header to logfile encryption key exchange file 2021-09-27 17:45:07 +02:00
docker_run.sh CI: use the same container versions consistently 2023-07-19 07:46:45 -07:00
fetch_file.py simulation organization and cleanup 2022-08-25 09:10:03 -04:00
generate_board_targets_json.py generate_board_targets: use current version of each container 2023-07-19 07:46:45 -07:00
geotag_images_ulog.py simulation organization and cleanup 2022-08-25 09:10:03 -04:00
mac_set_ulimit.sh Add script to set the correct ulimit on Mac OS (#11247) 2019-02-05 10:19:55 -05:00
mavlink_shell.py mavlink USB auto start/stop on boards with VBUS 2021-10-03 15:32:54 -04:00
mavlink_ulog_streaming.py mavlink_ulog_streaming: when stopping, wait after receiving the ack 2021-08-12 10:09:11 -04:00
package_firmware.py Moved deployment logic to python scripts. 2017-01-13 01:11:14 -08:00
parameter_update.py fw_att_control: move to px4::params 2019-10-28 18:08:47 -04:00
process_sensor_caldata.py Use accel of the same instance or primary baro for gyro instances that do not have valid temperature readings in temperature calibration data, use primary baro for magnetometers without valid temperature. 2023-06-07 12:07:29 -04:00
px4.py git: ignore git tags starting with 'ext/' when getting the version tag 2021-03-24 10:08:41 -04:00
px_mkfw.py px4_mkfw.py: fix byte to string conversion 2021-03-24 10:08:41 -04:00
px_process_airframes.py Rename param and paramgroups to airframe and airframegroups 2022-11-10 07:39:27 +01:00
px_process_events.py px_process_events: fix no base path being a list 2023-12-19 10:04:02 +01:00
px_process_module_doc.py module documentation: add support for subcategories 2019-02-08 09:29:46 +01:00
px_romfs_pruner.py ROMFS: purge old mixing system 2022-09-09 09:14:09 -04:00
px_uploader.py tools/bootloader: add force-erase option 2024-03-05 06:09:18 +13:00
run-clang-tidy.py Adapt run-clang-tidy.py to Python3 2020-03-02 13:26:03 -05:00
run-shellcheck.sh ROMFS: purge old mixing system 2022-09-09 09:14:09 -04:00
upload.sh boards: add new ARKV6X (#20191) 2022-09-15 13:13:49 -04:00
upload_log.py Tools: make Python import error more readable 2020-02-14 11:40:05 +01:00
usb_serialload.py simulation organization and cleanup 2022-08-25 09:10:03 -04:00
validate_json.py metadata: run json schema validation for actuators + parameter metadata 2021-11-23 12:40:22 -05:00
validate_yaml.py Tools: make Python import error more readable 2020-02-14 11:40:05 +01:00