Flash cancelled
The flash operation was cancelled.
FLASH_CANCELLED
Symptoms
- The operation reports cancelled — by you or by a dropped connection.
- After cancelling, the board may not boot or behaves erratically.
Likely causes
- Cancellation stops programming between sectors, leaving a mix of new and old firmware in flash.
- The vector table or early code may be updated while later sections are not — an image that partially boots then faults.
How to fix it
-
Do not run the target yet
Treat the flash content as undefined after a cancel. A partially programmed image can fault in confusing ways (see the HardFault guide).
-
Reflash the full image
Start a new flash and let it complete — this restores a consistent image.