TP-Link TL-WR1043ND Bricked ,Can not write flash memory.

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Author Message
Kannnix2005
DD-WRT Novice


Joined: 15 Sep 2011
Posts: 6

PostPosted: Sat Sep 24, 2011 11:37    Post subject: Reply with quote
Ok, thank you so far. Now i got everything. The TTL-Adapter is showing this code:

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## Booting image at bf020000 ...
   Uncompressing Kernel Image ... Error: Bad gzipped data
GUNZIP ERROR - must RESET board to recover

Resetting...ÿ

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


But it wont let me type in tpl and hit enter, it simply doesnt work, though its sending (signalized by a LED and i see a "p" or an "tp" sometimes). It either wont let me into the command promt, if i´m letting the terminal program auto-send tpl.

Is there any solution for this?

Thank you in advance.
Sponsor
fyi2000
DD-WRT Guru


Joined: 04 Apr 2010
Posts: 642

PostPosted: Sat Sep 24, 2011 15:40    Post subject: Reply with quote
You didn't prove that the tx is as good as the rx.
_________________
DD-WRT Forum - Atheros Recommended Build
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7047

PostPosted: Sat Sep 24, 2011 15:58    Post subject: Reply with quote
Auto sending will not work, you can not start to send before the router has initialised the serial port.
That is when you see "Net: ag7100_enet_initialize... "

Make sure that handshake is off in comm parameter setting in putty.
Test the adapter by connecting the tx and rx wires together and type on the keyboard.
Characters you type should then show up on the putty screen.
Kannnix2005
DD-WRT Novice


Joined: 15 Sep 2011
Posts: 6

PostPosted: Sat Sep 24, 2011 17:40    Post subject: Reply with quote
Thank you thank you thank you! I finally got it. I just had to disconnect a jumper from the TTL-Adapter... that was really weird. But now i can flash, what i want, so thank you Smile

Best regards
fyi2000
DD-WRT Guru


Joined: 04 Apr 2010
Posts: 642

PostPosted: Sat Sep 24, 2011 21:35    Post subject: Reply with quote
Kannnix2005 wrote:
It either wont let me into the command promt, if i´m letting the terminal program auto-send tpl.

I think you meant sending "tpl" by "Hotkey".

RealTerm

Auto-sending "tpl" is possible with command line tools "Expect/Send" or "MACRO for TeraTerm".

tp-link.ttl
Code:
; Sample TeraTerm MACRO for interrupting
; the U-Boot process of TP-LINK routers.
connect '/C=3'   ; COM3
if result == 1 then
   beep 1
   messagebox 'Error opening COM port' 'Error'
   end
endif
clearscreen 0
clearscreen 1
dispstr '**** Power on the router now ****' #10#13
setbaud 115200
setdebug 0
timeout = 10
wait 'seconds'   ; Keyword
if result == 0 then
   beep 1
   messagebox 'Keyword not found.' 'Timeout'
   end
endif
sendln 'tpl'
beep 0
end

Teraterm Scripts - Texas Instruments Embedded Processors Wiki

_________________
DD-WRT Forum - Atheros Recommended Build
kittyfractals
DD-WRT Novice


Joined: 04 Oct 2011
Posts: 1

PostPosted: Tue Oct 04, 2011 20:52    Post subject: Reply with quote
This may be a dumb question, but I have this cable the TL-232R-5V and access to a device (an Arduino Uno) that can provide 3.3V. Could I use just the RX/TX of the cable and have the uno supply power?[/url]
fyi2000
DD-WRT Guru


Joined: 04 Apr 2010
Posts: 642

PostPosted: Wed Oct 05, 2011 6:28    Post subject: Reply with quote
kittyfractals wrote:
This may be a dumb question, but I have this cable the TL-232R-5V and access to a device (an Arduino Uno) that can provide 3.3V. Could I use just the RX/TX of the cable and have the uno supply power?

That 3.3V is for output to powerless devices and you don't have to provide it to TL-WR1043ND. I think TL-WR1043ND should be capable of handling 2.5V-5V input. Just connect (cross-over) TX, Rx and GND and it should work.

_________________
DD-WRT Forum - Atheros Recommended Build
hp4
DD-WRT Novice


Joined: 13 Oct 2011
Posts: 1

PostPosted: Thu Oct 13, 2011 16:30    Post subject: Reply with quote
hello!
thank you for your great hints to unbrick my bricked TP-Link WR1043ND (bricked with openWRT and my friend the image-builder). I used the 12 instructions from hvandrie, but i'm not able to pass step 10. After typing
Code:
tftpboot 0x81000000 code.bin
the process starts again, after trying to reload for 10 times.(see the pic) It is the same behaviour, when i'm starting without an ethernet connection. Somtimes, there was the message
Code:
bad checksum
on the screen.
What is wrong?? Is an important property in tftpd32 missing?? My firewall is down.
Please help!!
black_dragon
DD-WRT Novice


Joined: 03 Nov 2011
Posts: 2

PostPosted: Thu Nov 03, 2011 16:32    Post subject: Reply with quote
As many here I bricked my WR1043ND trying to update the firmware. Now device only blink all leds at same and I got a disconnected cable on Windows while the eth cable is plugged in.

In this scenario, will I am able to recover the router using the serial port on board?

I tried yesterday but I got no response and seems that is a usb-ttl adapter issue since I cannot connect to another device which I know that serial is working.

I'll do some other tests with cable including Tx-Rx connection but I suspect that is a W7-x64 issue.
angelsanges
DD-WRT Novice


Joined: 12 Nov 2010
Posts: 6

PostPosted: Sun Nov 13, 2011 20:39    Post subject: Reply with quote
hi! i bricked my router too!

i have v1.8 and on the serial interface i do not have the pins soldered....where i can find the base with 4 pins for soldering?
black_dragon
DD-WRT Novice


Joined: 03 Nov 2011
Posts: 2

PostPosted: Sun Nov 13, 2011 21:06    Post subject: Reply with quote
As I suspected the USB-TTL cable was the problem. I replaced the cable and was able to recover the device.

Now I got a fully functional device, thanks to you guys !!!!
bhzbaraka
DD-WRT Novice


Joined: 15 Nov 2011
Posts: 8

PostPosted: Tue Nov 15, 2011 23:57    Post subject: Reply with quote
fyi2000 wrote:
Kannnix2005 wrote:
It either wont let me into the command promt, if i´m letting the terminal program auto-send tpl.

I think you meant sending "tpl" by "Hotkey".

RealTerm

Auto-sending "tpl" is possible with command line tools "Expect/Send" or "MACRO for TeraTerm".

tp-link.ttl
Code:
; Sample TeraTerm MACRO for interrupting
; the U-Boot process of TP-LINK routers.
connect '/C=3'   ; COM3
if result == 1 then
   beep 1
   messagebox 'Error opening COM port' 'Error'
   end
endif
clearscreen 0
clearscreen 1
dispstr '**** Power on the router now ****' #10#13
setbaud 115200
setdebug 0
timeout = 10
wait 'seconds'   ; Keyword
if result == 0 then
   beep 1
   messagebox 'Keyword not found.' 'Timeout'
   end
endif
sendln 'tpl'
beep 0
end

Teraterm Scripts - Texas Instruments Embedded Processors Wiki



Hello friend blz,

I'm sorry because I am using the google translator, I have this problem as well except that you did this so that I tried and failed can you explain?
I bought this cable http://www.ebay.com/itm/USB-RS232-TTL-PL2303-Chip-Module-Converter-Adapter-/250930819393?pt=LH_DefaultDomain_0&hash=item3a6ca47141 and am using the serial port.

Thank you,
bhzbaraka.
fyi2000
DD-WRT Guru


Joined: 04 Apr 2010
Posts: 642

PostPosted: Wed Nov 16, 2011 8:19    Post subject: Reply with quote
The adapter is the right one. However, there's still some work to do.
    Adapter <-> TL-WR1043ND (P1)
      3.3V
      GND <-> GND
      RX <-> TX
      TX <-> RX
      5V

    115200bps, 8 data bits, 1 start bit, 1 stop bit, no parity.

TP-Link TL-WR1043ND - OpenWrt Wiki - Serial
Quote:

DD-WRT Forum :: View topic - HELP!!!! SEMI BRICKED ROUTER
NSLU2-Linux - HowTo / AddASerialPort browse
Serial port - NAS-Central Buffalo - The Linkstation Wiki

_________________
DD-WRT Forum - Atheros Recommended Build
bhzbaraka
DD-WRT Novice


Joined: 15 Nov 2011
Posts: 8

PostPosted: Wed Nov 16, 2011 14:13    Post subject: Reply with quote
fyi2000 wrote:
The adapter is the right one. However, there's still some work to do.
    Adapter <-> TL-WR1043ND (P1)
      3.3V
      GND <-> GND
      RX <-> TX
      TX <-> RX
      5V

    115200bps, 8 data bits, 1 start bit, 1 stop bit, no parity.

TP-Link TL-WR1043ND - OpenWrt Wiki - Serial
Quote:

DD-WRT Forum :: View topic - HELP!!!! SEMI BRICKED ROUTER
NSLU2-Linux - HowTo / AddASerialPort browse
Serial port - NAS-Central Buffalo - The Linkstation Wiki


I've followed the tips of the adapter, I reversed the RX to TX put in the correct sequence still does not connect more. Looping it gets.

Any other tips?


Thank you,
bhzbaraka.
bhzbaraka
DD-WRT Novice


Joined: 15 Nov 2011
Posts: 8

PostPosted: Thu Nov 17, 2011 18:08    Post subject: Reply with quote
Someone else can help me or know of another solution to this problem?

tanks,
bhzbaraka.
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next Display posts from previous:    Page 5 of 10
Post new topic   Reply to topic    DD-WRT Forum 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