A TRM240 is acting strangely

Hello,

I have a question about the TRM240.

Somehow, I managed to make the device behave strangely on a Windows PC.

I have to admit that I sent 1-2 AT commands via Putty, but I can’t remember exactly what they were.

The TRM240’s behavior is such that it is recognized by the Windows 10 PC, and a Quectel USB AT port, a Quectel DM port, a Quectel NMEA port, and a Quectel Wireless Ethernet Adapter network adapter appear in Device Manager, but only temporarily. What I mean is that the entries are there for a few seconds, then disappear again and reappear.

In the Network and Sharing Center, a mobile connection appears and disappears again in exactly the same rhythm.

Curiously, however, I can permanently access the TRM with Putty and apparently send AT commands, which are also confirmed with OK. I tried this with AT&F and AT&W.

Unfortunately, this does not change the behavior of the TRM240.

What other options are there for restoring the TRM240 to its factory settings, since it worked perfectly at first? I only played around with it because I wanted to use it as a backup for a router. In retrospect, that was a little naive.

Perhaps someone knows the decisive command or procedure.

Thank you in advance for your efforts!

Best regards,

Carsten

Hello,

Could you confirm whether this issue is also apparent with a different Windows machine?

Regards,
M.

Hi,

I will probably only be able to do that tomorrow, then I will report back.

Thanks.

Best regards,

Carsten

Good evening,

Unfortunately, I have to report that the same behavior is occurring on another PC.

This PC has not yet been connected to the TRM240.

I installed the drivers, connected the TRM240, and it is alternately listed and then discarded again, etc. …

What can I do to get the TRM249 to work again?

Best reagards,

Carsten

Greetings, @Falconcrest ,

Thank you for reaching out.

Since you cannot recall what kind of AT commands were executed, we can try restoring mobile module’s default settings. Below are the steps to factory restore your Quectel EC25/EC21 modem settings using AT commands.

  1. Restore factory defaults:
    AT+QPRTPARA=3

  2. Reboot the module to apply changes:
    AT+CFUN=1,1

After the reboot, your modem will be restored to its factory settings. Please note that you will need to reconfigure your APN and any other custom settings afterwards.

If you have any questions or need further assistance, please don’t hesitate to contact us.

Best regards,
V.

Hello,

Thanks for the tip, I’ll test it tonight.

It’s not great that I can’t remember the commands anymore. Ultimately, the goal was to get the TRM240 working on a Pi 4 with OpenWRT OS. I also tried a few commands on the TRM240. In retrospect, that was not ideal.

I’ll let you know whether I succeed or fail!

Best regards,

Carsten

Hello,

Thank you for your swift response,

Please keep me informed about the outcome. If you encounter any issues or have further questions, feel free to reach out.

Kind regards,
V.

Hi,
Unfortunately, I can only report that the command did not change the behaviour of the TRM either.

Any further ideas?

Greetings,

Carsten

Hello,

can firmware be flashed?

Hello, @Falconcrest ,

I hope this message finds you well,

Please follow the steps below to restore factory defaults on the mobile modem inside your TRB240 device. These steps reset the modem configuration to a clean state and resolve most abnormal modem behavior.

Step 1 – Reset modem non-volatile parameters

Connect to the modem AT command interface and run:

AT+QPRTPARA=3

After that reboot the modem:

AT+CFUN=1,1

Wait approximately 90 seconds for the modem to restart.

Step 2 – Restore default AT configuration

After the modem reconnects, run:

AT&F
AT&W

Then reboot again:

AT+CFUN=1,1

Wait another 90 seconds.

Step 3 – Restore USB mode

Verify USB configuration:

AT+QCFG="usbnet"

If the returned value is not 0, run:

AT+QCFG="usbnet",0
AT+CFUN=1,1

Wait for the modem to restart.

These steps restore factory defaults on the modem used in Teltonika TRB240 devices and typically resolve issues caused by incorrect modem configuration.

If the problem persists after completing these steps, please provide the following command outputs:

ATI
AT+QCFG?
AT+QPRTPARA?

Best regards,
V.

Hello,

Let’s just say that I would feel better if the TRM240 were working properly again. :wink:

I will carry out the instructions exactly as described here this evening and I will then report back on whether I was successful or not.

Thank you very much so far!

Best regards,

Carsten

Hello Carsten,

Thank you for your message.

I look forward to your update on this matter. Please let me know the outcome of your tests when they are completed, as this information will help us better understand the situation and determine the next steps if necessary.

Kind regards,
V.

Hi,

well, it looks a little better now, but somehow my connected Windows 10 laptop now shows “Not connected” or “Off” in the taskbar on the right under Connections.

I should mention that I used a different SIM card from 1&1.

Here are the requested outputs of the commands. AT+QCFG? returns an ERROR.

ATI
Quectel
EC21
Revision: EC21ECGAR06A10M1G

OK

AT+QCFG?
ERROR

AT+QCFG?
ERROR

AT+QPRTPARA?
+QPRTPARA: 1,1,1,1

It may be due to the other SIM card.

Are there any provider profiles stored in the TRM240?

Could it be that 1&1 is not stored there, but only the common ones, such as Vodafone, Telekom, and O2?

Nevertheless, I maintain that your commands were the breakthrough and brought the modem back to life.

Thank you very much.

I will test the SIM card I used initially again this week and then report back.

Best regards,

Carsten