Ok I have been playing around with different ideas, here is my new proposal for extended flash support:
When IceCore boots up it is in regular BlackIce program mode, no flash commands.
To place this into Flash Mode issue the following:
cat flash.mode > /dev/ttyACMO
That places IceCore in a safe mode for Flash commands, the yellow led lights up to indicate such.
Now in flash mode we can issue supported flash commands (read/write etc..)
The IceCore will remain in Flash mode until any of the following occurs:
1. Mode button pressed takes it out of flash mode
2. An Ice40 image file is sent, in which case it will be written to flash and then the Ice40 will be restarted from that flash in regular BlackIce mode
3. A mode command is sent to restore regular BlackIce Mode:
cat ice.mode > /dev/ttyACMO
How would this suite everyone?
BTW there would be no manually selecting flash mode using the button in this version