9.15.9.40 Example
The following command reads the IDCODE from the device 'AFS600':
read_id_code –name {AFS600}
recover_flash_memory
The command removes ECC2 errors due to memory corruption by reprogramming specified flash memory (NVM) pages and initializing all pages to zeros. The recovery affects data blocks and auxiliary blocks.
The write counters of the corrupted pages might not be accurate due to corruption. The recovery operation will not change state of the page write counters.
Use the check_flash_memory command to detect flash memory errors.
recover_flash_memory [-name {device_name}]
[-block {integer_value}] [-client {client_name}]
[-startpage {integer_value}] [-endpage {integer_value}]
At a minimum you must specify -client <name> OR
-startpage <page_number> -endpage <page_number> -block <number>
