Support for TP-Link Archer C2 v3

#1

Hi,

I'm looking for LEDE firmware for TP-Link Archer C2 V3, does somebody know if something like this exists?

https://wikidevi.com/wiki/TP-LINK_Archer_C2_v3.x
https://www.tp-link.com/baltic/products/details/cat-9_Archer-C2-V3.html#overview

1 Like

#2

this is similar to this, so it could be made, depends on how the image needs to be created, the rest is almost done

0 Likes

#3

Archer C2 AC900 v3 I think is one of the best cheapest gigabit dual band routers. Featuring Qualcomm Atheros chipset, which is widely supported by WRT? Im not expert in this : )

0 Likes

#4

It will be possible? NAT Boost is not a problem in this case?

0 Likes

#5

https://www.tp-link.com/baltic/products/details/cat-9_Archer-C2-V3.html#specifications

I think it's possible ; same hardware like TL-WR1043N
https://wikidevi.com/wiki/TP-LINK_TL-WR1043N_v5.x

TL-WR1043N : 16/64 - QCA9563 (2.4GHz)

Archer C2 v3 : 16/128 - QCA9563 (2.4GHz) + QCA9887 (5GHz)
2×2.4GHz Antennas + 1×5GHz & 2.4GHz Dual Band Antenna

0 Likes

#6

Hello,

I am also interested in adding support for this device. I have opened my device and managed to solder the UART pin headers to the PCB. There are some missing elements on the board that need to be bridged or else the headers won't work. In my case I've added a bridge across R902 and R912 while removing the resistor at R24. This seems to work for my 3.3V USB-to-serial adapter and I am able to connect to the device. Much to my surprise the device already seems to be running OpenWRT AA-rc1 as the stock firmware.

Here is the device stock boot log example: https://pastebin.com/ibQsPPDv
Here is some extra info I pulled off: https://pastebin.com/MrNw8PKA

Archer_C2_v3

0 Likes

I can't seem to find openwrt firmware for archer c2 v3 ac900
#7

Here are the serial lines zoomed in and marked:
Archer_C2_v3_serial

0 Likes

#8

That was my reaction as well.

Anyhow, added support for it in ath79 target: https://github.com/openwrt/openwrt/pull/1501, from what I can tell, everything works.
Mind you I did my upgrade using tftpboot, so update through web on your own risk.

NAT throughput with nat offloading (tested with iperf3): 900+Mbps, without ~300Mbps.
Wifi capabilities: https://pastebin.com/RtWxa6rQ

0 Likes

#9

Also some more info for those that are interested:
GPIO tests: https://pastebin.com/80MrFt4g
TPLink default UCI config: https://pastebin.com/DgiKU1iG

0 Likes

#10

Hey, do the multi-color LED's have any protection? I see the WAN LED on this device only has 2 pins so I assume it's a bipolar LED. What happens, if someone turns both WAN1 and WAN2 GPIO's on?

0 Likes

#11

Led will turn off, same way if you set both pins low.

0 Likes

#12

Well... I'm not sure, if I was being clear or not.
Do you ever wonder why the LED turns off?
Shouldn't it turn on with both colors instead?
Let em give you a hint: short circuit.

EDIT: Actually I take that back.
I assumed the bipolar diode was driven by something like an H-bridge and I feared that placing both GPIO's to HIGH would result in a short circuit and cause smoke to come out of the device. This is why you sounded rather brave when you turned both pins on. But later it hit me that your words make complete sense, if the bipolar diode is wired in the following manner:

GPIO-A => Resistor => Bipolar Diode => GPIO-B

0 Likes

#13

I have my own openwrt builded but I can't update firmware by tftpd.
I changed original filename openwrt-ath79-generic-tplink_archer-c2-v3-squashfs-factory.bin to ArcherC2V3_recovery.bin but after updating it occurs that there is still original firmware.

0 Likes

#14

The way I did it (was mainly using it for testing, ramfs boot method):

  1. Exit to uboot menu by pressing Esc.
  2. rename initramfs bin file to 0100A8C0.img (or whatever the uboot requires), start tftp server
  3. issue "tftpboot" command in uboot prompt, after the image has been downloaded issue "bootm" command
  4. router boots into openwrt
  5. check if everything ok, flash sysupgrade using luci.

Word of caution, after a bit of use I found that then using 5G wifi the router crashes with out-of-memory error, haven't had time to investigate it further.

0 Likes

#15

As I mentioned before I tried to flash my image with tftp for windows downloaded from this site
http://tftpd32.jounin.net/tftpd32_download.html
To to this I changed filename of original compiled image openwrt-ath79-generic-tplink_archer-c2-v3-squashfs-factory.bin to ArcherC2V3_recovery.bin but this not help.
It looks like router will upload new firmware but after some time there is still old original firmware.
Router boots with original firmware.

Can I flash this firmware only by connecting to console by rs232(ttl) ?

Connection received from 192.168.0.86 on port 3534 [03/11 23:01:58.539]
Read request for file <ArcherC2v3_recovery.bin>. Mode octet [03/11 23:01:58.539]
OACK: <timeout=3,> [03/11 23:01:58.545]
Using local port 51310 [03/11 23:01:58.545]
<ArcherC2v3_recovery.bin>: sent 8322 blks, 4260547 bytes in 2 s. 0 blk resent [03/11 23:02:00.241]
0 Likes

#16

Using recovery method uboot fails with error:
NM_Error 00882: Double boot flag up 0 flash 1 not ok!
NM_Error 01144: upgrade boot mode check fail.
NM_Error 01255: checkUpdateContent failed.

So far the moment the only way to flash openwrt is using console.

0 Likes

#17

Thanks to Heinz from https://tplinkforum.pl/
I made this changes (line 1639) in tools/firmware-utils/src/tplink-safeloader.c:

Before

if (strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
    strcasecmp(info->id, "ARCHER-C59-V2") == 0 ||

After

if (strcasecmp(info->id, "ARCHER-C2-V3") == 0 ||
    strcasecmp(info->id, "ARCHER-C25-V1") == 0 ||
    strcasecmp(info->id, "ARCHER-C59-V2") == 0 ||

This works :slight_smile:

1 Like

#18

Yes, it works ! I was just preparing to solder a pin header ...

Thanks guys! (especially to X-log and Airwind)

0 Likes

#19

Any update on this ?
Does 5G works?

0 Likes

#20

5GHz wireless works. I didn't have any problem with it.

archerc2_radios

iperf3_001

0 Likes