I brought a new hardware (connected through USB as /dev/ttyUSB0). I need to transfer a binary os.bin file through serial. The hardware has a inbuilt UART driver. I downloaded putty & couldn't see any file transfer method in the options. But I do see file transfer options in Teraterm, but many: kermit, X,Y & ZMODEM, Quick Van and B-Plus. Here's a program you can load (ymodem.spin) that will let you transfer files from an SD card attached to a Propeller over serial to a PC. I've tested it using ExtraPutty on Win10 with Activity Board WX. It's not really optimized, but still achieves 1.5kB/s transfer rates at 115200 baud.
Issue: Unable to copy IOS to Switch using USB or Telnet.
Reason: We faced issue regarding the switch always being booted in ROMMON mode , later on we came to know that our colleague accidentally deleted the IOS. Copying the IOS not a big issue but having no USB port or TFTP connection made the task difficult.
Solution: In case when no USB or TFTP connection available, we can use the XMODEM to transfer the IOS to Switch/Router. Just follow the below step:
Step 1: Open TERA TERM and boot the switch set the baud rate to higher value so to increase IOS transfer speed.
SET BAUD 115200
Change Tera term baud rate by going to setup->Serial port->115200.
Step 2: Enter command to copy IOS in Switch/Router.
copy xmodem:IOS.bin flash:IOS.bin
Nf therapy session album download. Press enter
Step 3: Go to File->Transfer->xmodem->send in tera term and select the IOS.bin file.
Wait till the ios is copied to flash
Step 4: Enter command to check if IOS is copied to flash and reboot the router/Switch Planet coaster mac free download.
Dir flash:
Boot flash:IOS.bin
Step5: After booting with IOS set baud back to 9600
Enable
configure terminal
line console 0
speed 9600
end
wr
The DAM1021 originally came with FPGA firmware 0.8. Since then Soren has released a new version of the firmware, Rev 0.9.
Putty Xmodem File Transfer Download
In order to upload it to the DAC one must connect the DAC to a computer using either a 'classic' serial port, like the one found at the back of older computers, or a USB to Serial adapter. Then a cable must be made connecting three pins of the DB9 connector to the connector J10 on the DAC board.
These pictures illustrate the connections that are needed:
You use your new cable to connect the DAM to your computer's serial port (or USB-to-serial adapter). You do not power on the DAM DAC just yet.
Once you are done with making the physical connection, you need to get your hands on some software that supports the XModem 1K data transfer protocol. This is a pretty old protocol, so your choices in software are pretty limited. One such choice is the 'classic' HyperTerminal, but since it is no longer available with Windows I chose the more modern ExtraPUTTY. It is a fork of the classic PuTTY telnet/ssl client software that also supports 'vintage' transfer protocols such as XModem.
Once you have it installed it is pretty easy to establish a serial connection at 115200, 8, n, 1, as specified by Soekris. You click on the 'serial' tickbox and enter your computer's serial port (in my case it's COM5) along with the specified speed (115200bps):
You click on 'open' and you get a black terminal screen. You now need to power on the DAC. Once you do that, you should get something like this:
This means that everything is fine. You might see an 'I0' instead of an 'I3'. That is OK.
Now you need to get to the uManager prompt. You type '+++' and wait for a second. You will not see the '+' characters as you type them. That is OK. You will get this:
Now type 'download', followed by Enter. You will see something like this:
This means that you have 30 seconds to begin sending your file. To do that you click on File Transfer -> Xmodem 1K -> Send. Select your firmware file and off you go! Overgrowth mac.
When the transfer completes you will see something like this:
One thing – do not forget to give the 'update' command once you have uploaded the code followed by a 'y' and return.
Next you type 'exit' (and Enter) to exit the uManager prompt and you are ready to power cycle the DAC. Once you have done that, you repeat the above steps to get to the uManager prompt and you verify that you have successfully updated the firmware. You should now be at FPGA firmware 0.9!
Putty Ymodem File Transfer
If are having problems connecting, such as getting garbage like this in your serial console:
chances are that your USB to serial adapter is not a 'true' RS-232 interface, but outputs TTL levels instead. You can confirm that by measuring the voltages between GND and the RX & TX pins. You should be getting zero volts in one case and about -9V in the other. If you are getting 3.3 or 5 volts, your interface will not work with the DAM. You should try to find a proper RS-232 interface.