Home > I O Error > Hyperterminal Xmodem Error

Hyperterminal Xmodem Error

Contents

Does setting a lower baud rate (9600 is recommended) help? 2. packetlab 12,232 views 9:18 BGP Configuration on Cisco IOS. - Duration: 9:54. I have, however, managed to get it on the network to use tftp, but everytime I try to copy the IOS I get File too large, limit is bytes. I can ping my 3550 from my PC @ 192.225.225.15 but I can't ping my PC @ 192.225.225.5.

Last edited by ausssi; 09-19-2013 at 11:55 PM. Problem with push button and PORTB No Harmony Support for SD Card Bootloader? Posted and Close Plugable Technologies (Account) Your Dashboard Profile Information Email & Notifications Sign out Log in or Sign up Plugable Technologies employees are here to help. Privacy Policy Site Map Support Terms of Use ERROR The requested URL could not be retrieved The following error was encountered while trying to retrieve the URL: http://0.0.0.10/ Connection to 0.0.0.10 failed. https://supportforums.cisco.com/discussion/10989211/xmodem-io-error-when-copy-ios-tftp-server

Putty Xmodem File Transfer

I've made some xmodem modifications since this problem originated, but have not had anyone followup on the results. Eventually I gave up and used hyperterm. Reading: TCP/IP Illustrated Vol 1&2, Wireshark Certified Network Analyst, Riverbed documentation 2016 Goals: BS IT Security [X] Begin CCIE studies [ ] Become Wireshark/Riverbed Ninja [ ] Quote Deathmage Senior Member Join Date Mar 2013 Posts 2,396 07-17-201402:34 PM #15 Originally Posted by OfWolfAndMan Deathmage, Let's see the full config of your L3 switch. Create a new topic About this Problem 1 Replies 0 Promoted Responses 2 People Participating Products & Services Adding...

What should I do now? 0 LVL 50 Overall: Level 50 Switches / Hubs 35 Message Active 1 day ago Accepted Solution by:Don Johnston2008-10-31 There's your problem. Sign in to add this video to a playlist. The file transfer worked great as well! Xmodem Transfer Because, I´m trying to do it now. #16 Jump to: Jump to - - - - - - - - - - [Development Tools] - - - - MPLAB X IDE - - - - MPLAB Xpress - - - - MPLAB 8 IDE - - - - MPLAB Harmony - - - - MPLAB X IPE - - - - MPLAB® Code Configurator - - - - MPLAB REAL ICE - - - - MPLAB ICD In Circuit Debuggers - - - - MPLAB Simulator - - - - MPASM, MPLINK, MPLIB (assembler, linker, librarian) - - - - MPLAB XC8 - - - - HI-TECH C Compilers - - - - MPLAB C18 Compiler - - - - MPLAB XC16 - - - - MPLAB C30 Compiler, ASM30, Link30 forum - - - - MPLAB XC32 - - - - MPLAB C32 Compiler - - - - Visual Device Initializer - - - - Evaluation and Demonstration Boards - - - - Programmers (MPLAB PM3, PICSTART Plus, PICkit 2, PICkit 3) - - - - Emulators (MPLAB ICE 2000, MPLAB ICE 4000) - - - - Microstick Development Board for dsPIC33F & PIC24H - - - - Linux, Open Source Projects and Other Topics - - - - MATLAB - - - - CML - - - - Tips and Tricks - - - - Other Development Tool Topics - - - - Arriba IDE for PIC MCUs - - - - Curiosity [Memory & Specialty Discussion Group] - - - - UNI/O™ Serial EEPROM - - - - Serial EEPROMS - I²C - - - - Serial EEPROMS - Microwire - - - - Serial EEPROMS - SPI - - - - Serial SRAM - - - - MAC Address Chips - - - - Serial EPROM - - - - Parallel EPROM - - - - Parallel EEPROM - - - - ID Solutions and Plug N Play Products - - - - Serial Flash - - - - Parallel Flash - - - - Smart Card - - - - RFID - - - - Literature - - - - MCP2510 Stand-alone CAN Controller - - - - Other Issues [8-Bit Microcontrollers] - - - - PIC Microcontrollers (PIC10F, PIC12F, PIC16F, PIC18F) - - - - Legacy PIC Microcontrollers (PIC14000, PIC17, PICxxC) - - - - Peripherals / Core Independent Peripherals - - - - - - - - Analog (ADC, Comp, DAC, HC I/O, OPA, PRG, SlopeComp, ZCD) - - - - - - - - Waveform Control (CCP/ECCP, PWM, PSMC, COG, CWG, NCO, DSM) - - - - - - - - Timing and Measurements (AngTMR, HLT, PSMC, PWM, NCO, SMT, RTCC, TEMP) - - - - - - - - Communications (EUSART/AUSART, I2C/SPI, USB, CAN, LIN, KeeLoq) - - - - - - - - User Interface (mTouch, HCVD, LCD) - - - - - - - - Logic / Safety & Monitoring / Low Power (CLC, MULT, MathACC, CRC/SCAN, HLT, WWDT, HEF, PPS, IDLE, DO - - - - Documentation (Programming Specifications, Errata, Literature) - - - - Tips & Tricks Solutions Guide & Other PIC Topics [16 bit Microcontrollers & Digital Signal controllers] - - - - dsPIC30F Topics - - - - Programming Specifications - - - - dsPIC33F Topics - - - - PIC24 Topics - - - - - - - - Graphics [32-Bit Microcontrollers] - - - - General PIC32 Topics - - - - PIC32 Beta Release Software (not supported) - - - - FAQs [Analog and Interface Devices] - - - - Welcome - - - - MCP250xx devices - - - - Serial Real-Time Clocks (RTCC’s) [Clock and Timing] - - - - Clock Solutions [Keeloq & Security Devices forum] - - - - Getting Started with Keeloq [TCP / IP] - - - - PPP/SLIP - - - - Ethernet - - - - Gateway - - - - TCP/IP Stack v6 Beta [Mechatronics] - - - - Tutorial Questions [Microchip Registered Consultants Board] - - - - Microchip Registered Consultants Forum - - - - Main - - - - Buy, Sell or Trade [Smart Phone and Tablet Accessories] - - - - [Android Accessories] - - - - - - - - Firmware Questions - - - - - - - - Hardware Questions - - - - - - - - App Development Questions [Wireless Topics] - - - - Embedded Wireless Systems - - - - MRF Wi-Fi - - - - RN Wi-Fi - - - - Bluetooth - - - - MiWi - - - - LoRa® Technology [Microchip.com Forum Welcome] - - - - Welcome - - - - Getting Started - - - - Upcoming changes - - - - Forum FAQs - - - - Forum Support [日本語フォーラム ] - - - - 開発ツール - - - - - - - - MPLAB IDE - - - - - - - - MPLAB REAL ICE - - - - - - - - MPLAB ICD2 - - - - - - - - MPLAB シミュレータ - - - - - - - - MPLAB C18 コンパイラ - - - - - - - - MPLAB C30 コンパイラ、ASM30、Link30 - - - - - - - - 評価/デモ/開発 ボード - - - - - - - - エミュレータ(ICE2000、ICE4000) - - - - - - - - プログラマ(MPLAB PM3、PICSTART Plus、PICkit 2、ICSPなど) - - - - 8ビット PIC マイコン - - - - - - - - コア (命令、リセット、WDT、仕様、・・・) - - - - - - - - 周辺機能 (ADC、PWM、タイマ、UART、・・・) - - - - 16ビット PIC マイコン & DSC - - - - - - - - コア (命令、リセット、WDT、仕様、・・・) - - - - - - - - 周辺機能 (ADC、PWM、タイマ、UART、DMA・・・) - - - - - - - - DSP命令、機能 - - - - メモリ製品 - - - - - - - - I2C (24xxxx) - - - - - - - - SPI (25xxxx) - - - - - - - - MicroWire (93xxxx) - - - - アナログ & インターフェース製品 [中文论坛] - - - - 8位单片机产品 - - - - 16位单片机及DSC产品 - - - - 模拟及存储产品 - - - - 开发工具 - - - - C语言及RTOS - - - - 单片机应用技术 [Careers in Microchip] - - - - Microchip Jobs [Training Discussion Group] - - - - COM2109 - Introduction to I2C - - - - COM3101 - Introduction to Full Speed USB - - - - COM3201 - Designing a Custom USB Peripheral Application - - - - COM3202 - Designing a USB Embedded Host Application - - - - COM4101 - Introduction to Embedded Ethernet - - - - COM4301 - Designing Embedded TCP/IP Monitor and Control - - - - COM4302 - Advanced TCP/IP HTTP Applications - - - - COM5610 - Rapid LIN Design Using a Pre-Certified Configurator - - - - DSP0101 - Introduction to DSP Concepts - - - - DSP0201 - Using DSP Features of the dsPIC® DSC Architecture - - - - DSP0202 - Designing with Microchip's DSP Libraries and Tools - - - - HIF2131 - Designing with Microchip’s Graphics Library - - - - IRF2101 - Adding IEEE 802.11/Wi-Fi® To An Embedded Application - - - - IRF2102 - Wireless Networking with the MiWi™ Development Environment - - - - MCT0101 - Overview of Intelligent Motor Control Solutions - - - - MCT3101 - BLDC Control Techniques - - - - MCT4201 - AC Induction Motor Control using dsPICDEM MCHV development board - - - - MCT7101 - Sensorless Field Oriented Control for PMSM Motors - - - - MCU0101 - Getting Started with Baseline PIC® MCU Architecture, Instruction Set and Peripheral Progra - - - - MCU1121 - Mid-Range Microcontroller Family Peripheral Configuration and Usage Using the HI-TECH® C C - - - - MCU2101 - Getting Started with PIC18 Architecture and Instruction Set - - - - MCU2121 - PIC18 Microcontroller Family Peripheral Configuration and Usage Using the C18 C Compiler - - - - MCU3101 - Getting Started with Microchip's 16-bit MCU Architecture and Instruction Set - - - - MCU3121 - Microchip 16-bit MCU Peripherals (Unit 1) - - - - MCU3122 - Microchip 16-bit MCU Peripherals (Unit 2) - - - - MCU4101 - Introduction to Microchip's PIC32 MCU - - - - PWR3101 - Digital Power Converter Basics using dsPIC33 Digital Signal Controllers (DSC) - - - - PWR3201 - Implementation of Digital Control Techniques for Power Converters using dsPIC® SMPS Family - - - - TLS0000 - Getting Started with Microchip Live Online - - - - TLS0101 - Getting Started with Microchip Development Tools - - - - TLS0999 - Transitioning to MPLAB X from MPLAB 8 - - - - TLS2101 - Introduction to the C Programming Language for Embedded Engineers - - - - TLS2130 - Getting Started with MPLAB® C for dsPIC DSCs and PIC24 MCUs - - - - XLP0101 - Low Power System Design with nanoWatt XLP - - - - XLP1101 - Battery Selection for Low Power Embedded Solutions © 2016 APG vNext Commercial Version 4.5 Latest Posts PIC32MM - Max SPI clock recommended decoupling capacitor layout on dsPIC30F6012A ?

I'm frazzled by this... Then you initiate the xmodem transfer on the switch. Solved Not able to transfer IOS to Catalyst 4006 using Xmodem in HyperTerminal Posted on 2008-10-17 Switches / Hubs 1 Verified Solution 18 Comments 1,084 Views Last Modified: 2010-04-21 I have copied a .bin file from an updated 4006 on my network. http://www.networking-forum.com/viewtopic.php?f=33&t=45599 The only thing that's making me not think that's the caseis that my code makes sure that something is written to *every*byte of the EEPROM, so Hyperterminal has got to be sending it something or it'd never exit those loops.

anyone used one with a PICkit3? Teraterm Xmodem All rights reserved. Edited by Mohsin86, 28 May 2009 - 07:22 PM. 0 Back to top #7 metroholografix metroholografix Advanced Member Members 320 posts Gender:Male Location:Hungary Posted 28 May 2009 - 07:38 PM QUOTE (Mohsin86 @ May 28 2009, 11:20 AM) how can i change the console baudrate to 115200 ? Loading...

Copy Xmodem Flash I/o Error

Looks like I'll just have to buy new flash and try it again. 0 Message Author Comment by:cwdriver2008-10-31 Ok, now I'm having a problem because this is a Supervisor Engine II with no slot that I can see to change out the flash. check here PC can ping switch... Putty Xmodem File Transfer I also found a good article that says you can install Hyperterminal on WIN 7 if you have the XP disks. Xmodem I/o Error UD-160-A USB 2.0 Universal Docking Station with DisplayLink DVI/VGA up to 1920x1080 UGA-2K-A USB 2.0 to VGA/DVI/HDMI Adapter for Multiple Displays up to 2048x1152 Each - DisplayLink DL-195 Chip Storage Dock - External USB 2.0 to SATA 2.5 and 3.5 inch, All-in-one Memory Card Reader, and USB Hub UGA-125 USB 2.0 to VGA/DVI/HDMI Adapter for Multiple Monitors up to 1280x1024 / 1440x900 Each - DisplayLink DL-125 Chip USB2-E1000 USB 2.0 10/100/1000 Gigabit Ethernet Adapter USB 3.0 SuperSpeed SATA Hard Drive Docking Station Enclosure (USB 2.0 Compatible) UT-1 USB 2.0 Universal Terminal Plugable PCIe to USB 3.0 2-Port Expansion Card for Standard Profile Desktops 7 Port High Speed USB 2.0 Hub with 3A Power Adapter Plugable USB to RS-232 DB9 Serial Adapter (Prolific PL2303HX Chipset) Plugable USB 2.0 10 Port Hub USB 2.0 to 10/100 Fast Ethernet LAN Network RJ45 Adapter - Wii Compatible (Black) UGA-165 USB 2.0 to VGA/DVI/HDMI Adapter for Multiple Displays up to 1920x1080 / 1600x1200 Each - DisplayLink DL-165 Chip 2 Port SuperSpeed USB 3.0 Express Card Adapter (NEC/Renesas Chipset) USB 2.0 File Transfer Cable for Mac and Windows Systems USB 2.0 Wireless Audio Adapter and Receiver (SYNIC chipset) 10 meter USB 2.0 Extension Cable Type A Male to A Female Plugable USB-VGA-165 USB to VGA Adapter for Multiple Displays up to 1920x1080/1600x1200 (DisplayLink DL-165 chip) Plugable DC-125 USB 2.0 Docking Client Plugable USB2-HDMI-165 USB to HDMI Video and Audio Adapter for PC to TV 720p Plugable USB Easy Transfer Cable USB 2.0 Hub BC 1.1 compliant with 2.5A Power Adapter USB2-SWITCH2 USB 2.0 Two Port Switch Plugable USB 3.0 to HDMI / DVI Adapter Plugable Basic USB Keyboard and Mouse Bundle (Extra Long Cables) Plugable UD-3000 SuperSpeed USB 3.0 Universal Docking Station for Windows PCs Plugable USB3-VGA USB 3.0 to VGA Graphics Adapter for Windows Plugable USB2-CARDRAM3 USB Multi Card Reader Plugable USB Bluetooth 4.0 Low Energy Micro Adapter (Windows 8 and Linux Compatible; Classic Bluetooth Compatible) USB2-MICRO-200X Plugable USB 2.0 Digital Microscope UGA-3000 USB 3.0 Multi-Display Adapter with DVI/VGA/HDMI Support USB3-SATA-UASP1 Plugable USB3-E1000 USB 3.0 Gigabit Ethernet adapter (ASIX AX88179 Chipset) PSS-SDH1 Plugable Storage System USB 3.0 2.5" SATA Drive Dock and USB 3.0 Hub (with 12V 2.5A Adapter) PSS-CASE2 Plugable Storage System 2.5" SATA Hard Protective Case (2-Pack) PSS-SDC1 Plugable Storage System USB 3.0 2.5" SATA Drive Dock Plus 3x 1A USB Charging Ports PSS-DD1 Plugable Storage System USB 3.0 Dual 2.5" SATA Drive Dock USB3-CARD6A USB 3.0 Super Speed Media Card Reader USB3-HUB7-81x 7 Port USB 3.0 SuperSpeed Hub USB3-HUB81X4 4 Port USB 3.0 Hub Plugable 12 Outlet Power Surge Protector with Built-in Dual USB Charging Ports for iPad, iPod, iPhone and other Devices UD-160-M USB Thin Client USB 2.0 Splitter 5 meter USB 2.0 Extension Cable Type A Male to A Female USB3-3900DHE Dual Head Graphics and Gigabit Ethernet Adapter for Windows-based computers USB-WIFINT Plugable USB-WIFINT USB 2.0 802.11n WiFi Transceiver (Realtek RTL8188CUS Chipset) USB3-HUB4AC1 USB3-SWITCH2 Plugable USB 3.0 Sharing Switch USB2-HUB10C2 10 Port Hub with 2 Flip-Up Charging Ports and 4 Amp Power Adapter USB3-HUB10C2 USB 3.0 10 port hub with two flip-up charging ports UD-3900 Plugable UD-3900 Dual Display Universal Docking Station USB-C5T USB-C3T UGA-M165 "mDisplay" USB Video Mirroring Adapter Plugable USB2-OTGTF Phone | Laptop | Tablet MicroSD Card Reader USB3-HUB3ME USB 3.0 3 Port VL812 Portable Hub + AX88179 Ethernet 90*34*22mm size with 31cm pigtail cable USB3-HUB4M USB 3.0 4 Port VL812 Portable Hub 85*30*22mm size with 31cm pigtail cable UGA-4KDP USB 3.0 to DisplayPort 4K Graphics Adapter USB-AUDIO USB Audio Adapter with 3.5mm stereo and microphone ports (Black Aluminum; Built-in compatibility with Windows, Mac, and Linux UD-PRO8 Plugable Pro8 Docking Station (UD-PRO8) for Tablets like the Dell Venue 8 Pro USB-C5TX USB-C3C DP-HDMI and mDP-HDMI DisplayPort to HDMI active adapters UGA-4KHDMI USB 3.0 to HDMI 4K Graphics Adapter USB 3.1 Type C Power Delivery Sniffer (USBC-TKEY) USB-C to VGA Alt Mode Adapter (USBC-VGA) Plugable UGA-2KHDMI USB 3.0 to HDMI Adapter UD-5900 Multi-Display Docking Station USBC-SATA-V USB 3.1 Drive Dock USB-C to DisplayPort Adapter (USBC-DP) UD-CA1 USB-C Docking Station with Power Delivery USB-C to HDMI Adapter (USBC-HDMI) USB-C to DVI Adapter (USBC-DVI) USB-C 3 Port Hub w/ Pass Through Charging (USBC-HUB3P) Triple Display Docking Station w/ Power Delivery (UD-ULTCDL) Thunderbolt 3 Dual DisplayPort Adapter (TBT3-DP2X) Thunderbolt 3 Dual HDMI Graphics Adapter (TBT3-HDMI2X) USB 3.1 Gen 2 USB-C to SATA Adapter Cable (USBC-SATA24) USB 3.0 5M (16ft) Active Extension Cable (USB3-5M) USB 3.0 10M (32ft) Active Extension Cable (USB3-10M) USB 3.1 Gen2 Type C USB-IF Certified USB-C to USB-C Cable Cardioid Condenser USB Microphone (USB-VOX) (finish) Tagged Add a tag + (finish) Help get this topic noticed by sharing it on Twitter, Facebook, or email.

It would appear that the PIC gets a null, freaks out, then doesn't write anything to the string for the remainder of the 64 bytes, then gets to the next string, writes fine until it gets another NULL, doesn't write anything for the rest of that string, then because both strings are half empty, when it comes to write them to the EEPROM, only the data in the EEPROM that "lines up" with the data in the strings gets overwritten, the rest stays as it is, explaining why old data gets displayed. Get 1:1 Help Now Advertise Here Enjoyed your answer? However I could not get to to work under anything except HyperTerminal under Windows XP 32 bit using 9600 baud. Nope, Win7 does NOT have HyperTerminal, but you can install Microsoft Virtual Machine w/ Win XP Pro (free Download from MS) that does have it. Securecrt Xmodem

Right now I am working on a 2950 Cisco SwitchAt the switch: prompt, I typed:copy xmodem: flash:filename.bin    [ENTER]As soon as you see CCCCC   in the terminal window.....In Hyperterminal, from the tool bar, select Transfer -> Send FileBrowse to the file, select Xmodem from the dropdown menu and select SENDAfter the process has finished, type en and then boot flash:filename.binThis will boot the .bin in your flash directory. Choose... Cisco, Cisco Systems, CCDA, CCNA, CCDP, CCNP, CCIE, CCSI; the Cisco Systems logo and the CCIE logo are trademarks or registered trademarks of Cisco Systems, Inc. There are a number of FTP server packages available on the internet that can be loaded on your PC.

The tftp server is active; I did copy the old IOS before.Here is the output from my switch:switch: flash_initInitializing flash...flashfs[0]: 2 files, 1 directoriesflashfs[0]: 0 orphaned files, 0 orphaned directoriesflashfs[0]: Total bytes: 15998976flashfs[0]: Bytes used: 2048flashfs[0]: Bytes available: 15996928flashfs[0]: flashfs fsck took 12 seconds....done Initializing Flash.Boot Sector Filesystem installed, fsid: 3switch: dir flash:Directory of flash:/2     -rwx      22                       env_vars3     -rwx      43                       system_env_vars15996928 bytes available <2048 bytes used>switch: setBAUD=115200BOOT=tftp:c3550-ipbasek9-mz.122-44.SE6.binswitch: copy xmodem: flash:c3550-ipbasek9-mz.122-44.SE6.binBegin the Xmodem or Xmodem-1k transfer now...CCCCCCCxmodem:: I/O errorHelp would be really apreciated. Xmodem-1k bpence (Admin) Admin Posts: 1319 Logged Brian Pence Celestial Software SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others The administrator has disabled public write access. #2026 Re: XModem differs from Hyperterminal 8 Years, 8 Months ago Ok I uninstalled the old version and installed the new version. Are you sure?- Have you already deleted the old IOS?

I noticed that there is a garage character in front of the breaking message.

Thx Bb Quote Login/register to remove this advertisement. Working... There of course are some basic hardware requirements, but pretty much if you have any dual core processor, you will be able to setup a basic XP Pro Virtual Box easily. Ccccccccccxmodem:: I/o Error Thx Bb I just did this over the weekend also, and I was not able to figure out how to do it with putty either, I ended up getting out an OLD laptop that has XP on it to use HyperTerminal.

The first problem I encounter is that the XModem file trasfer terminates: vivi> load flash kernel x Ready for downloading using xmodem... Also, is your Sonicwall a router? ZeroHunter H4rdw4r3 H4ck3r Join Date Sep 2010 Location Orlando FL Posts 148 Certifications CompTIA A+ & Network+ MCIPT, CCNA, Mech Eng-BS 10-05-201002:32 AM #2 Originally Posted by BBradley2009 I'm putting a new image on a switch and don't have access to Hyperterminal pay to use emulators. Have you ever tried to transfer a file to the internal eeprom of your Microprocessor using Hyperterminal?

I have tried many different router models, 1721,1750,1720 and 2500. I'm at work. Eventually (2am) I downloaded the image again, changed the speed to 9600 and let it go.... Please re-enable javascript to access full functionality. 0 how to resolve xmodem I/O errors Started by Mohsin86 , May 28 2009 03:19 PM Please log in to reply 10 replies to this topic #1 Mohsin86 Mohsin86 Newbie Members 20 posts Gender:Male Location:Karachi Posted 28 May 2009 - 03:19 PM pls guide me to resolve this issue...checkt the following error, that im getting following error in 3750 switch rommon mode...switch: switch: dir flash: Directory of flash:/ 32513024 bytes available (1024 bytes used) switch: flash_initswitch: load_helperswitch: copy xmodem: flash:c3560-ipbase-mz.122-25.SEB2.bin Begin the Xmodem or Xmodem-1K transfer now...

Code is posted below, and the culprit file is attached. #include <16f88.h> #include #include #fuses HS, NOWDT, NOLVP, NOBROWNOUT, NOPROTECT, PUT #use delay(clock = 8000000) // Delay setup #use rs232(baud = 9600, xmit = PIN_B0, rcv = PIN_A0, stream = PC) // RS232 setup #use I2C(Master, sda = PIN_B1, scl = PIN_B4, FAST) // I2C setup // EEPROM write void eeprom_write(unsigned char address_upper, unsigned char address_lower, unsigned char data) { i2c_start();// Start communication i2c_write(0xA0); // Send control code & address of EEPROM then set to write mode i2c_write(address_upper); // Write upper address byte i2c_write(address_lower); // Write lower address byte i2c_write(data); // Write data i2c_stop();// Stop communication delay_ms(5);// Wait 5ms } // EEPROM read unsigned char eeprom_read(unsigned char address_upper, unsigned char address_lower) { unsigned char temp_byte; i2c_start();// Start communication i2c_write(0xA0); // Send control code & address of EEPROM then set to write mode i2c_write(address_upper); // Write upper address byte i2c_write(address_lower); // Write lower address byte i2c_start();// Start communication i2c_write(0xA1); // Send control code & address of EEPROM then set to read mode temp_byte = i2c_read(0); // Read data without acknowledge bit i2c_stop(); // Stop communication return temp_byte; } // EEPROM write (string) void eeprom_write_string(unsigned char address_upper, unsigned char address_lower, int* data) { while(*data)// Loop until end of string to be written is reached { i2c_start();// Start communication i2c_write(0xA0); // Send control code & address of EEPROM then set to write mode i2c_write(address_upper); // Write upper address byte i2c_write(address_lower); // Write lower address byte i2c_write(*data++); // Write data i2c_stop();// Stop communication address_lower++;// Add 1 to lower address byte if(address_lower == 0x00) address_upper++;// If lower address = 0, add 1 to upper address byte delay_ms(5);// Wait 5ms } } // EEPROM contiguous read start (reads first byte) int eeprom_read_contig_start(unsigned char address_upper, unsigned char address_lower) { int data; i2c_start(); // Start communication i2c_write(0xA0);// Send control code & address of EEPROM then set to write mode i2c_write(address_upper); // Write upper address byte i2c_write(address_lower); // Write lower address byte i2c_start(); // Resend start signal to indicate read portion i2c_write(0xA1); // Send control code & address of EEPROM then set to read mode data=i2c_read(); // Read data return(data); } // EEPROM contiguous read int eeprom_read_contig(void) { int data; data = i2c_read(); // Read data return(data); } // EEPROM contiguous read stop (reads last byte) int eeprom_read_contig_stop(void) { int data; data = i2c_read(0); // Read data without acknowledge bit i2c_stop(); // Stop communication return(data); } void main(void) { int16 i; // Counter variable int packetnum; // XModem packet number int packetnum_inverse; // Inverse XModem packet number int packetcount = 0;// Packet count in program to keep synchronisation int checksum_rec, checksum_calc;// XModem received checksum & calculated checksum int32 checksum_temp; // Used in checksum calculation int error = 0; // Transmission error int out;// Used to send PC XModem control signals char c;// Character read in from PC during file transmission int data1[64];// First half of XModem packet int data2[64];// Second half of XModem packet char address_upper;// Upper EEPROM address byte char address_lower;// Lower EEPROM address byte setup_adc_ports(NO_ANALOGS);// Turn off analogue inputs setup_oscillator(OSC_8MHZ|OSC_INTRC);// Use internal 8MHz oscillator fputs("Initiate file transfer using PC then press button to accept.", PC); while(!input(PIN_A1)) // Wait for button press { } address_upper = 0b00000000;// Variables set to write data to address 0000000000000001 address_lower = 0b00000001; out = 0x15; fputc(out, PC); // Send NAK character to PC to indicate PIC is ready to recieve data (1 byte checksum) while(TRUE) // Loop until file transfer complete (loop will break) { c = 0; while((c != 0x01)&&(c != 0x04)) // Wait for SOH or EOT character { c = fgetc(PC); // Keep checking data from PC until SOH or EOT character received } if (c == 0x04) break; // If EOT character received, end file transfer packetnum = fgetc(PC); // Get packet number from PC packetnum_inverse = fgetc(PC);// Get inverse packet number from PC if (packetnum_inverse != (255 - packetnum)) error = 1;// If packet number inverse incorrect, set error flag if(packetnum == packetcount) // If received packet number matches expected, increment expected for next transmission { if(packetcount == 256) { packetcount = 0; } else { packetcount++; } } checksum_temp= 0; for (i = 0; i < 64; i++) // Loop until first half of packet received, store in string & add to checksum { data1[i] = (int)fgetc(PC); checksum_temp += (int)data1[i]; } for (i = 0; i < 64; i++) // Loop until second half of packet received, store in string & add to checksum { data2[i] = (int)fgetc(PC); checksum_temp += (int)data2[i]; } checksum_calc = checksum_temp%256; // Calculate checksum checksum_rec = fgetc(PC); // Get checksum byte from PC if(checksum_calc != checksum_rec) error = 1; // If checksum incorrect, set error flag if(error != 1) // If no error, write to EEPROM { eeprom_write_string(address_upper, address_lower, data1); if(address_lower >= 192) // If next 64 bytes of data will cause an overflow in lower address byte { address_upper++;// Add 1 to upper address byte address_lower += 64;// Add 64 to lower address byte address_lower = address_lower - 256;// Take 256 from lower address byte } else { address_lower += 64;// If no overflow will be caused, add 64 to lower address byte } eeprom_write_string(address_upper, address_lower, data2); if(address_lower >= 192) // If next 64 bytes of data will cause an overflow in lower address byte { address_upper ++; // Add 1 to upper address byte address_lower += 64;// Add 64 to lower address byte address_lower = address_lower - 256;// Take 256 from lower addres byte } else { address_lower += 64;// If no overflow will be caused, add 64 to lower address byte } } if(error == 1) // If error, send NAK { out = 0x15; } else// If no error, send AK { out = 0x06; } error = 0; // Reset error flag fputc(out,PC); // Send AK or NAK character to PC } out = 0x06; fputc(out,PC); // Send AK character to PC to acknowledge EOT character received //Display first 500 or so characters toverify address_upper = 0b00000000; address_lower = 0b00000001; fprintf(PC, "%d,"eeprom_read_contig_start(address_upper, address_lower)); for(i = 0; i<500; i++) { fprintf(PC, "%d,", eeprom_read_contig()); } fprintf(PC, "%d", eeprom_read_contig_stop()); } post edited by andyd1985 - 2007/03/06 09:34:34 Attachment(s)adpcm.zip (1.06 KB) - downloaded 672 times #5 jbroadwell Super Member Total Posts : 1444 Reward points : 0 Joined: 2005/11/02 13:58:11Location: Indianapolis, Indiana Status: offline RE: Hyperterminal File Transfer (XModem?) 2007/03/06 10:47:20 (permalink) 0 Unsigned/unsigned was my first thought. in the United States and certain other countries. This feature is not available right now. Does setting a lower baud rate (9600 is recommended) help? 2.

However, changing all my functions in my PICC code to use unsigned chars still didn't help. bpence (Admin) Admin Posts: 1319 Logged Brian Pence Celestial Software SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others The administrator has disabled public write access. #2021 Re: XModem differs from Hyperterminal 8 Years, 8 Months ago Brian, I to have this problem. CCNAVIDEO 69,204 views 3:07 Loading more suggestions... It will help one to understand clearly the steps to track a lost android phone.

With xmodem, you have to start the transfer from both ends. painful....JPG Quote OfWolfAndMan Senior Member Join Date Oct 2013 Location Jax Posts 799 Certifications A/L/P/S+, CCNP R&S, CCDA, CCDP, CCNA R&S/Sec, ACIS ERS 8K & VSP 9K 07-17-201403:40 AM #11 You could always just have it pull from a TFTP server as well. Can't believe such a simple problem gave me so much of a headache! #15 JorgeAlberto New Member Total Posts : 1 Reward points : 0 Joined: 2013/06/11 08:55:01Location: 0 Status: offline RE: Hyperterminal File Transfer (XModem?) 2013/06/11 09:42:00 (permalink) 0 Hi andyd1985! CCCCCCCCCCBB0BB0xmodem:: I/O error switch:while xmode window display "got retry request" error and finally it display "error limit exceeded"Is there any other way of loading IOS Image on flash from rommon mode ? 0 Back to top #2 metroholografix metroholografix Advanced Member Members 320 posts Gender:Male Location:Hungary Posted 28 May 2009 - 04:37 PM Hi,- It's maybe just a typo, but it seems you try to load an image for 3560 series to your 3750's.

http://www.cisco.com/en/US/products/h... You'll need to enable Javascript and cookies to participate. Loading... Go to Solution 18 Comments LVL 50 Overall: Level 50 Switches / Hubs 35 Message Active 1 day ago Expert Comment by:Don Johnston2008-10-23 Can you connect your PC to an ethernet port and use TFTP or FTP? 0 Message Author Comment by:cwdriver2008-10-24 no 0 LVL 50 Overall: Level 50 Switches / Hubs 35 Message Active 1 day ago Expert Comment by:Don Johnston2008-10-24 What supervisor engine does the 4006 have? 0 Message Author Comment by:cwdriver2008-10-27 I think it's Supervisor Engine III, but I'm not exactly sure how to tell.

Here's what the manual says: #BYTE Syntax: #byte id = x Elements: id is a valid C identifier, x is a C variable or a constant Purpose: If the id is already known as a C variable then this will locate the variable at address x. It's a lot quicker.