Xmodem Hyperterminal Download
Contents
- Xmodem Hyperterminal Free Download
- Xmodem Hyperterminal Download Windows 7
- Xmodem Hyperterminal Windows 7 Download
Copy xmodem: flash:c2955-i6q4l2-mz.121-13.EA1.bin. Replace c2955-i6q4l2-mz.121-13.EA1.bin with the file name of the IOS you are transferring. Important Side Note - We'll need the IOS image stored local on the computer consoled into the device. If possible download it or transfer it by some other means.
Download RealTerm: Serial/TCP Terminal for free. Serial and TCP terminal for engineering and debugging. Serial terminal program for engineering. Ideal for development, reverse engineering, debugging, datalogging and capture, and automatic test. Use this xmodem procedure in order to download a Cisco IOS software image onto a Cisco 1603 Router. Launch a terminal emulator program. In this example, configure Windows HyperTerminal for 8-N-1 at 9600 bps and connect your PC's serial port to the console port of the router. Once connected, you need to get into the ROMmon prompt (rommon 1). To download a switch software file named E0822.swi from a PC (running a terminal emulator program such as HyperTerminal) to primary flash: Execute the following command in the CLI: Execute the terminal emulator commands to begin the Xmodem transfer. When I click 'upgrade', it returns with the message 'Software Jul 27, 2019 Copy the new IOS file over. Download something like HyperTerminal that support sending files via XModem; Connect to the console port of the switch using the Cisco console cable and set your baud rate to 9600 Python script to upgrade ios on cisco devices. Using HyperTerminal Software to Update Firmware 1. With the Flash Kit installed (see Installing the Flash Kit on page 4), launch HyperTerminal software. Using a 1203-USB or 22-SCM-232 converter, go online with the drive that is connected to the HIM. Press Enter until the main menu appears. In the main menu, press ‘3’ to flash.
Introduction
This document explains how to use the xmodem command at the console to download Cisco IOS® software using the ROM monitor (ROMmon).
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on these software and hardware versions:
Cisco 827, 1600, 1700, 2600, 3600, and 3700 Series Routers
Cisco AS5200, AS5300, AS5350, and AS5400 Universal Access Servers
Note: Xmodem can also be used on certain Catalyst switches.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Overview
Xmodem can be used on a group of routers (see Components Used) and is used in disaster recovery situations where the router has no valid Cisco IOS software or bootflash image to boot from and hence, only boots up in ROMmon. This procedure can also be used where there are no Trivial File Transfer Protocol (TFTP) servers or network connections, and a direct PC connection (or through a modem connection) to the router's console is the only viable option. Because this procedure relies on the console speed of the router and the serial port of the PC, it can take a long time to download an image. For example, downloading Cisco IOS Software Release 12.1(16) IP Plus image to a Cisco 1600 Series Router using a speed of 38400 bps takes approximately 25 minutes.
Usage
Here is the command syntax for xmodem as per the Command Reference Manual for Cisco IOS version 12.2.
This table describes the command syntax for the xmodem command.
syntax | Description |
---|---|
-c | (Optional) CRC-16 checksumming, which is more sophisticated and thorough than standard checksumming. |
-y | (Optional) Uses the Ymodem protocol for higher throughput. |
-e | (Optional) Erases the first partition in Flash memory before starting the download. This option is only valid for the Cisco 1600 series. |
-f | (Optional) Erases all Flash memory before starting the download. This option is only valid for the Cisco 1600 series routers. |
-r | (Optional) Downloads the file to DRAM. The default is Flash memory. |
-x | (Optional) Does not execute the Cisco IOS software image on completion of the download. |
-s data-rate | (Optional) Sets the console port's data rate during file transfer. Values are 1200, 2400, 4800, 9600, 19200, 38400, and 115200 bps. The default rate is specified in the configuration register. This option is only valid for the Cisco 1600 series routers. |
filename | (Optional) Filename to copy. This argument is ignored when the -r keyword is specified since only one file can be copied to DRAM. On the Cisco 1600 series routers, files are loaded to the ROMmon for execution. |
Note: xmodem options e, f, and s are only supported on the Cisco 1600 Series Routers. In order to find out the syntax and available options to use with the xmodem command, enter xmodem -? at the ROMmon prompt.
Here is an example of the xmodem command issued on a Cisco 1603 Router:
Here is an example of the xmodem command issued on a Cisco 2620 Router:
Examples
Notes:
The xmodem transfer only works on the console port. You can only download files to the router. You cannot use xmodem to get files from the router.
It is also important to note that the -sdata-rate option is only available on the Cisco 1600 Series Routers and was implemented to overcome the console baud rate limitation of 9600 bps. If you specify -sdata-rate of 115200 bps for example, you can increase the download rate and hence, reduce download time. Other Cisco routers support console speeds up to 115200 bps. Therefore, the -sdata-rate option is not required.
Ensure that the PC serial port is using a 16550 universal asynchronous transmitter/receiver (UART) if you are downloading a Cisco IOS software image through the router's console speed at 115200. If the PC serial port is not using a 16550 UART, it is recommended that you use a speed of 38,400 or lower.
Xmodem Procedure for Downloading a Cisco IOS Software Image onto a Cisco 1603 Router
Use this xmodem procedure in order to download a Cisco IOS software image onto a Cisco 1603 Router.
Launch a terminal emulator program.
In this example, configure Windows HyperTerminal for 8-N-1 at 9600 bps and connect your PC's serial port to the console port of the router. Once connected, you need to get into the ROMmon prompt (rommon 1>). Typically, if the router's Cisco IOS software image and bootflash image are both corrupt, the router only comes up in ROMmon mode. If the former is not true and you need to get into the ROMmon prompt, you need to change the configuration register (typically 0x2102 as given by show version) to 0x0:
From the ROMmon prompt, issue the xmodem command. However, before you issue the xmodem command, ensure that you have the new Cisco IOS software image on your PC.
In this example, all Flash memory is erased before downloading using the f option (only on the Cisco 1600 Series ). Perform a CRC-16 checksum using the c option and using a download speed of 115200 bps (only on the Cisco 1600 Series ) by specifying -s115200:
Note: If the console port is attached to a modem, both the console port and the modem must be operating at the same baud rate.
Warning:
Configure the terminal emulator program for a data rate of 115200 bps to match the xmodem speed specified above. This is done by closing the previous terminal session of 9600 bps and opening a new one at 115200 with 8-N-1. The trick here is that the Cisco 1603 only supports a maximum baud rate of 9600 bps. Therefore, when connecting at 115200 bps, you cannot see the router prompt. This is an important point to remember. Once connected to the router at 115200 bps, select Transfer and Send File from the HyperTerminal menu bar.
Specify the image file name and location and enter xmodem as the protocol.
Click on Send to start the transfer.
This message is received when the transfer is complete:
Per the message above, you need to exit your 115200 bps HyperTerminal session and restart a new one at 9600 bps. Once connected, the router's ROMmon prompt appears. Verify that the download was successful by issuing a dir flash:.
Change the config register back to 0x2102 and reset or power cycle the router so that the new Cisco IOS software image gets loaded.
Xmodem Procedure for Downloading a Cisco IOS Software Image onto a Cisco 2620 Router
Use this xmodem procedure in order to download a Cisco IOS software image onto a Cisco 2620 Router.
Xmodem Hyperterminal Free Download
Launch a terminal emulator program.
This example Windows HyperTerminal is configured for 8-N-1 at 9600 bps. Connect your PC's serial port to the console port of the router. Once connected, get into the ROMmon prompt (rommon 1>). Typically, if the router's Cisco IOS software image and bootflash image are both corrupt, the router only comes up in ROMmon mode. If the former is not true and you need to get into the ROMmon prompt, then you will need to change the configuration register (typically 0x2102 as given by show version) to 0x0 as follows:
Once in ROMmon, change the console baud rate from 9600 bps to 115200 bps to speed up the download time. Use the confreg command and complete the instructions presented on the screen.
Once the router boots up in ROMmon, the HyperTerminal sessions start to display illegible characters. You need to exit the current terminal session and start a new one at a data rate of 115200 bps to match the console rate as in step 2.
You are now ready to issue the xmodem command. However, before issuing the xmodem command, ensure that you have the new Cisco IOS software image on your PC.
Warning:
From the HyperTerminal menu bar, select Transfer > Send and specify the image name/location and xmodem protocol as in steps 3 and 4 and start the transfer.
Once the transfer is complete, these messages appear:
Notice how the Flash gets erased towards the end automatically compared to Cisco C1600. Therefore, the reason why the f option is not required here. Finally, ensure that you reset the console speed back to 9600 and change the boot sequence back to default by changing the configuration register back to 0x2102:
Xmodem Procedure for Downloading a Cisco IOS Software Image onto a Cisco 3600 Router
Use this xmodem procedure in order to download a Cisco IOS software image onto a Cisco 3600 Series Router.
The standard procedure uses the default console speed of 9600 bits per second. Xmodem is a slow transfer protocol, and the transfer of a file as large as a Cisco IOS software image could take an unacceptably long time. An increase to the console speed on the 3600 router helps decrease the time it takes to do the xmodem file transfer.
Open a new hyperterminal with these settings:
After setting the hyperterminal, you receive a rommon prompt. Enter the xmodem command. Before you enter an xmodem command, there should be a software image residing in your terminal or your local hard drive.
After this message appears, you have to download the file using xmodem and this procedure:
Go to Hyperterminal and click the Transfer menu.
Select Send File.
In the dialog box which appears, click on browse and look for the file name on your local hard drive.
Under the filename field is the Protocol drop-down box. Choose Xmodem.
Click Send to initiate the file transfer.
After the transfer completes, the router will reload itself. When the reload completes, press the return key to be taken to a prompt and to reset the configuration register and the console line speed.
Upon changing the console speed, you will lose connectivity. Go to your terminal program, change the baud rate to 9600, and reconnect to the router console.
When in ROMMON mode, complete this procedure using the ROMMON confreg utility.
Related Information
Welcome to CuteCom
CuteCom is a graphical serial terminal, like minicom (or Hyperterminal on Windows,but I don't want to compare CuteCom to it, since Hyperterminal is reallyone of the worst applications I know).
Currently it runs on Linux, FreeBSD and Mac OS X.
It is aimed mainly at hardware developers or other peoplewho need a terminal to talk to their devices.It is free software and distributed under the GNU GeneralPublic License Version 2, which can find in the file COPYING.It is written using the Qt library by Trolltech.Follow this link to visit the sourceforgeproject page.
CuteCom doesn't use the autotools (autoconf, automake, libtool, etc.)Instead 'configure' is simply a wrapper script which calls qmake.To uninstall CuteCom simply delete the file 'cutecom' and the file 'cutecom.desktop' and you're done. The config file is ~/.config/CuteCom/CuteCom.conf (was ~/.qt/cutecomrcin the Qt3-based versions).
Features:
- easy to use GUI
- no cryptic keyboard shortcuts
- lineoriented interface instead of character-oriented
- Ctrl+C, Ctrl+Q and Ctrl+S control sequences work
- input history
- a cute GUI ;-)
- xmodem, ymodem, zmodem support (requires the sz tools)
- easy to differentiate between typed text and echoed text
- select between read/write, read-only and write-only open mode
- open the device without changing its settings
- hexadecimal input and output
- configurable line end characters (LF, CR, LFCR)
- configurable delay between characters
Requirements for Building:
- CuteCom 0.22.0: Qt 4.1, CMake >= 2.4.3
- CuteCom 0.14.2: Qt 3, qmake or CMake >= 2.4.3
Download:
Current version (uses Qt4):cutecom-0.22.0.tar.gz, , June 27th, 2009
(yes, it's really only 22kb). Now also works on Mac OSX and supports more baud rates.
Here is the complete Changelog.
You can also browse the cvs repository online.
Current state: stable
TODO :
- font selection via the context menu of the output view
- searching in the output view via context menu and Ctrl+F shortcut
- get rid of Qt3Support
- translations
Previous versions:
- cutecom-0.21.0.tar.gz, , May 11th, 2009
- cutecom-0.20.0.tar.gz, , March 12th, 2008
- cutecom-0.14.2.tar.gz, , January 26th, 2007 - last version for Qt3
- cutecom-0.14.1.tar.gz, , November 22nd, 2006
- cutecom-0.14.0.tar.gz, , July 16th, 2006
- cutecom-0.13.2.tar.gz, , June 9th, 2005
- cutecom-0.13.1.tar.gz, February 2nd, 2005
- cutecom-0.13.0.tar.gz, January 29th, 2005
- cutecom-0.12.0.tar.gz, November 09th, 2004
- cutecom-0.11.0.tar.gz, October 13th, 2004
- cutecom-0.10.2.tar.gz, October 10th, 2004
- cutecom-0.10.1.tar.gz, August 11th, 2004
Screenshot
Ok, here comes the inevitable screenshot:
At the top you can see the widgets where you can adjust the serial communication settings.Beneath this part there is the output view, where you can see everything the devicesent back, also non-printable characters. And in the bottom part you can see the input area,with the input line to enter the commands, and the list featuring the history for the input line.
Currently CuteCom runs on Linux, FreeBSD and Mac OS X, porting to other UNIX-like platforms should be easy, and porting to Windows shouldn't be really hard.Everything platformspecific should be in QCPPDialogImpl::setNewOptions().Distributions are welcome :-)
Xmodem Hyperterminal Download Windows 7
CuteCom was heavily inspired by Bray++ Terminal for Windows.