Belkin RT3200/Linksys E8450 WiFi AX discussion

Hi, I need some help with JTAG, I'm pretty much a newbie on that (using only serial). So what i did:

  1. Soldier some wires (not my best work, but no shorts and connected)
  2. Using CH341A and https://github.com/John-sanpe/openocd-ch341a connected it
  3. Build and run openocd with the following result:
Open On-Chip Debugger 0.11.0+dev-g0f30023 (2022-07-09-10:47)
Licensed under GNU GPL v2
For bug reports, read
 http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
ch341a num: SRST = 2 D2

Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : ch341a chip version: 0x0030
Info : This adapter doesn't support configurable speed
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: mt7622.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Invalid ACK (7) in DAP response
Error: JTAG-DP STICKY ERROR

I've also ordered a CMSIS DAP/DAPLink Emulator STM32 from Aliexpress to give it another try.

My question is do I only need those pins :
CLK(D3) -> TCK
CS(D0) -> TMS
MOSI(D5) -> TDI
MISO(D7) -> TDO ?

should i be connecting ground (that didn't help) or power (i'm using the router's power) ?
My problem why i need jtag is

[EMI]detect rank0 size error!!

So pretty much nothing to lose, i tried also reading the nand but the clip is not working and i messed up the soldering, or that chip is not compatible with cha341a that i have.

Any help would be apriciated?


Did you build OpenOCD with the patch needed?
You may also need pull-up/pull-down resistors for TMS and TCK signals. See for example:
JTAG pull graphics

And you will for sure need to connect the ground as well...

What voltage is it expecting? I distinctly remember that particular adapter shoving 5v down the data lines being a common finding.

I'm interested in link arrogation to see if i can milk more out of the 5ghz wifi connection; any ideas how? it's just used as a dumb ap. not a router.

I know the wifi connection can do it; on iperf3, I can easily get 1.20 Gbits/sec. my router is an x86 box with 6 dedicated network cards(not a switched interface).

Any ideas how to do this?

Nope. There's only one GMAC connected to the switch.

Eh, that internal link really seems to be capable of at least 2Gbps.

Connecting to host 172.16.100.1, port 5201
[  5] local 172.16.100.2 port 50086 connected to 172.16.100.1 port 5201
[  7] local 172.16.100.2 port 50088 connected to 172.16.100.1 port 5201
[  9] local 172.16.100.2 port 50094 connected to 172.16.100.1 port 5201
[ 11] local 172.16.100.2 port 50108 connected to 172.16.100.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  56.8 MBytes   476 Mbits/sec    0    413 KBytes       
[  7]   0.00-1.00   sec  51.4 MBytes   431 Mbits/sec    0    187 KBytes       
[  9]   0.00-1.00   sec  56.3 MBytes   472 Mbits/sec    0    403 KBytes       
[ 11]   0.00-1.00   sec  58.7 MBytes   492 Mbits/sec    0    498 KBytes       
[SUM]   0.00-1.00   sec   223 MBytes  1.87 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  56.5 MBytes   474 Mbits/sec    0    513 KBytes       
[  7]   1.00-2.00   sec  55.5 MBytes   466 Mbits/sec    0    233 KBytes       
[  9]   1.00-2.00   sec  56.0 MBytes   470 Mbits/sec    0    491 KBytes       
[ 11]   1.00-2.00   sec  57.3 MBytes   481 Mbits/sec    0    605 KBytes       
[SUM]   1.00-2.00   sec   225 MBytes  1.89 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  47.2 MBytes   396 Mbits/sec    0    625 KBytes       
[  7]   2.00-3.00   sec  46.3 MBytes   388 Mbits/sec    0    304 KBytes       
[  9]   2.00-3.00   sec  47.2 MBytes   396 Mbits/sec    0    540 KBytes       
[ 11]   2.00-3.00   sec  45.8 MBytes   384 Mbits/sec    0    666 KBytes       
[SUM]   2.00-3.00   sec   186 MBytes  1.56 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  49.2 MBytes   413 Mbits/sec    0    625 KBytes       
[  7]   3.00-4.00   sec  48.2 MBytes   405 Mbits/sec    0    368 KBytes       
[  9]   3.00-4.00   sec  48.7 MBytes   409 Mbits/sec    0    540 KBytes       
[ 11]   3.00-4.00   sec  49.0 MBytes   411 Mbits/sec    0    666 KBytes       
[SUM]   3.00-4.00   sec   195 MBytes  1.64 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  42.7 MBytes   358 Mbits/sec    0    625 KBytes       
[  7]   4.00-5.00   sec  43.5 MBytes   365 Mbits/sec    0    368 KBytes       
[  9]   4.00-5.00   sec  42.5 MBytes   356 Mbits/sec    0    540 KBytes       
[ 11]   4.00-5.00   sec  43.8 MBytes   367 Mbits/sec    0    666 KBytes       
[SUM]   4.00-5.00   sec   172 MBytes  1.45 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  47.2 MBytes   396 Mbits/sec    0    625 KBytes       
[  7]   5.00-6.00   sec  46.5 MBytes   390 Mbits/sec    0    389 KBytes       
[  9]   5.00-6.00   sec  47.8 MBytes   401 Mbits/sec    0    540 KBytes       
[ 11]   5.00-6.00   sec  47.1 MBytes   395 Mbits/sec    0    666 KBytes       
[SUM]   5.00-6.00   sec   189 MBytes  1.58 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  52.4 MBytes   439 Mbits/sec    0    625 KBytes       
[  7]   6.00-7.00   sec  52.0 MBytes   436 Mbits/sec    0    389 KBytes       
[  9]   6.00-7.00   sec  52.0 MBytes   436 Mbits/sec    0    540 KBytes       
[ 11]   6.00-7.00   sec  51.4 MBytes   431 Mbits/sec    0    666 KBytes       
[SUM]   6.00-7.00   sec   208 MBytes  1.74 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  47.5 MBytes   399 Mbits/sec    0    732 KBytes       
[  7]   7.00-8.00   sec  46.6 MBytes   391 Mbits/sec    0    451 KBytes       
[  9]   7.00-8.00   sec  47.0 MBytes   395 Mbits/sec    0    595 KBytes       
[ 11]   7.00-8.00   sec  46.5 MBytes   390 Mbits/sec    0    734 KBytes       
[SUM]   7.00-8.00   sec   188 MBytes  1.57 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  56.0 MBytes   470 Mbits/sec    0    732 KBytes       
[  7]   8.00-9.00   sec  54.9 MBytes   460 Mbits/sec    0    451 KBytes       
[  9]   8.00-9.00   sec  54.9 MBytes   460 Mbits/sec    0    595 KBytes       
[ 11]   8.00-9.00   sec  56.0 MBytes   470 Mbits/sec    0    734 KBytes       
[SUM]   8.00-9.00   sec   222 MBytes  1.86 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  51.2 MBytes   430 Mbits/sec    0    732 KBytes       
[  7]   9.00-10.00  sec  50.4 MBytes   423 Mbits/sec    0    474 KBytes       
[  9]   9.00-10.00  sec  50.6 MBytes   424 Mbits/sec    0    631 KBytes       
[ 11]   9.00-10.00  sec  50.9 MBytes   427 Mbits/sec    0    779 KBytes       
[SUM]   9.00-10.00  sec   203 MBytes  1.70 Gbits/sec    0             
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   507 MBytes   425 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   503 MBytes   422 Mbits/sec                  receiver
[  7]   0.00-10.00  sec   495 MBytes   415 Mbits/sec    0             sender
[  7]   0.00-10.00  sec   493 MBytes   414 Mbits/sec                  receiver
[  9]   0.00-10.00  sec   503 MBytes   422 Mbits/sec    0             sender
[  9]   0.00-10.00  sec   500 MBytes   420 Mbits/sec                  receiver
[ 11]   0.00-10.00  sec   506 MBytes   425 Mbits/sec    0             sender
[ 11]   0.00-10.00  sec   503 MBytes   422 Mbits/sec                  receiver
[SUM]   0.00-10.00  sec  1.96 GBytes  1.69 Gbits/sec    0             sender
[SUM]   0.00-10.00  sec  1.95 GBytes  1.68 Gbits/sec                  receiver

That's bonded over two of the switch ports to an external host.

Since there's no hardware support you're doing all this in software, which makes it more of an academic exercise than anything practical.

1 Like

I ended up ditching using the RT3200s with OpenWRT, and got TP-Link Omada stuff, because I was tired of how weak the 5GHz signal was. When I tried using "usteer" to provide roaming suggestions to devices, the clients would see lost packets every time a roam was performed.

But now what should I use my RT3200 units for?

1 Like

bit of info oh how you did it?

fwiw, any good as an OpenVPN router?

I wonder what is the maximum openvpn speed through the RT3200?

Yes it is 2.5 Gbps.

1 Like

sell em to others in need of a good device?

Its pretty good, I range from a minimum 0f 80mbps down to a max 140 down depending on server/provider, usually average around 90-100, not too far off from what I get with an rpi4 (130-140).

1 Like

Why don't you use WireGuard?

1 Like

Just a combination of laziness and not really needing it, my plan is only 200 down, so getting around 100 is fine, but I've got it installed, just a matter of getting around to it one of these days.

1 Like

Just use the functionality provided by the built in bonding packages. Bond any two switch ports removed from the bridge.

You could also roll your own scripts to set that up (afaik the GUI config makes some assumptions?) - I was lazy and didn't attempt to bridge the bond interface with the wireless one.

Good luck though, pretty sure this won't net you significant improvements for wireless IRL unless you're right next to it.

@nbd Hello Felix & team, I saw today the new commit (kernel: backport mtk wlan flow offloading fix) so I compiled latest versions from master and made new tests. Unfortunately, wed is still not working for NAT WAN-WLAN connections, only for local LAN-WLAN connections. I tested with both firewall3 and firewall4, the same situation. Thank you & all contributors for keeping track of this issue.

6 Likes

I thought I'd just chime in to say that RC5 on the RT3200 has been my best router experience ever, by far. Performance, range and stability are all flawless!

Thanks!

3 Likes

I'm interested in trying RC5, but am already on latest snapshot.
Is there anything I need to watch out for if I downgrade to RC5? (Should I just wipe/reset the entire router and setup from scratch?)

Why downgrade? Snapshots are in general stable particularly on this hardware.

If you mean from latest 22.03-SNAPSHOT then I think it's just below and keep settings.

auc -b 22.03 -B 22.03.0-rc5

While using the default sysupgrade server: https://sysupgrade.openwrt.org

If you mean from master branch with 5.15 kernel maybe you would need to restore settings?

1 Like