RM520-GL No NMEA output

Good Day,

I have an RM520N-GL that is not outputting any GPS data (NMEA) from the “usbnmea” interface:

-Firmware Version
at+qgmr
RM520NGLAAR01A08M4G_01.205.01.205

-GPS Lock
AT+QGPSLOC=0
+QGPSLOC: 134424.00,7227.3747N,02059.6624W,0.9,32.3,3,0.0,0.0,170225,13

-GPS Configuration
AT+QFG="scfg
+QCFG: “usbcfg”,0x2C7C,0x0801,0,1,1,0,0,0,0

AT+QGPSCFG=“outport”
+QGPSCFG: “outport”,usbnmea

AT+QGPSCFG=“nmeasrc”
+QGPSCFG: “nmeasrc”,1

AT+QGPSCFG=“gpsnmeatype”
+QGPSCFG: “gpsnmeatype”,31

A+QGPS?
+QGPS: 1

I have the modem installed in an M.2 to USB 3.0 housing. When I connect this to a machine, I see the two (2) expected TTYs (1 x NMEA and 1 x AT Command) get created. I can access the TTY for AT commands with no problem, but the TTY for the NMEA output does not show any data. I am clearly receiving a GPS signal (13 satellites) and am locked onto it, but I cannot figure out why I am not able to see the stream of NMEA output.

I have tried re-enabling some of the USB/UART ports to see if this would re-enable the NMEA output, but unfortunately I am still not seeing any output from the USB NMEA port.

My Current Setting: AT+QCFG=“usbcfg”,0x2C7C,0x0801,1,1,1,1,0,0,0

I have also moved the RM520N-GL card to a case that is M.2 to USB / Ethernet (Waveshare Case) and enabled the PCIe Root Complex mode to see if this would make any difference but I am still not seeing any data from the USB NMEA port.

AT+QCFG=“data_interface”
+QCFG: “data_interface”,1,0

AT+QETH=“eth_driver”
+QETH: “eth_driver”,“r8125”,1
+QETH: “eth_driver”,“r8168”,0

AT+QCFG=“pcie/mode”
+QCFG: “pcie/mode”,1

AT+QCFG=“usbnet”
+QCFG: “usbnet”,1

Please, I really need to get help on this issue. I cannot move forward with my evaluation testing without some support on this issue.

Thank You

NMEA port is disabled, please enable it in usbcfg.


Image source:https://www.quectel.com/download/quectel_rgx00urm500u_series_at_commands_manual_v1-0/

:warning:WARNING​:warning:: This AT command is very dangerous, and incorrect input may have serious consequences. Please double check before entering the command!!

First, thank you @qows for responding and providing me another avenue to investigate.

The configuration from the AT Command reference (posted by @qows) is not aligned with what Quectel has provided me previously for the RM520N-GL. The below image is what I received from Quectel a week ago. The difference from the image posted by @qows is an additional “LOG” port. If the AT+QCFG=“usbcfg” from @qows is applicable to the RM520N-GL, this would obviously throw off the alignment of ports I have been enabling / disabling.

I will give this a try, but I’d also really like to get feedback from Quectel on which implementation for AT+QCFG=“usbcfg” is correct for the RM520N-GL with Firmware: RM520NGLAAR01A08M4G_01.205.01.205. I have to assume the one sent to me by Quectel from the RG520N-EU&RM520N-GL_UAC_Application_Note must be accurate and applicable to the RM520N-GL unless this has been updated in the latest firmware and the documentation simply hasn’t caught up yet.

See Below:

I very much appreciate the pointer

Obviously, as it is taken from the document related to a completely different modem - note “U” in the name. So there is no need to try and thank

So why didn’t Quectel add this command to the AT command manual?
RM500Q,RM520N,RM551E…It’s not even in the docs.A request from Qualcomm?

Can you share the document you mentioned? Thank you!

Upon closer inspection, I can see the suggested description for AT+QCFG=“usbcfg” from @qows can’t be applicable to the RM520N-GL. This does not include the NET (or Network port). Sometimes new configurations are added in updated firmware, and the documentation can take a while to catch up, so it’s sometimes good to review other devices’ AT command references, but in this case, it simply can’t be applicable.

Thank you again for the suggestion. My search continues…

Dear @svandive
RM500U is based on Unisoc platform. It is different with Qualcomm.

For nmea port, which did you use?ttyUSB1 or others? Did AT command port is ttyUSB2?

As the original poster, I wanted to clarify. I am using an RM520N-GL card.

This is a FreeBSD machine I am using so the port names are going to be a bit different from Linux.
My AT port is /dev/cuaU0.2 and this is working just fine using minicom to access the device.

My NMEA port should be /dev/cuaU0.1, however nothing is output on this interface.

I really need to figure out what misconfiguration I have that is not allowing the NMEA output from the /dev/cuaU0.1 interface.

Can I get some support on this? I opened this question 6 days ago and I don’t have a response from Quectel that addresses my original issue. Can I pay for support to get this issue addressed??

Why is the module not outputting any data on the NMEA tty???

Dear @svandive
As you set the data_interface to PCIE mode, so it can’t output the nmea sentences from nmea port.

You can set AT+QCFG=“data_interface”,0,0 to try again.
If want to use Ethernet, please use uartdebug to output nmea sentences.

Except the RM-520N-GL doesn’t have a UART port. Is this the only option? Can i not use the GPS and the Ethernet at the same time?

So the solution here is that I needed to set the data_interface to 0,0 (e.g. AT+QCFG=“data_interface”,0,0

This still allows me to use the Ethernet port while outputting the NMEA sentences on the USB-NMEA port.

To my surprise this doesn’t cause the Network interface to also appear over the USB bus. All network traffic is still directed to the Ethernet and no additional networking port shows up on the USB connection. This is exactly what I needed.