How do you recover from problems accessing configuration or project files?
Configuration files are stored in the controller's flash disk in the folder /flash/config and project files are stored in folders under /flash/projects.
If your controller begins to display errors loading configuration data at startup, or if previously working projects display errors during loading and compilation, it is possible that the controller’s flash disk has become corrupted. The most likely cause of flash disk corruption is powering-down your controller while data is being written to the flash.
The flash disk is written whenever you: issue "Save all to flash" from the web interface; save programs to flash from GDE; or execute GPL programs that write data to the flash. After any write to the flash, you must wait at least 10 seconds before powering down the controller. Otherwise the write operation maybe only partially completed.
If the flash disk is corrupted, simply restoring your files from a backup is not sufficient. You must first reformat the flash disk, which erases all user data. GPL system software and FPGA firmware are not affected by this formatting operation.
To reformat the flash disk, do the following:
The complete dialog is shown below:
Telnet> open 192.168.0.1
Welcome to the GPL console
Password: Help
GPL: format
WARNING: This command will erase the user flash disk area.
Type ERASE to continue: ERASE
Success
GPL: