Enable FLASH operation

TBD: bug fix