microsoft / uf2

UF2 file format specification
Other
849 stars 164 forks source link

Likelihood of out of order block writes? #78

Closed stuffmatic closed 1 year ago

stuffmatic commented 1 year ago

The robustness section of the project readme states that the file format is designed to handle an OS writing blocks out of order. I'm curious to know how common this is and what specific operating systems do this.

mmoskal commented 1 year ago

It happened in macOS Ventura, though I believe it was patched by Apple as it broke micro:bit (which uses .hex). There also some issue with recent Windows pre-release updates, hopefully to be fixed. In short, in-order writes is not something I would rely on long-term.