RM500U-CN - Switch back from PCIe EP mode to PCIe RC mode without PCIe access (only USB)? Factory reset?

Thanks .
I have a custom board which does not have debug support for the modem. Is there another way of doing it ?