RM520N-GL - PCIe to Ethernet... (and DHCP!)

Hi, I’m using RM520N-GL in the following Chinese module, from AliExpress…

https://www.aliexpress.com/item/1005005714195628.html

As well as allowing a USB connection to (eg) a laptop, this includes a 2.5GBits/s ethernet connection, and providing the RM520N-GL is setup correctly, connects to internet with minimal setup. The AT commands to enable this (from the vendor) are as below:

1, set USB mode:
AT+QCFG=“USBNET”,2
2, set to PCIE mode:
AT+QCFG=“data_interface”,1,0
3, set PCIE to RC mode:
AT+QCFG=“pcie/mode”,1
4, set the PHY model:
AT+QETH=“eth_driver”,“r8125”
5, set the dial mode:
AT+QMAPWAC=1

ALSO - they say the USB3.0 port and the RJ45 port can not work at the same time.
To switch to USB port:
AT+QMAPWAC=0

What I would like to know is:

a) I have the AT command manual for the RM520N-GL but some of these AT commands above are not listed…
b) The RM520N-GL appears to be acting like a DCHP server - but I can’t find out how to modify this
c) Any further comments would be greatly appreciated!

Cheers…

1 Like

Dear @radiomean
Please point out which AT commands didn’t list in your document, I will check.
Actullay, I didn’t get your point, what did you want to modify?

Hi Silvia,

Thanks for your reply…
I think the new AT command manual gives me all the data I need!

Much appreciated…

Actually, I can’t find information on the AT+QETH command?

Please can you supply that?

Any updates to this?

This looks like a really interesting project.

i have the same issue here. USB worked but RJ45 does not. My RJ45’s led never light on regardless of mode? Does your RJ45’s led light up? i do not know if my unit is bad or what.

Now my RM520N-GL stuck at AT+QMAPWAC=1 and cannot change back to ‘0’

Any luck? I’m having similar issues, I can get modem to connect via USB but not ETH. I tried a handful of different "usbnet" and "pcie/mode" settings. Currently I have it configured how the first post details but it’s not the same exact device. It’s an MCUZone, seems more modern from this link

https://www.aliexpress.us/item/3256806989722627.html?spm=a2g0o.order_list.order_list_main.36.2d2a1802DBJvyS&gatewayAdapt=glo2usa

It does get IP addresses but I get the feeling it’s not correctly setting up the NAT from the issued DHCP addresses and I can’t figure out how to troubleshoot.

AT+CGPADDR
+CGPADDR: 1,"[Valid IPV6ADDR]"
+CGPADDR: 2,"[Valid IPV4ADDR]","[Valid IPV6ADDR]"
+CGPADDR: 3,"[Valid IPV4ADDR]","[Valid IPV6ADDR]"
+CGPADDR: 4,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 5,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 6,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 7,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"

Have you followed the instructions in this link?

Yea, the only thing odd I am seeing is AT+CFUN: 4 and it won’t stay at 1.

Does AliExpress offer free return for you? The MCUZONE is problematic and it could be defective. I recommend this one instead Dual-Q 5G2PHY Quectel 5Gnr Ethernet PHY adapter design for RM520N RM50 – 4G discount

But it is sold out currently :frowning:

1 Like

Yea definitely, I was thinking I just had it configued wrong. It’s a nicely built device so that’s a bummer.

1 Like

If the wireless haven website ships to your address they have this new board in stock but they sell it for $10 more if you don’t mind giving it a try.

1 Like