38 posts / 0 new
Last post
Alexgrosy
Modem stopped working?

Hello!

I've been using OVMS successfully for about a month now. Everything used to work great, but now somehow my modem does not connect to the internet anymore. I've checked the SIM in another device and it is working normally.

This is the output from the log. Any ideas?

W (672062) simcom: 3 minutes since last MUX rx frame - assume MUX has failed
I (672062) gsm-ppp: Shutdown (direct)
I (672062) gsm-nmea: Shutdown (direct)
I (672062) gsm-mux: Stop MUX
I (672062) simcom: Power Cycle
I (673062) simcom: State: Enter PoweringOn state
I (673062) simcom: Power Cycle

I (674062) netmanager: Set DNS#1 0.0.0.0
I (674072) netmanager: Set DNS#2 0.0.0.0

I (680072) simcom: State: Enter PoweredOn state

I (683322) simcom: SIM card PIN code required
I (683322) simcom: Using PIN code "3373"

I (700072) simcom: State: Enter MuxStart state
I (700072) gsm-mux: Start MUX
I (700082) gsm-mux: Channel #0 is open
I (700082) gsm-mux: Channel #1 is open
I (700092) gsm-mux: Channel #2 is open
I (700102) gsm-mux: Channel #3 is open
I (700102) gsm-mux: Channel #4 is open
I (701062) simcom: State: Enter NetWait state
I (701062) gsm-nmea: Startup

This keeps repeating...


Thank you very much!
Alex Lange

OVMS# module summary
OVMS MODULE SUMMARY

Module
  Version:  3.2.015/ota_0/main (build idf v3.3.2-881-g22d636b7b Sep  2 2020 08:3                                                        2:35)
  Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/1
  12v:      0.0v

SIMCOM Modem Status
SIM card PIN code required.
  Network Registration: NotRegistered
  Provider:
  Signal: -83 dBm
  State: NetWait
    Ticker: 44
    User Data: 0
    HW FIFO overflows: 0
    Buffer overflows: 0
  Mux
    Status: up
    Open Channels: 4
    Framing Errors: 0
    Last RX frame: 36 sec(s) ago
    RX frames: 26
    TX frames: 10
  PPP: Not connected
  GPS: Connected on channel: #1
     Status: enabled
     Time: enabled

Configuration
  [auto]
    dbc: no
    egpio: no
    ext12v: no
    init: yes
    modem: yes
    obd2ecu:
    scripting: yes
    server.v2: yes
    server.v3: no
    vehicle.type: KN
    wifi.mode: apclient
    wifi.ssid.ap: OVMSKona
    wifi.ssid.client: Yu
  [can]
  [dbc]
  [egpio]
    monitor.ports:
  [http.plugin]
  [http.server]
  [locations]
  [log]
  [modem]
    apn: pinternet.interkom.de
    apn.password:
    apn.user:
    enable.gps: yes
    enable.gpstime: yes
    enable.net: yes
    enable.sms: yes
    pincode: 3373
  [module]
    cfgversion: 2020053100
    init: done
  [network]
    dns:
  [notify]
  [obd2ecu]
  [obd2ecu.map]
  [ota]
    server: ovms.dexters-web.de/firmware/ota
  [password]
    module: **redacted**
    server.v2: **redacted**
  [power]
  [pushover]
  [sdcard]
  [server.v2]
    server: ovms.dexters-web.de
    tls: yes
  [server.v3]
  [ssh.info]
    fingerprint: ARMFpemNhnfTxUn9Kt+5aRYnlI28PEpNFr8rmickEsQ
  [ssh.keys]
  [ssh.server]
    key: **redacted**
  [system.adc]
  [tpms]
  [usr]
  [vehicle]
    bms.alerts.enabled: no
    id: OVMSKona
    units.distance: K
  [wifi.ap]
    OVMSKona: **redacted**
  [wifi.ssid]
    Yu: **redacted**
  [xkn]

REPORT ENDS

Alexgrosy
Hmm, looks like this was some

Hmm, looks like this was some connection issue with the antenna. I've unplugged the modem board and checked the antenna connections, reassembled everything and it started right away again...

never mind :)

Alexgrosy
Same issue again

Same issue again crying

Looks like my GSM signal Quality has significantly degraded since the device was new. Already tried a different antenna and checked the internal connections. But I can barely get any connections.

Any suggestions?

Dolamo
stesso problema anche per me

stesso problema anche per me ed è il secondo modulo!

Dolamo
stesso problema anche per me

stesso problema anche per me ed è il secondo modulo!

markwj
markwj's picture
Try swapping the internal GPS

Try swapping the internal GPS / GSM antenna cables (so swap them on the modem board, and then swap the external antennas as well). That will tell you if there is some issue with the internal cables or their connections.

Alexgrosy
I've already tried this. It

I've already tried this. It did not help. Also checked all connections with a multimeter and they seem OK.

I guess something is wrong with the modem board...

Alexgrosy
Any suggestions?

Any suggestions?

Otherwise I will try to get a refund. It is not working for me anymore.

hutchwilco
I have the same problem

I'd like to add that I have this same problem on my v3 module with the same software version (3.2.015). The modem worked for some months, and has randomly just stopped working. 

my shell shows a continuous repeat of:

I (1241132) simcom: State timeout, transition to 2

I (1241132) simcom: State: Enter PoweringOn state

I (1241132) simcom: Power Cycle

I also note in the Status page I get this repeating:

  • [21:21:46]system.modem.poweringon
  • [21:21:46]egpio.output.0.high
  • [21:21:46]egpio.output.0.low

 

Firmware: 3.2.015/ota_0/main (build idf v3.3.2-881-g22d636b Sep 2 2020 08:21:02) Running partition: ota_0 Boot partition: ota_0 Factory image: 3.2.002 OTA_O image: 3.2.015 OTA_1 image: 3.2.014

leaf30
i have the exact same problem

i have the exact same problem

Martin Hogart
See topic: [FIXED][SIM5360E module] GSM modem and GPS stopped ..

See my solution - maybe it'll work for you too: https://www.openvehicles.com/node/3420

corvin
and I too ((((

and I too ((((

bobblue
I have exact the same problem

I have exact the same problem

alramlo
I have the same issue

I have the same issue

amperae
same here, modem suddenly stopped

If connected to usb the modem starts.
Battery voltage checked and ok
Powermanagement disabled
Same issue connected to diffrent cars.
Module reset does not help
All help welcome

endless loop debug log

I (921284) simcom: State timeout, transition to 2

I (921284) simcom: State: Enter PoweringOn state

I (921284) simcom: Power Cycle

V (922294) simcom: tx: 41 54 0d 0a | AT..

D (922294) simcom: tx scmd ch=0 len=4 : AT

V (923284) simcom: tx: 41 54 0d 0a | AT..

D (923284) simcom: tx scmd ch=0 len=4 : AT

V (924284) simcom: tx: 41 54 0d 0a | AT..

D (924284) simcom: tx scmd ch=0 len=4 : AT

V (925284) simcom: tx: 41 54 0d 0a | AT..

D (925284) simcom: tx scmd ch=0 len=4 : AT

V (926284) simcom: tx: 41 54 0d 0a | AT..

D (926284) simcom: tx scmd ch=0 len=4 : AT

V (927284) simcom: tx: 41 54 0d 0a | AT..

D (927284) simcom: tx scmd ch=0 len=4 : AT

V (928284) simcom: tx: 41 54 0d 0a | AT..

D (928284) simcom: tx scmd ch=0 len=4 : AT

V (929284) simcom: tx: 41 54 0d 0a | AT..

D (929284) simcom: tx scmd ch=0 len=4 : AT

V (930284) simcom: tx: 41 54 0d 0a | AT..

D (930284) simcom: tx scmd ch=0 len=4 : AT

V (931284) simcom: tx: 41 54 0d 0a | AT..

D (931284) simcom: tx scmd ch=0 len=4 : AT

V (932284) simcom: tx: 41 54 0d 0a | AT..

D (932284) simcom: tx scmd ch=0 len=4 : AT

V (933284) simcom: tx: 41 54 0d 0a | AT..

D (933284) simcom: tx scmd ch=0 len=4 : AT

V (934284) simcom: tx: 41 54 0d 0a | AT..

D (934284) simcom: tx scmd ch=0 len=4 : AT

V (935284) simcom: tx: 41 54 0d 0a | AT..

D (935284) simcom: tx scmd ch=0 len=4 : AT

V (936284) simcom: tx: 41 54 0d 0a | AT..

D (936284) simcom: tx scmd ch=0 len=4 : AT

V (937284) simcom: tx: 41 54 0d 0a | AT..

D (937284) simcom: tx scmd ch=0 len=4 : AT

V (938284) simcom: tx: 41 54 0d 0a | AT..

D (938284) simcom: tx scmd ch=0 len=4 : AT

V (939284) simcom: tx: 41 54 0d 0a | AT..

D (939284) simcom: tx scmd ch=0 len=4 : AT

V (940284) simcom: tx: 41 54 0d 0a | AT..

D (940284) simcom: tx scmd ch=0 len=4 : AT

V (941284) simcom: tx: 41 54 0d 0a | AT..

D (941284) simcom: tx scmd ch=0 len=4 : AT

I (941284) simcom: State timeout, transition to 2

I (941284) simcom: State: Enter PoweringOn state

I (941284) simcom: Power Cycle

V (942294) simcom: tx: 41 54 0d 0a | AT..

D (942294) simcom: tx scmd ch=0 len=4 : AT

V (943284) simcom: tx: 41 54 0d 0a | AT..

D (943284) simcom: tx scmd ch=0 len=4 : AT

V (944284) simcom: tx: 41 54 0d 0a | AT..

D (944284) simcom: tx scmd ch=0 len=4 : AT

V (945284) simcom: tx: 41 54 0d 0a | AT..

D (945284) simcom: tx scmd ch=0 len=4 : AT

V (946284) simcom: tx: 41 54 0d 0a | AT..

D (946284) simcom: tx scmd ch=0 len=4 : AT

V (947284) simcom: tx: 41 54 0d 0a | AT..

D (947284) simcom: tx scmd ch=0 len=4 : AT

V (948284) simcom: tx: 41 54 0d 0a | AT..

D (948284) simcom: tx scmd ch=0 len=4 : AT

V (949284) simcom: tx: 41 54 0d 0a | AT..

D (949284) simcom: tx scmd ch=0 len=4 : AT

V (950284) simcom: tx: 41 54 0d 0a | AT..

D (950284) simcom: tx scmd ch=0 len=4 : AT

V (951284) simcom: tx: 41 54 0d 0a | AT..

D (951284) simcom: tx scmd ch=0 len=4 : AT

V (952284) simcom: tx: 41 54 0d 0a | AT..

D (952284) simcom: tx scmd ch=0 len=4 : AT

V (953284) simcom: tx: 41 54 0d 0a | AT..

D (953284) simcom: tx scmd ch=0 len=4 : AT

V (954284) simcom: tx: 41 54 0d 0a | AT..

D (954284) simcom: tx scmd ch=0 len=4 : AT

V (955284) simcom: tx: 41 54 0d 0a | AT..

D (955284) simcom: tx scmd ch=0 len=4 : AT

V (956284) simcom: tx: 41 54 0d 0a | AT..

D (956284) simcom: tx scmd ch=0 len=4 : AT

V (957284) simcom: tx: 41 54 0d 0a | AT..

D (957284) simcom: tx scmd ch=0 len=4 : AT

V (958284) simcom: tx: 41 54 0d 0a | AT..

D (958284) simcom: tx scmd ch=0 len=4 : AT

V (959284) simcom: tx: 41 54 0d 0a | AT..

D (959284) simcom: tx scmd ch=0 len=4 : AT

V (960284) simcom: tx: 41 54 0d 0a | AT..

D (960284) simcom: tx scmd ch=0 len=4 : AT

V (961284) simcom: tx: 41 54 0d 0a | AT..

D (961284) simcom: tx scmd ch=0 len=4 : AT

I (961284) simcom: State timeout, transition to 2

I (961284) simcom: State: Enter PoweringOn state

I (961284) simcom: Power Cycle

V (962294) simcom: tx: 41 54 0d 0a | AT..

D (962294) simcom: tx scmd ch=0 len=4 : AT

V (963284) simcom: tx: 41 54 0d 0a | AT..

D (963284) simcom: tx scmd ch=0 len=4 : AT

V (964284) simcom: tx: 41 54 0d 0a | AT..

D (964284) simcom: tx scmd ch=0 len=4 : AT

V (965284) simcom: tx: 41 54 0d 0a | AT..

D (965284) simcom: tx scmd ch=0 len=4 : AT

V (966284) simcom: tx: 41 54 0d 0a | AT..

D (966284) simcom: tx scmd ch=0 len=4 : AT

V (967284) simcom: tx: 41 54 0d 0a | AT..

D (967284) simcom: tx scmd ch=0 len=4 : AT

V (968284) simcom: tx: 41 54 0d 0a | AT..

D (968284) simcom: tx scmd ch=0 len=4 : AT

V (969284) simcom: tx: 41 54 0d 0a | AT..

D (969284) simcom: tx scmd ch=0 len=4 : AT

V (970284) simcom: tx: 41 54 0d 0a | AT..

D (970284) simcom: tx scmd ch=0 len=4 : AT

V (971284) simcom: tx: 41 54 0d 0a | AT..

D (971284) simcom: tx scmd ch=0 len=4 : AT

V (972284) simcom: tx: 41 54 0d 0a | AT..

D (972284) simcom: tx scmd ch=0 len=4 : AT

V (973284) simcom: tx: 41 54 0d 0a | AT..

D (973284) simcom: tx scmd ch=0 len=4 : AT

V (974284) simcom: tx: 41 54 0d 0a | AT..

D (974284) simcom: tx scmd ch=0 len=4 : AT

V (975284) simcom: tx: 41 54 0d 0a | AT..

D (975284) simcom: tx scmd ch=0 len=4 : AT

V (976284) simcom: tx: 41 54 0d 0a | AT..

D (976284) simcom: tx scmd ch=0 len=4 : AT

V (977284) simcom: tx: 41 54 0d 0a | AT..

D (977284) simcom: tx scmd ch=0 len=4 : AT

V (978284) simcom: tx: 41 54 0d 0a | AT..

D (978284) simcom: tx scmd ch=0 len=4 : AT

V (979284) simcom: tx: 41 54 0d 0a | AT..

D (979284) simcom: tx scmd ch=0 len=4 : AT

V (980284) simcom: tx: 41 54 0d 0a | AT..

D (980284) simcom: tx scmd ch=0 len=4 : AT

V (981284) simcom: tx: 41 54 0d 0a | AT..

D (981284) simcom: tx scmd ch=0 len=4 : AT

I (981284) simcom: State timeout, transition to 2

I (981284) simcom: State: Enter PoweringOn state

I (981284) simcom: Power Cycle

V (982294) simcom: tx: 41 54 0d 0a | AT..

D (982294) simcom: tx scmd ch=0 len=4 : AT

V (983284) simcom: tx: 41 54 0d 0a | AT..

D (983284) simcom: tx scmd ch=0 len=4 : AT

V (984284) simcom: tx: 41 54 0d 0a | AT..

D (984284) simcom: tx scmd ch=0 len=4 : AT

V (985284) simcom: tx: 41 54 0d 0a | AT..

D (985284) simcom: tx scmd ch=0 len=4 : AT

V (986284) simcom: tx: 41 54 0d 0a | AT..

D (986284) simcom: tx scmd ch=0 len=4 : AT

V (987284) simcom: tx: 41 54 0d 0a | AT..

D (987284) simcom: tx scmd ch=0 len=4 : AT

V (988284) simcom: tx: 41 54 0d 0a | AT..

D (988284) simcom: tx scmd ch=0 len=4 : AT

V (989284) simcom: tx: 41 54 0d 0a | AT..

D (989284) simcom: tx scmd ch=0 len=4 : AT

V (990284) simcom: tx: 41 54 0d 0a | AT..

D (990284) simcom: tx scmd ch=0 len=4 : AT

V (991284) simcom: tx: 41 54 0d 0a | AT..

D (991284) simcom: tx scmd ch=0 len=4 : AT

V (992284) simcom: tx: 41 54 0d 0a | AT..

D (992284) simcom: tx scmd ch=0 len=4 : AT

V (993284) simcom: tx: 41 54 0d 0a | AT..

D (993284) simcom: tx scmd ch=0 len=4 : AT

V (994284) simcom: tx: 41 54 0d 0a | AT..

D (994284) simcom: tx scmd ch=0 len=4 : AT

V (995284) simcom: tx: 41 54 0d 0a | AT..

D (995284) simcom: tx scmd ch=0 len=4 : AT

V (996284) simcom: tx: 41 54 0d 0a | AT..

D (996284) simcom: tx scmd ch=0 len=4 : AT

V (997284) simcom: tx: 41 54 0d 0a | AT..

D (997284) simcom: tx scmd ch=0 len=4 : AT

V (998284) simcom: tx: 41 54 0d 0a | AT..

D (998284) simcom: tx scmd ch=0 len=4 : AT

V (999284) simcom: tx: 41 54 0d 0a | AT..

D (999284) simcom: tx scmd ch=0 len=4 : AT

V (1000284) simcom: tx: 41 54 0d 0a | AT..

D (1000284) simcom: tx scmd ch=0 len=4 : AT

V (1001284) simcom: tx: 41 54 0d 0a | AT..

D (1001284) simcom: tx scmd ch=0 len=4 : AT

I (1001284) simcom: State timeout, transition to 2

I (1001284) simcom: State: Enter PoweringOn state

I (1001284) simcom: Power Cycle

V (1002294) simcom: tx: 41 54 0d 0a | AT..

D (1002294) simcom: tx scmd ch=0 len=4 : AT

V (1003284) simcom: tx: 41 54 0d 0a | AT..

D (1003284) simcom: tx scmd ch=0 len=4 : AT

V (1004284) simcom: tx: 41 54 0d 0a | AT..

D (1004284) simcom: tx scmd ch=0 len=4 : AT

V (1005284) simcom: tx: 41 54 0d 0a | AT..

D (1005284) simcom: tx scmd ch=0 len=4 : AT

jaanton
Do you use hologram? About

Do you use hologram? About May my modem stopped working. I fiddled with it a bunch then finally put in a support call with hologram. They did a "SIM refresh" and it started working again.

 

amperae
modem suddenly stopped

If I use the microusb connector the modem starts working so it must be a power issue and not simcard related.

Allready did a full reset bu that does noet fix the problem. 

Alenux
Same issue

Running into the same issue on my device. Went away on vacation for two weeks, came back, and the modem doesn't seem to boot. I've got it sitting on my desk now with USB for testing, but it's just stuck in the power cycle loop. Not seeing D5 on the module ever light up. Upon boot, this is what I see:

I (18863) webserver: HTTP POST /shell

I (18873) webserver: HandleLogin: 'admin' logged in, sid 36b6e7088a3282f7

I (18903) webserver: HTTP GET /menu

I (18913) webserver: HTTP GET /shell

I (21243) simcom: State timeout, transition to 2

I (21243) simcom: State: Enter PoweringOn state

I (21243) simcom: Power Cycle

V (22243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (22243) v-nissanleaf: Poll state: 0

V (31243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (31243) v-nissanleaf: Poll state: 0

I (41243) simcom: State timeout, transition to 2

I (41243) simcom: State: Enter PoweringOn state

I (41243) simcom: Power Cycle

V (42243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (42243) v-nissanleaf: Poll state: 0

V (51243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (51243) v-nissanleaf: Poll state: 0

I (61243) simcom: State timeout, transition to 2

I (61243) simcom: State: Enter PoweringOn state

I (61243) simcom: Power Cycle

V (62243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (62243) v-nissanleaf: Poll state: 0

V (71243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (71243) v-nissanleaf: Poll state: 0

I (71243) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,100.00,0.00,0.0

I (71243) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,70,0,0,1,1,0,0,12.6,0,0,0,0

I (71253) ovms-server-v2: Send MP-0 F3.2.018/ota_0/main (build idf v3.3.4-848-g1ff5e24b1 Nov 22 2021 09:37:27),,30,1,NL,Alex's Galaxy S9,-1,-1

I (81243) simcom: State timeout, transition to 2

I (81243) simcom: State: Enter PoweringOn state

I (81243) simcom: Power Cycle

V (82243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (82243) v-nissanleaf: Poll state: 0

V (91243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (91243) v-nissanleaf: Poll state: 0

I (101243) simcom: State timeout, transition to 2

I (101243) simcom: State: Enter PoweringOn state

I (101243) simcom: Power Cycle

V (102243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (102243) v-nissanleaf: Poll state: 0

V (111243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (111243) v-nissanleaf: Poll state: 0

I (121243) simcom: State timeout, transition to 2

I (121243) simcom: State: Enter PoweringOn state

I (121243) simcom: Power Cycle

V (122243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (122243) v-nissanleaf: Poll state: 0

V (131243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (131243) v-nissanleaf: Poll state: 0

I (132243) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,0,0,0,0,0,0,0,21,0,0,0,0,0.00,0,0,0,0,-1,0,0,0,0,0,0,0,0.00,0.00,0,0.00,100.00,0.00,0.0

I (132243) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,131,0,0,0,0,0,0,12.6,0,0,0,0

I (132243) ovms-server-v2: Send MP-0 F3.2.018/ota_0/main (build idf v3.3.4-848-g1ff5e24b1 Nov 22 2021 09:37:27),,31,1,NL,Alex's Galaxy S9,-1,-1

I (141243) simcom: State timeout, transition to 2

I (141243) simcom: State: Enter PoweringOn state

I (141243) simcom: Power Cycle

V (142243) v-nissanleaf: Range: ideal=0 km, est=0 km, full=0 km

D (142243) v-nissanleaf: Poll state: 0

Hopefully will have some time to look into this over the coming days, but I'm worried that the modem board failed...

Alenux
Some testing

I've done a little bit more testing on this, but haven't determined the source of the problem. I currently have the OVMS module plugged into a power bar with dedicated 2.4 A USB outlets. A couple of notes (all reference designators on modem board):

  • I'm seeing 3.308 V on JP1.1 (+3V3) as I would expect
  • I'm seeing 4.90 V on JP1.22 (USB_5V) which is in line with the 4.75 V to 5.25 V range in the USB specification
  • I'm seeing 4.60 V on JP1.24 (EXT_PWR) which is a good indication that the modem is indeed not turning on
    • EXT_PWR is generated by ORing together the USB_5V and EXT_12V rails through STPS2L60 diodes
    • As per Figure 10 in the datasheet, a forward voltage of ~0.3 V indicates that the forward current is very small (less than 100 mA)
  • I'm seeing 0.585 V on the VBAT rail (measured at C15 and U2.39,40)
    • VBAT is generated by the AOZ1280CI switching regulator U1
    • As per the datasheet, Vo = 0.8*(1+R1/R2), where in our case R1 = 49k9 and R2 = 12k5, so Vo = 3.9936 V or ~4.0V
    • If I take the modem board off of the main board, power it off USB, and then short USB_5V to EXT_PWR, I still only see 0.585 V on the VBAT rail
    • I think this is a good indication that something might be wrong with the hardware...
  • JP1.15 (MDM_EN) starts at 0.0574 V and jumps to >3.8 V every 20 seconds (I don't have a peak hold function on my multimeter) which is what I'd expect from this pin
    • The MDM_EN signal is used to toggle the modem on and off by pulling U2.3 (PWRKEY/POWER_ON) low greater than 50 ms
    • The MDM_EN signal is generated by an I/O expander on the main board (U9.3, signal MEM_EN which is a typo; should be MDM_EN)
  • Using the MDM_EN signal only, U2.3 (PWR_KEY) starts at ~0.2556 V and transitions to 0 V when MDM_EN goes high

I might try and bring the module into work to see if I can get any oscilloscope captures

markwj
markwj's picture
The fault is most likely to

The fault is most likely to be the AOZ1280CI. We've seen a few of those fail, particularly recently.

Alenux
Good to know, thanks.

Good to know, thanks. Unfortunately doesn't look there's any stock at the regular places (e.g. Digi-Key, Mouser, Arrow, etc.), so maybe time to try finding a drop-in replacement (assuming one exists). Has any work been done on that front or is that still TBD?

markwj
markwj's picture
We can get AOZ1280CI easily

We can get AOZ1280CI easily here. There were some shortages a while back, but things have been stable this year. Wish I could say the same for some other components...

If you need them, I can send you some in the post (open a support ticket here with your name+address+phone). Grateful for any investigative work you can do on this, as we have been unable to find out the root cause of this issue.

Alenux
There's plenty of stock of

There's plenty of stock of AP3211KTR-G1 at Digi-Key currently. Same pinout, similar package dimensions, similar specs and feedback resistor setup. I don't like the smaller input voltage window (4.5 V to 18 V vs. the AO1280CI's at 3 V to 26 V); how high can EXT_PWR go?

I might get a couple of these and try them out on my board.

Alenux
Thanks, I'll submit a support

Thanks, I'll submit a support ticket then. Where are you purchasing the parts from usually?

markwj
markwj's picture
Our parts normally come

Our parts normally come direct from distributors in China. There are a lot of fakes out there, and the situation has gotten worse with the recent chip and component shortages, so we try to use established relationships with known suppliers.

Alenux
It worked!

I used AP3211KTR-G1 as a drop-in replacement (i.e. no other PCB or component changes required), and now the NETLIGHT is blinking and it's connected to the network! Who knows if this will work long term, but for now it seems to be working fine.

FalconFour
My OVMS v3 (new from Medlock

My OVMS v3 (new from Medlock just 1-1/2 months ago) worked for about a month, then dropped off cellular. In diagnosing it, there's a data session open with Hologram, but 0 data on it. The modem status page says it's "denied registration". I've tried everything short of opening up the box and/or throwing it out the window.

Submitted a support ticket with Hologram, and they kinda just pointed the finger back at me: their side looks fine. But why/how could it be "Denied registration" if it's not their fault?

Looking over this thread, it seems plausible that the modem design isn't quite perfect, and maybe this could be affecting me as well. You might notice I said, I stopped short of opening the box -- I really didn't want to get nitty gritty into this thing (though I am fairly capable - just not something I really wanted to dig into). I guess, though, that may be the only way forward - possibly replacing a defective voltage regulator?

Guess I might start with analyzing the voltages and seeing if I need to replace that buck controller as well...

Alenux
First thing I'd check is D5

First thing I'd check is D5 on the modem board. If the modem chip is coming up properly, D5 will light up and blink with network activity after being plugged in over the microUSB port and shorting USB_5V to EXT_PWR (I did this on JP1) on that board. If it doesn't come up at all, then it would be good to check the VBAT rail voltage.

@markwj, when you said you've seen the bucks failing recently, does that include modem boards that were just purchased, or those that had been in use for a long time?

FalconFour
I'm still having no luck, and

I'm still having no luck, and the OVMS now just sits in a sad state on my couch.

I can't find any hardware issues. I get abour 4.0v at VBAT, steady, when powered by USB. I _deeply_ dislike that I have to bend/short two pins on the modem board to get its USB power to come up -- and then I have to hold down the unlabeled button to get the power to start, as well. All seems basically undocumented - had to learn that through schematics. (silkscreen is free! haha)

Using AT commands with the board removed, I ran through everything, and I found that it had a forbidden list entry - something-or-other FPLMS or whatnot. Great, but I clear that, no improvement.

The closest I was able to get was to swap SIMs and insert my trusty old Ting Mobile SIM into the thing. Then, it quickly reaches "RegisteredHome" mode, but PPP connections fail and it never gets online (and yes, I set the APN -- and I even used AT commands to verify it's set properly in the modem - for Ting it should be "wholesale").

So, with the Hologram SIM, all I can get is "Registration Denied". With the Ting SIM, I can get "RegisteredHome", but no PPP connection.

With a whole slew of diagnostics, all Hologram has given me (admittedly, more than I'd expect for the $2/mo or so that I'm paying them) has been "it's your device's fault". Seems to be a dead end - from their side, everything is clean.

I notice that D5 blinks at different periods for different operational modes. Fast blink - it's searching. Slow blink - it's registered. Solid on = it's offline/stuck. I can do "AT+CFUN=0" and it takes the modem totally offline - "AT+CFUN=1" and it's back to life, for example.

It's massively frustrating that there doesn't seem to be an AT command console in the OVMS system -- you can send blind AT commands, but no result is returned by those commands. Means that you have to tear apart the hardware in order to uncouple the OVMS<->modem, in order to send AT commands -- and you can't send any AT commands to get status from the modem while it's connected. Surely this isn't ... normal?

Alenux
Good to hear that it turns on

Good to hear that it turns on at least. Out of curiosity, what network should Hologram be connected to in your area? Is there a possibility that there's poor coverage on that network?

Also, when Hologram points to your device as the issue, I assume that they're never able to actually see the device come up on their side (since it doesn't register on a network), so they think that the device isn't connecting properly to whatever network they're using.

FalconFour
No, from their side, they see

No, from their side, they see a data session, the connection is good, everything seems like it should work. That's what's so confusing - all the low hanging fruit appears to be picked. Every time it wants to come up, it finds the network, and Hologram sees an active data session - it's just 0-bytes every time, connected for hours/days at a time, no traffic. As far as Hologram is concerned, the device is there, fully functional, ready to serve traffic, good signal, everything - it's just that nothing happens. It's like dialing a phone number, and both parties just sit there listening to each other breathe -- in perfect clarity.

In my area, it comes up as T-Mobile - same as my personal phone, which of course is working fine :)

That then leads to my experiment with Ting - where if I put the Ting SIM in there, it comes up as registered, but PPP doesn't connect (let me rephrase that: the logs basically consist of saying that "PPP disconnected", then it tries restarting, and a couple more lines saying "PPP disconnected". No real error is really shown!). The cell system of OVMS is pretty opaque - is there anything we could even do to diagnose that?

FalconFour
Here is the loop I get stuck

Here is the loop I get stuck-in under Ting:

 (170084) cellular: State: Enter NetMode state
I (170084) gsm-ppp: Initialising...
I (170204) cellular: PPP Connection disconnected
I (170204) cellular: PPP Connection disconnected
W (171084) cellular: Lost network connection (+PPP disconnect in NetMode)
I (171084) cellular: State: Enter NetLoss state
I (171084) gsm-ppp: Shutting down (hard)...
I (171084) gsm-ppp: PPP is shutdown
I (181084) cellular: State: Enter NetWait state

Over and over. Eventually the cell LED stops flashing.

Going to try "as factory a reset as I can figure out how to do" on both the modem and the OVMS next. BTW, I'm on firmware 3.3.002, for what it's worth...

...

OK, so I did it before I sent this. Factory reset OVMS first, switched to modem USB, sent "AT&F" (factory reset) then "AT+CFUN=6" to reset/reboot, verified settings were wiped. Plugged it all back together, and it was factory fresh.

Same. Exact. Story. With the Ting SIM. PPP infinite loop. Hologram "DeniedRegistration".

I (541154) cellular: Network Registration status: DeniedRegistration
I (541164) cellular: Network Provider is: T-Mobile Hologram
I (543544) cellular: Signal Quality is: 26 (-61 dBm)

I'm completely f*cking stumped.

dexter
dexter's picture
Cellular debug

No idea about your issues, but to debug cellular, set the log level for "cellular" to debug or verbose.

This will also enable output of AT command responses to the log (though some like "OK" will be filtered).

OVMS# log level debug cellular
Logging level for cellular set to debug
OVMS# cellular cmd AT+COPS?
MODEM command has been sent.
D (305848) cellular: mux-tx-cmd #4: AT+COPS?
D (305868) cellular: mux-rx-line #4: +COPS: 0,0,"vodafone.de Hologram",7

 

EMD
Cellular won't start

Hello,

The cell phone works until the restart, if I disconnect and reconnect the ovms I have to connect to wifi to activate the rear cell phone, but there is a solution?

EMD
Cellular won't start

Hello,

The cell phone works until the restart, if I disconnect and reconnect the ovms I have to connect to wifi to activate the rear cell phone, but there is a solution?

markwj
markwj's picture
We have identified one cause

We have identified one cause of the 'Denied Registation' issue. Some cellular providers can accept registration at LTE level, but deny registration at GSM/GPRS level.This is interpreted as a 'Denied Registation' in rhe current production firmware.

We have applied a workaround to the 'edge' firmware 3.3.002-46-g89963cee (or later). I suggest that anyone with this problem try to OTA update to that edge version, and see if it resolves/worksaround the issue for you.

FalconFour
My issue is slowly working

My issue is slowly working itself loose. I've also learned to debug quite a bit on my own, as well as help on a ticket we're still working-through.

You can send "cellular cmd AT+CNMP=38" to restrict the modem to only LTE (the only technology still active in the US -- 2G and 3G have both been sunset, and night-light towers are possibly causing issues), and that may be part of straightening mine out. You can combine that with "log level debug cellular" (as above) to enable command outputs being displayed, and verify it's set with a "AT+CNMP?" command (note: not =?, but simply ?). It should return "+CNMP: 38" to indicate it's only allowed to play with LTE tech now. The modem stores this in NV memory, so it should persist through reboots and power cycles.

I've had spotty connectivity (95% off, 5% on) since the big event of whatever-changed on the network side that kicked me off... but I'm now seeing if restricting LTE-only has solved my issues. Fingers crossed!

edit: lol nope -- in the span of writing this, I've gone from "RegisteredRoaming" to "DeniedRegistration" again. The modem is absolutely reporting that the LTE service (T-Mobile Hologram -- the only service it now shows in a scan) is denying it. Back to Hologram support, then!

markwj
markwj's picture
I really don't suggest you

I really don't suggest you mess with AT+CNMP. Leave it at the default.

The issue we found (GSM registration denied while GPRS and/or E-UTRANS LTE registation accepted) is fixed in the current edge firmware (3.3.002-46 or later). this firmware fix will make it into the next build, but that may take a week or so of further testing.

Log in or register to post comments