RM500U-CN - no USB connection, AT+QCFG command

Hi, I’ve got some issues with my RM500U-CN module…

a) Using the AT+QCFG=“usbmode”,host command I’ve now lost USB connection to the module (previously it was connecting via both USB and PCIe, but I lost the USB connection BUT still had USB ports - and the AT command port obviously. When I issued the host command above I lost all the ports! Please how can I restore the USB ports…

When I power it up, a port called - SPRD U2S Diag (COMx) appears briefly, but then disappears…

b) When I issue the AT+QCFG=? command (earlier, when I had an AT port!) I get a long list of available commands. Some I can guess at but none appear in the AT command manuals. Please can someone explain what these all do… The are listed below!

Thanks…

AT+QCFG=?

+QCFG: “usbnet”,(1,3,5)
+QCFG: “nat”,(0-2)
+QCFG: “usbcfg”,(1-65535),(1-65535),(0,1),(0,1),(0,1),(0,1),(0,1),(0,1),(0,1)
+QCFG: “ims”,(0,1)
+QCFG: “pcie/mode”,(0,1)
+QCFG: “ethernet”,(0,1)
+QCFG: “uartat”,(0,1)
+QCFG: “usbid”,(1-65535),(1-65535)
+QCFG: “multiusbnet”,(1-4),(0-4)
+QCFG: “usbmac”,(sipa_usb0,usb0,usb1,usb2,usb3)
+QCFG: “hostmac”,(usb0,usb1,usb2,usb3),
+QCFG: “staticarp”,(0,usb0,usb1,usb2,usb3),
+QCFG: “lanip”,,,<lease_time>
+QCFG: “lanip_ex”,,,<start_ip>,<end_ip>,<lease_time>
+QCFG: “loopback”,(0-15)
+QCFG: “usage/apmem”
+QCFG: “usage/apfs”
+QCFG: “proxyarp”,(0,1)
+QCFG: “5glan”,(1-8),(0,1)
+QCFG: “vlan”,(0,1)
+QCFG: “autoapn”,(0,1)
+QCFG: “usbmode”,(host,device)
+QCFG: “usbspeed”,(11,20,30)
+QCFG: “rp_filter”,(0-2)
+QCFG: “ipa”,(0-2)
+QCFG: “netmask”,(0,1)
+QCFG: “thermal/modem”,(1,2),(0~110000)
+QCFG: “tts”,(0,1)
+QCFG: “pm/powersave”,(0,1)
+QCFG: “vonr”,(0,1)
+QCFG: “pcie/direct”,(0,1)
+QCFG: “pack”,(0,1)
+QCFG: “mtu”,(1-4),

Can anyone help with an explanation of the AT_QCFG command please?

Thanks!

If you can send commands over UART or Ethernet try
AT+QCFG="usbmode",device and, if necessary, at+qcfg="usbcfg",0x2C7C,0x0900,1,1,1,1,1,1,1

Potentially the modem can self-heal after the upgrade, but you will probably need to force it via USB_BOOT.

Thank-you.
Can you give me a bit more information about USB_BOOT please?

Cheers!

I suppose the procedure is common for multiple Quectel modems - USB_BOOT test point should be connected to 1.8V for a short time after power on. I recall they published pictures in the forum.

Oh, that sounds promising. What does it do to the module?
Thanks…

Edit - ok, I have found this:

You can pull up “USB_BOOT” to 1.8 V before “VDD_EXT” is powered on, and the module will enter the emergency download mode when it is restarted

Possibly that enables flashing new firmware.
But a problem is that I don’t have any firmware for RM500U-CN module!