Posted: Thu Mar 31, 2011 12:55 Post subject: Re: CA-42 with Win7 x64
Peabody wrote:
Mine had five wires, and I did not need to power the usb with batteries. If windows recognized it when it was plugged in, the adapter was powered. I just used the tx, rx and ground. Worked fine.
Thanks for pointing that out. My particular cable was not detected by Windows until it received external power from either the router or some batteries.
Then you need to short the lines going to and from TX and RX (serial port pins 2 and 3). On mine they wired these to ADM213's R3in and T2out ports, so I had to short pins 3 to 6 (that huge blue cable in the pic) and 16 to 17 (blob of solder which cannot be seen in the pic).
The ADM213 datasheet of course helped, if you have another tranceiver in there, find its datasheet to see which ports are on which pins.[/url]
Brand New and High Quality
PL-2303HX USB to Serial Controller adopted
Approximately 1m long cable
Three dupond connectors, 2.54mm pitch type. Rx, Tx and GND. Powered by the USB host. LV-TTL I/O voltage level.
Supports baud rate from 75 to 128000
Support Win 98 or above (Win 7 64-bit Supported) , MAC OS X or above , Linux _________________ Running DD-WRT v24-sp2 (08/12/10) std-usb-ftp - build 14929 at my Linksys E2000 (Converted WRT320N).
I was wondering if I can get three items confirmed here.
First:
In this picture of a Linksys WRT-300n Ver.1.1 board, I believe this to be the serial connection point to it on the board, and the arrow is pointing to the Ground pin. That pin did test for continuity to the ground pin on the power connector when I used a multimeter.
Second:
Are the serial pin outs known/confirmed for this router? If they are not, and I experimented would I burn something out if I had the RX & TX swapped backwards?
Third:
If I wanted to connect this router via its serial connection, can I just use the ground, TX, and RX, or must I have the power pin connected? The reason I ask this is because I want to connect it to an Arduino UNO board and have never done this before. At this point I am Hoping to not need to buy a Max232 board or anything else to make this work.
Thank you all in advance for any help you can give me.
Tom
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Tue Apr 10, 2012 21:19 Post subject:
gilgolf wrote:
I am using a CA-42 but there are only 3 wires. How can I figure out which wire is what? (Tx, Rx, GND)
use an ohm meter to test each wire to the metal shell of the usb plug.. when you find the wire with 0 ohms (or there abouts), that is ground.
then you have a 50/50 chance on the other two getting them right. no output from the router, switch tx & rx. if they are switched, you will not do any damage to either the router or the adapter. (tx & rx only) _________________ [Moderator Deleted]
So now I have my router and serial connectors set up. I can successfully Ctrl+C into the router and have issued the "nvram erase" command. It succeeded. Then I opened tftp (flash -noheader : flash1.trx) and flashed the original linksys firmware. I then typed "go" and hit enter and it said "invalid boot block on disk" and then continued to issue the flash command to itself. Any ideas? (I have tried re-flashing a new firmware through tftp but it always times out on the tftp client)
Joined: 26 Jan 2008 Posts: 13049 Location: Behind The Reset Button
Posted: Thu Apr 12, 2012 23:17 Post subject:
gilgolf wrote:
So now I have my router and serial connectors set up. I can successfully Ctrl+C into the router and have issued the "nvram erase" command. It succeeded. Then I opened tftp (flash -noheader : flash1.trx) and flashed the original linksys firmware. I then typed "go" and hit enter and it said "invalid boot block on disk" and then continued to issue the flash command to itself. Any ideas? (I have tried re-flashing a new firmware through tftp but it always times out on the tftp client)
you have not mentioned your router in this thread.. Looking at your profile, it appears you have an e1000 v2.
erase nvram again:
nvram erase
now flash the stock linksys firmware using -ctheader via tftp.. make sure you have a static ip on your pc and connected to the router via lan port.
cfe> flash -ctheader : flash1.trx
now launch tftp
when you are back at the cfe prompt, power cycle the router. do not issue the go command. _________________ [Moderator Deleted]
Posted: Mon Mar 03, 2014 20:11 Post subject: Any way to upload firmware over serial?
So, I've bricked my Cisco/Linksys E3000 by picking the wrong firmware I suppose. It seems my first result with the mini was good but then it failed on the next one. Can't really remember now as it's more important to debrick.
So I purchased a OSEPP FTDI USB-to-Serial board and took apart my E3000, did some soldering and was able to get into the CFE. I followed the steps and got to the NVRAM ERASE portion and after that my pings stopped and have not worked since. I've tried using the ifconfig command to set the IP, I've done the arp -s on windows to set the arp cache, I've put a switch in the middle so as to avoid link reset, I've done most everything with no ping-ability coming back.
So, how can I get past this and get my ping back so as to upload the new firmware? Can I upload the firmware via JTAG serial? Do I need to upload a CFE if so how do I do it?
Here is what is happening now without the crtl-c:
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Nov 8 17:48:04 CST 2010 (lzh@team2-complier)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
No DPN
This is a Parallel Flash
Boot partition size = 262144(0x40000)
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.56.51
CPU type 0x19740: 480MHz
Tot mem: 65536 KBytes
mac_init(): Find mac [C0:C1:C0:????] in location 1
Nothing...
country_init(): Find country code in location 0
The country is same
Device eth0: hwaddr C0-C1-C0-??-??-??, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Check CRC of image1
Header CRC: 0x9D4D6BB4
Calculate CRC: 0x9D4D6BB4
Image 1 is OK
Try to load image 1.
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3916 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000