Trouble start ECM mode

Hello,

I encounter troubles running ECM mode on Telit module, Here is my configuration :
pi 3B Rev 1.2
I get your hat, Raspberry Pi 4G/LTE Cellular Modem Kit, with telit LE910-C1EU. (antennas, and usb wire).
I have install Raspberry lite OS, Debian Version 2021-03-04
I have a french sim card APN : mmsbouygtel.com
Sim car is working well, tested with 2 phones, and 4G network is reachable.
Power have been tested also with 2 different 5V 4A, which supposed to be enough (and was enough in another configuration see comment at the end).

I have followed your starter guide, connected, everything
run every command from scratch (may be a dozen of time at least)

I had carrefully read almost the whole AT command specification from telit.
I have trying a lot of things.
I have see nothing that look to solve my problem.

In Telit spec, i have read this (strange?) remark : about AT#ECM command (p489) :
NOTE: This command only works in ECM Mode.
But i did not find anything to activate this mode, activating this mode looks to be AT#ECM (puposely)

Finally, please be aware, that this is the second time i integrate the modem. in exactly the same hardware configuration. The first time i encountered really simlilar problems, for a few days. but it finally succeed to make it work. Then a have maid an image that was working from scratch, with that modem. Now i using this image (on SD card) to setup the system. and thtat set up do not work with that new modem.
I had done so many actions to make it work that i can’t be able to found back the right process, that had initialized the modem correctly the first time. I can access this first hardware via ssh only, and since it is now a remote device, in production, a can not perform many test with it.
I have read every configurations from the modem, and they are all strictly identical to the current modem. (almost factory settings.)

Any helps is welcome, I am desperate.

As a new user i can’t add links, so i have replaced manually (.) with (_) in APN

Please find awaited outputs for helping diagnostic :
(sorry it is so looong)

pi@raspberrypi:~ $ lsusb
Bus 001 Device 006: ID 045e:07f8 Microsoft Corp. Wired Keyboard 600 (model 1576)
Bus 001 Device 008: ID 1bc7:1206 Telit Wireless Solutions
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ dmesg | grep ttyUSB
[ 11.027664] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 11.042384] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 11.043820] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 11.047819] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 11.048820] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB4

pi@raspberrypi:~ $ minicom -D /dev/ttyUSB2 -b 115200

AT
OK
AT#USBCFG=4
OK
AT+CPIN=0000
OK
AT+CGDCONT=1,“IP”,“mmsbouygtel_com”
OK
at+CPIN?
+CPIN: READY

OK
AT+CGDCONT?
+CGDCONT: 1,“IP”,“mmsbouygtel_com”,"",0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,"",0,0,0,0
+CGDCONT: 3,“IPV4V6”,“sos”,"",0,0,0,1

OK
AT#reboot
OK
(after reboot)
OK

AT+CPIN=0000
OK
AT+CGDCONT?
+CGDCONT: 1,“IP”,“mmsbouygtel_com”,"",0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,"",0,0,0,0
+CGDCONT: 3,“IPV4V6”,“sos”,"",0,0,0,1
OK
AT#ECM=1,0,"","",0
ERROR
AT+CMEE=2
OK
AT#ECM=1,0,"","",0
ERROR

Please find all other diagnostic commands recommanded for troubleshooting ask :
AT+CGMR
M0F.220009-B001
OK
AT#USBCFG?
#USBCFG: 4
OK
AT+CREG?
+CREG: 0,1
OK
AT#ECM?
#ECM: 0,0
OK
AT+CPIN?
+CPIN: READY
OK
AT+CPIN?
+CPIN: READY
OK
AT+CGDCONT?
+CGDCONT: 1,“IP”,“mmsbouygtel_com”,"",0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,"",0,0,0,0
+CGDCONT: 3,“IPV4V6”,“sos”,"",0,0,0,1
OK
AT+CSQ
+CSQ: 26,4
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+CPAS
+CPAS: 0
OK
AT+CFUN?
+CFUN: 1
OK
AT+COPS?
+COPS: 0,0,“F-Bouygues Telecom”,7
OK
AT#BND?
#BND: 0,15,80800C5
OK
AT+CGATT?
+CGATT: 1
OK
AT+GMM
LE910C1-EU
OK
AT#SWPKGV
25.20.229-B001-P0F.221001
M0F.220009-B001
P0F.221001
A0F.220009-B001
OK

And please find a few other linux command results :
i@raspberrypi:~ $ uname -sr
Linux 5.10.17-v7+
pi@raspberrypi:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 3: Dev 8, If 0, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 3: Dev 8, If 1, Class=Vendor Specific Class, Driver=, 480M
|__ Port 3: Dev 8, If 2, Class=Communications, Driver=cdc_ether, 480M
|__ Port 3: Dev 8, If 3, Class=CDC Data, Driver=cdc_ether, 480M
|__ Port 3: Dev 8, If 4, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 3: Dev 8, If 5, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 3: Dev 8, If 6, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 3: Dev 8, If 7, Class=Vendor Specific Class, Driver=option, 480M
|__ Port 4: Dev 6, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
pi@raspberrypi:~ $ sudo cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int=-1025, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.10
S: Manufacturer=Linux 5.10.17-v7+ dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=3f980000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 5
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=9514 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=ec00 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=1ms

T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1bc7 ProdID=1206 Rev= 3.18
S: Manufacturer=Android
S: Product=LE910C1-EU
S: SerialNumber=0123456789ABCDEF
C:* #Ifs= 8 Cfg#= 1 Atr=a0 MxPwr=500mA
A: FirstIf#= 2 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 3 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 3 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=88(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=8a(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E: Ad=8c(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#= 6 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=07f8 Rev= 3.00
S: Manufacturer=Microsoft
S: Product=Wired Keyboard 600
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=82(I) Atr=03(Int.) MxPS= 3 Ivl=10ms

pi@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.114 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::80d3:67d2:d4f:1e18 prefixlen 64 scopeid 0x20
ether b8:27:eb:ae:4c:7d txqueuelen 1000 (Ethernet)
RX packets 5078 bytes 1463546 (1.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 816 bytes 106986 (104.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 15 bytes 1680 (1.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15 bytes 1680 (1.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wwan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.225.59 netmask 255.255.255.0 broadcast 192.168.225.255
inet6 fe80::18ec:405e:4fef:72bc prefixlen 64 scopeid 0x20
ether 9e:07:6d:d1:f6:2c txqueuelen 1000 (Ethernet)
RX packets 108 bytes 7421 (7.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 129 bytes 11697 (11.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

pi@raspberrypi:~ $ ping -I wwan0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.225.59 wwan0: 56(84) bytes of data.
From 192.168.225.1 icmp_seq=1 Destination Net Unreachable
From 192.168.225.1 icmp_seq=2 Destination Net Unreachable
From 192.168.225.1 icmp_seq=3 Destination Net Unreachable
From 192.168.225.1 icmp_seq=4 Destination Net Unreachable
^C
— 8.8.8.8 ping statistics —
5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 11ms

(end)

Thanks to your procedure that show me the AT#SWPKGV command, and a typo when running AT#ECM command.
I get an older firmware version in my other hardware.

Please note :

  • AT#ECM command take only 2 parameters.
  • start kit guide show 5 parameters (3 dummy)
  • old firmware version was permissive with that 3 dummy,
  • but newer firmware is not !

So the correct command is :
AT#ECM=1,0

(which i run accidentally, and be amazed that it was suddenly working…)

May i suggest to update your starter guide ?

Thank you, for this helpful procedure to post on that forum.