PDA

View Full Version : Corrupt flash memory


johnstonf
09-14-2003, 9:04 AM
Can anyone tell me if it is possible to recover a Cisco 67x router when it has a corrupted flash memory?

Mntsnow
09-14-2003, 11:32 AM
Welcome johnstonf to XPC!

Yes it but can be a pain. here are the steps I've used to do so for a couple of people that sent me their 67x's to fix. and of course the disclaimer of I'm not responsable for anything going wrong in your attempt to recover a dead cisco ;)

<<< HOW TO DO IT >>>

Open a serial connection to the 675.
Put the 675 into monitor mode. (how to do this is the next step)

reboot
When the alarm light is comes on hit "Ctrl C"

You should now see the => prompt.

Issue the download file command the 675 to store the file at memory location 10008000

df 10008000

Start the Xmodem transfer. The unit will display Downloading....When it is completed you'll get a message indicating the number of bytes written (e.g. 00fe8001). Make a note of this number.

Issue the following erase sector commands to the 675


es 0
es 1
es 2
es 3
es 4

Take the program from the download area to the flash area where <size> is the size reported as written by the df command


pb 10008000 fee00000 <size>

The 675 responds with Programming flash address 00000000 from 10008000...

After 10-20 seconds you should see "Flash programmed"
Exit monitor mode and reboot

m0
rb

When the reboot is complete (might take a few minutes so WAIT), once it has fully rebooted you'll have to reinput your configuration settings from scratch.

johnstonf
09-14-2003, 12:20 PM
Does this work for the 677i as well?

Mntsnow
09-14-2003, 1:43 PM
Never tried it on a 677 but I have on many 675 and 678

johnstonf
09-14-2003, 2:14 PM
thank you for the info. I will try and see what happens

Mntsnow
09-14-2003, 2:32 PM
Best of luck! I hope you end up with a working router again!