Help me i bricked my tp wr840nv5

i tried this tutorial (https://youtu.be/RtqVKNfuxWM) on my tp-wr840n5v router with no success, i got different putty logs & still in boot loop

flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Dec 11 2017  Time:16:09:07
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
continue to starting system.                                                  0
disable switch phyport...

3: System Boot system code via Flash.(0xbc020000)
do_bootm:argc=2, addr=0xbc020000
## Booting image at bc020000 ...
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
[04030C0E][04030C0C]
DDR Calibration DQS reg = 00008788


U-Boot 1.1.3 (Dec 11 2017 - 16:09:07)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Dec 11 2017  Time:16:09:07
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!! 0
TODO, Read MAC Address from Flash

switch BootType:

4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Dec 11 2017 - 16:09:07)
MT7628 # setenv ipaddr 192.168.0.1
MT7628 # setenv serverip 192.168.0.66
MT7628 # tftpboot 0x80000000 openwrt-18.06.1-ramips-mt76x8-tl-wr840n-v5-squashfs-sysupgrade.bin

 netboot_common, argc= 3

 NetTxPacket = 0x83FE77C0

 KSEG1ADDR(NetTxPacket) = 0xA3FE77C0

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.66; our IP address is 192.168.0.1
Filename 'openwrt-18.06.1-ramips-mt76x8-tl-wr840n-v5-squashfs-sysupgrade.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80000000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
T Got ARP REPLY, set server/gtwy eth addr (5c:f9:dd:66:37:ff)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #############Got ARP REQUEST, return our IP
####################################################
         #################################################################
         #################################################################
         #################################################################
         ###############
done
Bytes transferred = 3735729 (3900b1 hex)
NetBootFileXferSize= 003900b1
MT7628 # erase 0x9f020000 +0x3c0000
Usage:
erase   - erase SPI FLASH memory

MT7628 # cp.b 0x80000000 0x9f020000 3c0000

opy 0x80000000 to 0x9F020000, count 0x3C0000....
MT7628 # reset
[04030C0E][04030C0C]
DDR Calibration DQS reg = 00008788


U-Boot 1.1.3 (Dec 11 2017 - 16:09:07)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Dec 11 2017  Time:16:09:07
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
continue to starting system.                                                  0
disable switch phyport...

3: System Boot system code via Flash.(0xbc020000)
do_bootm:argc=2, addr=0xbc020000
## Booting image at bc020000 ...
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
[04030C0E][04030C0C]
DDR Calibration DQS reg = 00008788


U-Boot 1.1.3 (Dec 11 2017 - 16:09:07)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Dec 11 2017  Time:16:09:07
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!! 0
TODO, Read MAC Address from Flash

switch BootType:

4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Dec 11 2017 - 16:09:07)
MT7628 #

kindly advise.

The YouTube is for version 9, your post states you have a version 5.

First, let's make sure you have the correct firmware:

https://openwrt.org/toh/hwdata/tp-link/tp-link_tl-wr840n_v5

Continuing the discussion from Help me i bricked my tp wr840nv5:

sure i already used wr840n version 5 firmware

Please refrain from making multiple topics for the same issue - it's quite confusing. I believe the mods have fixed the situation for you at this time.

  • Can you attempt to simply boot the image instead of flash it?

EDIT: By the way, I looked though the video you posted above...at no point did I see OpenWrt firmware used. Why did you use the serial procedure?

  • Did you brick your router using the procedure in the video...or are you trying to UNBRICK your router using that video?
  • Are you trying to flash the OEM firmware, or OpenWrt firmware?
  1. my router stuck in boot loop, i bricked it during update openwrt frimware
  2. i used this method but no success
  3. i tried to flash it with both oem and openwrt frimware

OK...please answer my first question:

What files did you use?

Let me be more clear. Why are you using the procedure for a version 9, instead of a version 5 (which you own)?

i run putty & write tftpboot then ctrl+c to escape
it shows that it search for:

  1. TFTP from server 192.168.0.225
  2. Filename 'test.bin'.
  3. Load address: 0x81000000

so i setup PC IP, run tftpd64 & rename the firmware https://openwrt.org/toh/hwdata/tp-link/tp-link_tl-wr840n_v5
then run putty & write tftpboot, it download file to router [ Bytes transferred = 3735729 (3900b1 hex) ]

but my problem when i tried to flash and copy it do nothing as following
MT7628 # erase 0x81000000 3900b1
Usage:
erase - erase SPI FLASH memory

MT7628 # cp.b 0x81000000 0x9f020000 3900b1

Copy 0x81000000 to 0x9F020000, count 0x3900B1....
MT7628 # reset

and goes again to bootloop and it not same as youtube video

is there any solution?