Extend flash mode.
Merge remote-tracking branch 'origin/flashmode'