I have the original firmware back! -and now i flash Open-DD-WRT :)
------------------------------------------------------------
yeah.. i did it just like "step 6".. but with the original file from TP-Link. Unfortunatly, I bricked my router.. LOL
0x20200 is the addess. You have to delete the bytes before. Therefore you have to delete the Bytes from 0x0 - 0x20200 (when i understand this correct).
Why you don't use the prepared file, when you have trouble with it?
after some testing I found out that I did the soldering correctly. My next problem is that I cant't access the commandline. I get the following output over the commandline:
Code:
U-Boot 1.1.4 (Nov 17 2009 - 11:56:26)
AP83 (ar9100) U-boot 0.0.11
DRAM:
sri
32 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Autobooting in 1 seconds
then I type "tpl" and press enter.... but nothing happens?
Joined: 29 Mar 2009 Posts: 36 Location: Netherlands
Posted: Tue Jun 15, 2010 19:44 Post subject:
Just type "tpl" very fast at the moment you see "Autobooting", no [enter] is required. The command prompt will then show something like "ar7100>" _________________ It's all about bits and bytes!
Just giving ERROR, then reboot the router, and now all the LEDs are flashing, how can it arum? only with the JPAG? (I have one that was used in the cable modem MOTOROLA!
EDIT: Hello, I've been researching and I have to use the USB cable TTL, I'll build it!
What would be the order that I use the 4 pin?
. . . .
Rx, Tx, GND, VCC (3.3V)?
I place the order equal to the image?
Only the TTL and cable need to recover the router?
EDIT2: I've been seeing the first official post that router, and found this picture:
I typed it several times but I can't get the command prompt.
Hello! I had the exact same problem, and it was because the ground cable wasn't soldered in properly, and without ground you can only receive data, and not send. Make sure it has enough connection on the other side of the board too.
Also I have a question! I managed to unbrick my wr1043nd router, although it was messy because I used an old phone cable which i had no pinouts to. But after a few attempts i got it right. But in the tries, I burnt the board a bit, having to trace where the holes go.
The problem is my usb doesn't seem to work since that. When I plug in anything, dmesg says "Unable to enumerate device", even tho everything is properly initialised beforehand. Any ideas? Anyone had the same? Could it have anything to do with the fact that i left the serial cable in? I really hope i didn't hurt anything on the board during the unbrick process. Thanks!
Posted: Mon Aug 30, 2010 0:37 Post subject: How to connect the serial port to the PCB?
Hi,
I am trying to use the serial port on the rotuer to unbrick it. However, the RS232 cable I have on hand has a 9-pin socket. How can I connect it to the 4-pin interface on the board?
Posted: Mon Aug 30, 2010 7:02 Post subject: Re: How to connect the serial port to the PCB?
robertchanlist wrote:
Hi,
I am trying to use the serial port on the rotuer to unbrick it. However, the RS232 cable I have on hand has a 9-pin socket. How can I connect it to the 4-pin interface on the board?
You need a level shifter since RS232 serial is + - 12V level and your router is serial TTL 3.3V.
Don't even try to connect that RS232 cable directly to the router, you will fry the routers serial port and possibly also the whole cpu. _________________ Kernel panic: Aiee, killing interrupt handler!
Posted: Mon Aug 30, 2010 13:46 Post subject: Re: How to connect the serial port to the PCB?
LOM wrote:
robertchanlist wrote:
Hi,
I am trying to use the serial port on the rotuer to unbrick it. However, the RS232 cable I have on hand has a 9-pin socket. How can I connect it to the 4-pin interface on the board?
You need a level shifter since RS232 serial is + - 12V level and your router is serial TTL 3.3V.
Don't even try to connect that RS232 cable directly to the router, you will fry the routers serial port and possibly also the whole cpu.
Hi LOM,
Thanks for the warning. As I am very new to hardware hacking (never done that in my life), I wouldn't know the danger if you did not tell me ...
What I was trying to do was to connect the Rx, Tx and Gnd pins to the corresponding pins in the RS232 connector. If that is the case, it wouldn't involve the VCC pin at all. So is this assumption totally garbage?
erase 0xbf020000 +7c0000 # 7c0000: size of the firmware (be aware that you may have a different size thus bricking your router)
tftpboot 0x81000000 code.bin
cp.b 0x81000000 0xbf020000 0x7c0000
bootm 0xbf020000
WARNING: Only perform the dd action below if your original firmware has the word "boot" in it, for example, wr1043nv1_en_3_9_17_up_boot(091118).bin. Please do not dd your original firmware if it has no "boot" in its name, for example, wr1043nv1_en_3_11_5_up(100427).bin, because if you do, you will brick your router! This was confirmed by supertom64
Cut first 0x20200 bytes from original firmware