mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 15:38:07 +00:00
bwm_ota_once() returned PM3_ETIMEOUT both when OTA BEGIN timed out and when the END ack was lost. The retry loop reads PM3_ETIMEOUT as "all data sent", so a BEGIN timeout (e.g. upgrade re-run while the PM5 is still resetting) printed "BWM firmware uploaded" with nothing sent and reset the PM5 while the ESP was still erasing. BEGIN failures now return PM3_EFAILED and take the normal retry path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>