during testing a RM500U-CN module in a prototype board I accidentally switched it into PCIe EP mode (AT+QCFG=“pcie/mode”,0). How can I switch it back to PCIe RP mode without being able to connect it to a PCIe bus directly? My development board does not support this.
Is there a way to factory reset it without having software access to it?
Dear @vaenner.net
Did you install the USB driver on your side?
The latest PCIe driver is Quectel_Linux_PCIE_MHI_Driver_V1.3.6 , I will sent it to you via Message, please check.
The USB driver is built into the kernel (Debian 6.1.52-1). I was able to connect to the ttyUSB2 device before I accidentally switched to PCIe mode. Now the modem is not found any more by this built in driver.
I’m encountering a similar issue where I accidentally switched my RM500U-CN modem to PCIe RC mode. As a result, I’ve lost access to the USB interface (previously appearing as usb0) and all ttyUSBx ports. While the modem is now visible on the PCIe lane, no serial ports are available.
I also tried using pci_mhi, but it didn’t yield any serial ports or the mhi_DUN port. In contrast, my other module, RM520N, works perfectly on the PCIe lane and provides the mhi_DUN port for communication.
Unfortunately, I don’t have an EVB kit. Could you please advise how I can reset the RM500U-CN module? Would reflashing the module be a viable option in this case?
root@OpenWrt:~# lspci
01:00.0 Class 0d80: 16c3:abcd
00:00.0 Class 0604: 1912:002b
Please set the sprd_pcie built-in the boot.img or vmlinux. Do not build it as kernel module.
And please do not reply the message.
Message only works for send files.
I tried building the sprd_pcie built-in image. I have found an entry of quectel_sprd in /etc/modules.d/
root@OpenWrt:~# ls /etc/modules.d/50-quectel-sprd-pcie
/etc/modules.d/50-quectel-sprd-pcie
but lsmod gives nothing
root@OpenWrt:~# lsmod | grep sprd
root@OpenWrt:~#
i did got the kmod package for the same when i build inside image
i even tried installing it again via
root@OpenWrt:~# opkg install kmod-quectel-sprd-pcie_1.1.8-1_aarch64_generic.ipk
Package kmod-quectel-sprd-pcie_1.1.8-1 installed in root is up to date.
Same boat now. Obviously one won’t be able to talk to the device anymore because it can’t join the PCI bus anymore. Is there a hardware way to reset the settings? Is there a manual to access the UART on the device? (RM520N-GL w/o USB in my case) Would it be possible to undo RC mode via UART?