added dump_flash_ptab