MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

MEGAFLASH: check for erase slot might be triggered accidentially #616

Closed lydon42 closed 1 year ago

lydon42 commented 1 year ago

The check if the user wants to erase a slot or flash a slot is comparing the first character of the filename to a dash. Reports indicate that sometimes a quick "flash" happens after which the machine is bricked. I suspect that using a vFAT LFN for a cor name can sometime produce a dash in the first place, and that will trigger the erase.

Even if this is not true: this check needs to be more robust and independent of filenames.

lydon42 commented 1 year ago

Check is now independent of filenames.