Bricked a Cisco/Linksys WRT400N... Help?

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2, 3, 4  Next
Author Message
leperthebruce
DD-WRT Novice


Joined: 03 Dec 2010
Posts: 4

PostPosted: Fri Dec 03, 2010 1:55    Post subject: Bricked a Cisco/Linksys WRT400N... Help? Reply with quote
Ok so I successfully flashed using the approprieate initial flash
dd-wrt.v24-14853_NEWD-2_K2.6_std_usb_ftp-e3000.bin
Logged in, messed around a bit, it was working.


Read that it should be OK to upgrade from there t any e2k-e3k firmware available in the 2.4 branch. Updated via the web console to dd-wrt.v24-15508_NEWD-2_K2.6_big-e2k-e3k.bin

Ther I ran into problems. The power button blinks repeatedly and I appear to have bricked it. Any ideas if there's a diagnostics or recovery mode? I've got a JTAG cable on its way but if there's a way fix it without it, that'd be awesome.

Beyond that, if anyone can explain what I did wrong, that'd be even more awesome.
Sponsor
leperthebruce
DD-WRT Novice


Joined: 03 Dec 2010
Posts: 4

PostPosted: Fri Dec 03, 2010 2:11    Post subject: I'm an idiot Reply with quote
So I've been sick and am very short on sleep. I'm pretty sure I know what I did wrong, and it will probably be quite obvious to most. The firmware I actually used to initially flash (successfully) was linksys-to-ddwrt-firmware.bin as stated by the router compatibility DB.

I bought this WRT400N used locally - it had been advertised as an E3000 and in my eagerness, I prepared the instructions and firmware beforehand.
I figured out almost immediately that it was actually a WRT400N and I flashed with the right firmware, but then I went to the wrong upgrade instructions and flashed the wrong upgrade.

*facepalm*

I can't belive I did that, but there it is.

Still, that leaves me asking for recovery options. I suspect JTAG is still possible (though this will be my first JTAG experiment ever).

Please help.
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Fri Dec 03, 2010 2:14    Post subject: Reply with quote
First off, those are linksys E2000/E3000 broadcom builds, you have a wrt400n? thats an Atheros unit, so right off the bat you flashed the wrong firmware, you may try ping it, see if you get any response, if you do you could possibly try tftp, but its most likely stuck in a boot loop now, only way to debrick from here would be either serial connection or jtag, none of which i have any exp. on atheros units. i've only debricked broadcom units so far, just recently started using Atheros based units.
_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
leperthebruce
DD-WRT Novice


Joined: 03 Dec 2010
Posts: 4

PostPosted: Fri Dec 03, 2010 3:47    Post subject: Reply with quote
I've confirmed it's bricked. No Ping response ever, no matter what.

Need direction on where to go for JTAG or Serial advice. The cables/headers are no problem. Consider them already taken care of. The actual "unbricking" operation ad software is currently beyond me.
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Fri Dec 03, 2010 3:55    Post subject: Reply with quote
Well to do it with a serial connection you would need a ca-42 cable, costs about $4-5 on ebay or amazon and the prolific driver and putty, reference this for more info..

http://www.dd-wrt.com/wiki/index.php/Serial_Recovery

you'll need to pay attention to the pinouts and find out what is what on your board, you may need a multimeter to safely check. though you may be better of just using a jtag cable on it, i believe that unit has both.

Also like i said, i dont have any experience on Atheros de-bricking, just broadcom for now.

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
leperthebruce
DD-WRT Novice


Joined: 03 Dec 2010
Posts: 4

PostPosted: Fri Dec 03, 2010 8:17    Post subject: Reply with quote
I have a JTAG cable on order. Problem is, I don't know what programs support the Atheros chipset. I'm getting some conflicting (and I'm sure, way out of date) stories. Not only that, I'm not sure how to use that program to recover it once I have it all set up: ie what commands to use.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Dec 03, 2010 8:54    Post subject: Reply with quote
leperthebruce wrote:
I have a JTAG cable on order. Problem is, I don't know what programs support the Atheros chipset. I'm getting some conflicting (and I'm sure, way out of date) stories.


There is no public jtag program which can handle serial flash chips on Atheros AR7xxx.
A serial console connection will do fine.

_________________
Kernel panic: Aiee, killing interrupt handler!
evrycard
DD-WRT User


Joined: 09 Mar 2011
Posts: 152

PostPosted: Tue May 24, 2011 3:41    Post subject: Reply with quote
I am having the same problem and have been reading for a while for a solution but still clueless.. Can anyone out there point me to the right direction of the serial cable and how to hook it up to the board? Thxxx
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Wed May 25, 2011 0:01    Post subject: Reply with quote
buddee wrote:
Well to do it with a serial connection you would need a ca-42 cable, costs about $4-5 on ebay or amazon and the prolific driver and putty, reference this for more info..

http://www.dd-wrt.com/wiki/index.php/Serial_Recovery

you'll need to pay attention to the pinouts and find out what is what on your board, you may need a multimeter to safely check. though you may be better of just using a jtag cable on it, i believe that unit has both.

Also like i said, i dont have any experience on Atheros de-bricking, just broadcom for now.


You sure you read hard enough?

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
evrycard
DD-WRT User


Joined: 09 Mar 2011
Posts: 152

PostPosted: Wed May 25, 2011 1:56    Post subject: Reply with quote
buddee...
I red it again and I am ordering the ca-42 cable. Smile
Thx...
evrycard
DD-WRT User


Joined: 09 Mar 2011
Posts: 152

PostPosted: Tue May 31, 2011 21:07    Post subject: Reply with quote
Got the cable., stripped, soldered, etc...
OS: XP
Made all the connections, hooked up to the board, loaded the driver.
CA-42 on COM3
Hyper Terminal settings: COM3-115200-8-none-1-none
I see nothing but a blinking cursor.
Power on/off the router... Still nothing.
Switched the TX and RX connections... Still nothing.
Any suggestion guys???
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Tue May 31, 2011 23:20    Post subject: Reply with quote
While putty is open..Did you touch the Tx/Rx wires together and type anything, if the wiring is correct, it should echo back to you in putty what you typed.
_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
evrycard
DD-WRT User


Joined: 09 Mar 2011
Posts: 152

PostPosted: Wed Jun 01, 2011 3:01    Post subject: Reply with quote
Plugged the C-42 cable in.
Putty running, CTRL+C. There is no cfe see pix.
I'm not sure if the erase nvram worked. The flash command did not for sure. Mean while my PC NIC is set to 192.168.1.5 and connected to the router ready to tftp the original firmware from linksys. What else should I be doing?
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Wed Jun 01, 2011 5:22    Post subject: Reply with quote
It seems that the normal tftp command doesn't work on this router, I recently helped another user here with his brick and he had no success with the standard tftp way.

What he had to do was:

1. Hex edit a dd-wrt firmware file for the 400 by removing the first 28 bytes so it started with 27 05 19 56.
Notepad is not a hex editor!!!
Rename the file to whatever you like, I use 1.bin as example here.

2. Set a static IP on your computer to 192.168.1.2

3. At the bootlooader prompt issue the command tftpboot 0x80010000 1.bin

4. Start tftp transfer of the file from your computer

5. If the file has transferred correctly then issue the 2 commands:

erase 0xbf040000 +0x600000 (this erases firmware partition in flash)

cp.b 0x80010000 0xbf040000 0x600000 (this writes the firmware from ram to flash)


reboot the router.

(If you use a stock firmware file, then there will be 60 bytes to cut off for it to start with the 27 05 19 56 pattern)

_________________
Kernel panic: Aiee, killing interrupt handler!
evrycard
DD-WRT User


Joined: 09 Mar 2011
Posts: 152

PostPosted: Wed Jun 01, 2011 5:58    Post subject: Reply with quote
LOM wrote:
3. At the bootlooader prompt issue the command tftpboot 0x80010000 1.bin

4. Start tftp transfer of the file from your computer

5. If the file has transferred correctly then issue the 2 commands:

erase 0xbf040000 +0x600000 (this erases firmware partition in flash)

cp.b 0x80010000 0xbf040000 0x600000 (this writes the firmware from ram to flash)


Sorry I'm pretty new at this. I am lost at the bootloader (do you mean PUTTY?). Do I need to put all these files in the same folder? Do I need to hookup the NIC to the router as well as the CA-42? Could you give me a little more details? Thx...
Meanwhile, I am going to mess with this so I can learn a little more... Laughing
Goto page 1, 2, 3, 4  Next Display posts from previous:    Page 1 of 4
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum