Hi,
I have a TP-Link Archer C7 v2.0 and for some reason it refuses to boot properly. When I connect to its serial console and power it on, I see just a few lines of U-Boot and then the output stops:
U-Boot 1.1.4 (Dec 17 2013 - 16:37:27)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(211): (32bit) ddr1 init
The boot process seems to be halted there and typing does not cause any characters to be printed back. However, sometimes when I power on the router with the WPS/Reset button pressed, I get slightly different output:
U-Boot 1.1.4 (Dec 17 2013 - 16:37:27)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (32bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x4, 0x1f)
Tap values = (0x11, 0x11, 0x11, 0x11)
128 MB
which looks more like a reference boot log from the device's wiki: https://wiki.openwrt.org/toh/tp-link/ar … c7-wdr7500. The output still stops at that point and I am still not able to get any characters printed back when I type.
What is worth noticing is that the line with
ath_ddr_initial_config
has changed. Instead of ddr1, it makes a reference to ddr2. The boot log at the device's wiki shows ddr2 as well. So, it looks like the DDR memory is sometimes initialized to ddr1 and sometimes to ddr2. It does not look right to me, but I have no experience or knowledge in the matter.
I assume the only way to debug and fix this is to use JTAG. I would welcome some advices on how to set it up properly. I have the following JTAG adapter:
http://www.aliexpress.com/item/Freeship … 85138.html
but it only has 10 pins (i.e. no nTRST, nSRST or DINT pins). Do you know if it would be possible to use it with the router's 14 pin EJTAG port? I have read some articles which mention the need for nSRST pin at some boot stage, because (supposedly) otherwise JTAG interface might not be working. But they were referring to different devices and I am not sure if the same or similar principle would apply here as well or not.
Anyway, I can get some other JTAG adapter if needed, but even if I had JTAG connection fully set up and working, what should I do then? My goal is "just" to make the router work again. I can use openocd or UrJTAG, but none seem to ship with the configuration files for the router's board. So, I would have to write it on my own, but I do not have experience in that. In fact, a few days ago I did not even know what JTAG is.
So, I would like to ask if someone has made a successful JTAG connection to this router's board. If yes, can you please describe your approach and share your settings?
Thank you.