Getting Error Trying To Configure ECM USBCFG

Hi,

I’m trying to setup ECM and keep getting the same error (see below):

atcom AT
OK

atcom AT+CGDCONT=1,\"IPV4V6\",\"super\"
OK

atcom AT#USBCFG=4
ERROR

atcom AT#CMEE=2
ERROR

Any ideas what could be the issue?

Thanks,
-T

Hello,

What are the responses of the following AT commands?

ATI
AT+CPIN?
AT+CFUN?
AT+COPS?
AT#USBCFG?
AT+CGDCONT?
AT+CSQ
AT+CGATT?
AT+GMM
AT#SWPKGV
AT#FWSWITCH?
AT+CGREG?

Do you have Modem Manager installed?

No. I do not have it installed.

Should I repeat the commands from my original post first, or just execute your list? Again, I’m not sure which commands are one-time-only and which are to be run for each session.

From the ECM guide.
The only repeating command required on reboot is

AT#ECM=1,0

My list of commands is to observe the status of the module and check if anything went wrong.

The ECM guide is unclear, tbh. It does say to rerun AT#ECM=1,0 if there is a disconnect/reboot. It does not say the prior commands are one-time-only. The conditions/contexts are not spelled out.

Anyway, I’m working on gathering the diagnostics you asked for. SHouldn’t take long …

Thank you for the feedback.

We will add it to make it more clear.

Actually this guide summary of several guides of the Telit module.

[quote=“saeed, post:2, topic:3226”]
ATI
AT+CPIN?
AT+CFUN?
AT+COPS?
AT#USBCFG?
AT+CGDCONT?
AT+CSQ
AT+CGATT?
AT+GMM
AT#SWPKGV
AT#FWSWITCH?
AT+CGREG?
[/quote

Here is the output:

atcom AT#ECM=1,0

ERROR

atcom ATI

332

OK

atcom AT+CPIN?

+CPIN: READY

OK

atcom AT+CFUN?

+CFUN: 1

OK

atcom AT+COPS?

+COPS: 0

OK

atcom AT#USBCFG?

#USBCFG: 4

OK

atcom AT+CGDCONT?

+CGDCONT: 1,"IPV4V6","super","",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","",0,0,0,1
+CGDCONT: 4,"IPV4V6","attm2mglobal","",0,0,0,0

OK

atcom AT+CSQ

+CSQ: 99,1

OK

atcom AT+CGATT?

+CGATT: 0

OK

atcom AT+GMM

LE910C4-NF

OK

atcom AT#SWPKGV

25.21.663-P0F.664000
M0F.660013
P0F.664000
A0F.660013

OK

atcom AT#FWSWITCH?

#FWSWITCH: 0,0,0

OK

atcom AT+CGREG?

+CGREG: 0,2

OK

You’re welcome. Happy to help. :slight_smile:

This indicated there is no signal or the antenna are not connected firmly or not connected to the right ports.

Hence the network registration failed.

Just checked your setup here.

The antennas are not connected to the right port. There is D, M, and G written next to the antenna port on the Telit module, that stands for Diversity, Main and GNSS/GPS respectively.

The GPS antenna should go to G port, while the LTE antennas should go to M and D port.


REF: Section 7.3.1 of the mPCIe Hardware Design Guide

That makes sense about GPS. Will fix.
But both antennas have a LTE label on them. Does it matter which port they connect to?

Here is the output after resetting the antenna connections:

atcom AT#ECM=1,0

ERROR

atcom ATI

332

OK

atcom AT+CPIN?

+CPIN: READY

OK

atcom AT+CFUN?

+CFUN: 1

OK

atcom AT+COPS?

+COPS: 0

OK

atcom AT#USBCFG?

#USBCFG: 4

OK

atcom AT+CGDCONT?

+CGDCONT: 1,"IPV4V6","super","",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","",0,0,0,1
+CGDCONT: 4,"IPV4V6","attm2mglobal","",0,0,0,0

OK

atcom AT+CSQ

+CSQ: 14,1

OK

atcom AT+CGATT?

+CGATT: 0

OK

atcom AT+GMM

LE910C4-NF

OK

atcom AT#SWPKGV

25.21.663-P0F.664000
M0F.660013
P0F.664000
A0F.660013

OK

atcom AT#FWSWITCH?

#FWSWITCH: 0,0,0

OK

atcom AT+CGREG?

+CGREG: 0,2

OK

PS - If you’re wondering how I can get these results when on another thread I mentioned returning a HAT to Amazon, its because I have 2 HATS. This one is on a Raspberry Pi 5. It is the one I’m having problems with connecting to ECM. :slight_smile:

I figured it out. The status was “inactive” on the dashboard. Once that was changed to “active”, it started working.