Updated console mode of flash_pvt.py