Help getting started with EC200U

Hello,

I’ve gotten a Quectel EC200U and connected it to Linux using USB.

This is what I am trying to do :

  • Establish AT communication with the device and get a feel for it
  • Try to get the EC200U to provide internet through USB to linux, to make sure the SIM works
  • Try to do some basic communication, download a HTTP and HTTPS target using bare communication (AT commands, maybe)
  • Eventually redo all of this with a Cortex M0 using UART.

I’m having some trouble establishing AT communication with the module from a regular linux host. The responses from the module don’t look like what I was expecting. When I send AT, I get this response repeatedly (among other similar looking text) :

%DBG<0x88><0x17><break x 002>
~<0xba><0x13><break>
<0x05><break x 004>
<0xe0><break x 002>
<0x08><break>
<0xee><0xf8>e<0xff>h<0xfa>F<break>
EE

I believe this is the relevant output of cat /sys/kernel/debug/usb/devices:

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 26 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=2c7c ProdID=0901 Rev= 3.18
S:  Manufacturer=Android
S:  Product=Android
C:* #Ifs= 9 Cfg#= 1 Atr=e0 MxPwr=400mA
A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=84(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= 512 Ivl=4096ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=85(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= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=86(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= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
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= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=88(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=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=89(I) Atr=03(Int.) MxPS= 512 Ivl=4096ms
I:* If#= 8 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
E:  Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

This is the relevant portion of dmesg when I connect:

 2462.697349] usb 3-2: new high-speed USB device number 26 using xhci_hcd
[ 2462.825242] usb 3-2: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[ 2462.827192] usb 3-2: New USB device found, idVendor=2c7c, idProduct=0901, bcdDevice= 3.18
[ 2462.827196] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2462.827199] usb 3-2: Product: Android
[ 2462.827201] usb 3-2: Manufacturer: Android
[ 2462.931935] cdc_ether 3-2:1.0 usb0: register 'cdc_ether' at usb-0000:04:00.3-2, CDC Ethernet Device, 02:4b:b3:b9:eb:e5
[ 2462.933734] option 3-2:1.2: GSM modem (1-port) converter detected
[ 2462.934006] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 2462.935101] option 3-2:1.3: GSM modem (1-port) converter detected
[ 2462.935768] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 2462.936819] option 3-2:1.4: GSM modem (1-port) converter detected
[ 2462.937236] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 2462.938455] option 3-2:1.5: GSM modem (1-port) converter detected
[ 2462.938916] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB3
[ 2462.939861] option 3-2:1.6: GSM modem (1-port) converter detected
[ 2462.940003] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB4
[ 2462.940618] option 3-2:1.7: GSM modem (1-port) converter detected
[ 2462.940791] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB5
[ 2462.941373] option 3-2:1.8: GSM modem (1-port) converter detected
[ 2462.941512] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB6
[ 2463.552861] cdc_ether 3-2:1.0 enx024bb3b9ebe5: renamed from usb0

The operating system is Ubuntu Linux 24.04, 6.8.0-40-generic
Any help would be appreciated.

Additional information:

I am using CuteCom for communication. I’ve configured it to connect to /dev/ttyUSB2, 115200, 8N1, with CR/LF line endings.

ModemManager is presently disabled. When ModemManager is enabled, Ubuntu’s network manager briefly shows a “Connecting to Network” on the Wired Network, and then it switches to Media DIsconnected.