Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Error while upgrading IOS via XMODEM


my cisco 3640 router went in ROMMON prompt, so i tried upgrading the IOS via xmodem recovery, while it was copying on in the middle i get the error.

WARNING: All existing data in flash will be lost!

Invoke this application only for disaster recovery.

Do you wish to continue? y/n [n]: y

Ready to receive file c3640-i-mz.122-1.bin ...

Erasing flash at 0x307c0000

program flash location 0x30200000

amd_flash_cmd: timeout on AMD flash command

program_flash: location 0x30200004 wrote 0x8beece50,contains 0x24eece50

program flash failure at location 0x30200004 - aborting

rommon 4 > dev

Devices in device table:

id name

flash: flash

does it mean that flash has gone bad?


Re: Error while upgrading IOS via XMODEM

Yes, the flash is bad, boot program is trying to write a memory position at the flash memory with no success.


Re: Error while upgrading IOS via XMODEM

thanks for the reply, i do also get an error message when i issued the command

rommon 5 > meminfo

Main memory size: 16 MB in 64 bit mode.

Available main memory starts at 0xa000e000, size 16328KB

IO (packet) memory size: 0 percent of main memory.

NVRAM size: 128KB

rommon 6 > dir flash:

device does not contain a valid magic number

dir: cannot open device "flash:"

so only thing i need to replace the flash isn't? so i will also try replacing the flash with the existing 3640 router. any suggestion on this?


Re: Error while upgrading IOS via XMODEM

Yes, you only need to replace the flash, the command you've used confirms the flash is bad.

To replace the flash memory an option if to use an external pcmcia card:


Hope this helps,if so pls rate post

CreatePlease login to create content