OpenWrt Forum Archive

Topic: TL-WR941ND Bricked : All Leds blinking (SOLVED)

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
I installed the wrong BIN file and now my router is blinking all leds for 2 seconds ... I cant access it by WAN anymore ... what I need to do to recover my router ?

TP-Link TL-WR941ND

https://www.youtube.com/watch?v=0GkL_lMsSfk

Can I make some serial cable tool with this 2 cables :

http://i.imgur.com/CcE965u.jpg

http://i.imgur.com/JWdWm88.jpg

Its possible ?
http://i.imgur.com/dfwEyWS.jpg
http://i.imgur.com/ErAAxaG.jpg

(Last edited by duardbr on 15 Sep 2016, 18:33)

TBH, I don't have nor know any TL-WR941ND. However, I used this inexpensive PL2303HX module to connect a serial port on my embedded devices, i.e. Seagate GoFLEX NET/Home, PogoPlug Pro 02, etc., to a USB port on my computer to do the trouble shooting.

I just bought this piece, but only comes in 1-5 September, you could give me more details of how I have to use it on the router card?

http://i.imgur.com/o7qzkTQ.png

Conversor Usb Serial Rs232 Ttl Pl2303hx Arduino Mini Nano

I Just plug it into a USB port on my computer and run minicom. When the first time you run minicom, it may point to the wrong port and/or device and you will need to configure your minicom to point to the right device. As with the embedded device, I connect GND (PL2303HX) -> GND (Embedded device), RX (PL2303HX) -> TX (Embedded device), and TX (PL2303HX) -> RX (Embedded device). That's all there to it.

duardbr wrote:

I just bought this piece, but only comes in 1-5 September, you could give me more details of how I have to use it on the router card?

http://i.imgur.com/o7qzkTQ.png

Conversor Usb Serial Rs232 Ttl Pl2303hx Arduino Mini Nano

with serial port, unbrick is just a peace of cake

I only see this strange characters , what I do wrong ?


➜  ~ sudo picocom -b 115200 /dev/ttyUSB0
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready
���������<������>������>����_~����������_�>n�������>��ρ����������������~�?���_~a��}�~�}��߿��<�ؿ?��������������|������������������>������?�����?���������������|������ �?����^�������������|����o�����������������������Y������~�.����?�_���?�~��������8� ��|��������������~��x�������?00���>��~��?������>~�����~��~��x�����������?�?~�\��<>x��������p����>���߁��������>�?������������?�������?���.������?�����?��>���x��g����������?>���y~��8?�������^~����^���~������y?������y��>}������������x������1�0�����~���� ����?����}��x~�����?����������������0������=���������}�|����x0����.���������~������̞��x����~�����|��������>����>����������~�������H?����?���0���������������?�����0��������?x�������~�����������>0>~�����������>�������������>?���?~������������~������x����??��������{�>�?>~���������?����!���?~���a~�����0y�������x�����~��x�������8���c�~��<��ء���~C�������|}��������������������y�x��������~�����>��~���?�a������~������~>���������������������~����>�_���~��������a�����~��������������?��������|�|�������?|���=��?�������8�������������?~�����0�����~�~^�n�������������y���~�~�����x������x?������}�����?�����������������~^����������������~�������>?>�������}��������������?�������������_������y~��������������������s�ߟ�>��������������?���������0�x�~�x>������?�7��������|��������������?�_�?�1�x�����p�������_��������>����������~���\�?��1�������������?��������|����?���������������(|����������������}��>��������x�a���������������?��^��������������~��~�����~��������������~��>�>���ߞ�Q��x����
FATAL: term closed

Baudrate for AP81 is 9600 bps.

Im getting error on trying to ERASE

After open the serial connection my env is that

wasp> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:128k(u-boot),1024k(kernel),2816k(rootfs),64k(config),64k(art)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41
ipaddr=192.168.1.111
serverip=192.168.1.100
dir=
lu=tftp 0x81000000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x81000000 ${dir}${bc}-squashfs&&erase 0x9f120000 +$filesize&&cp.b $fileaddr 0x9f120000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 555/65532 bytes

Then I start Tftp32 with the correct img file

wasp> tftpboot
enet1 port1 up
dup 1 speed 1000
*** Warning: no boot file name; using '6F01A8C0.img'
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename '6F01A8C0.img'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############
done
Bytes transferred = 4063744 (3e0200 hex)
wasp>

this is my printenv at this poing

wasp> printenv bootcmd
bootcmd=bootm 0x9f020000

After that I will try to ERASE, but Im getting error

erase 0xbf020000 +0x3e0200

▒▒ɽ▒▒ end address (0xbf4001ff) not in flash!
Bad address format
wasp>

I need some help on that, please.

The same error when I try to upload the openwrt firmware

wasp> tftpboot 0x80000000 openwrt-ar71xx-generic-tl-wr941nd-v6-squashfs-factory.                 bin
enet1 port1 up
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'openwrt-ar71xx-generic-tl-wr941nd-v6-squashfs-factory.bin'.
Load address: 0x80000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################################
done
Bytes transferred = 3932160 (3c0000 hex)
wasp> erase 0xbf020000 +0x3c0000
Error: end address (0xbf3dffff) not in flash!
Bad address format
wasp>

I found my error about ERASE , the correct memory address is
erase 0x9f020000 +0x3c0000

My router is recovered !

The discussion might have continued from here.