2 posts / 0 new
Last post
roki12
Module crashing - help debugging

Hi all!

For quite sometime I have trouble with my module crashing. I can't find when it crashes...so I would be very grateful for some help or guidance how to troubleshoot this.

Module summary:

OVMS# module summary
OVMS MODULE SUMMARY

Module
  Version:  3.3.003-464-gbe52e30e/ota_1/edge (build idf v3.3.4-849-g6e214dc335 May  4 2023 22:06:01)
  Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/3; MODEM SIM7600
  12v:      12.4v

MODEM Status
  Model: SIM7600
  Network Registration: RegisteredRoaming
    Provider: ******** Hologram
    Signal: -67 dBm
    Mode: LTE,Online
  State: NetMode
    Ticker: 628
    User Data: 0
  UART:
    FIFO overflows: 0
    Buffer overflows: 0
    Parity errors: 0
    Frame errors: 0
    Driver Buffer overflows: 0
  Mux: Status up
    Open Channels: 4
    Framing Errors: 0
    RX frames: 360
    TX frames: 91
    Last RX frame: 4 sec(s) ago
  PPP: Connected on channel: #2
     Connects: 1
  GPS: Connected on channel: #1
     Status: enabled
     Time: enabled

Configuration
  [auto]
    dbc: no
    egpio: no
    ext12v: no
    init: yes
    modem: yes
    obd2ecu: 
    ota: yes
    scripting: yes
    server.v2: yes
    server.v3: yes
    vehicle.type: I5
    wifi.mode: apclient
    wifi.ssid.ap: *****
    wifi.ssid.client: 
  [can]
  [dbc]
  [egpio]
    monitor.ports: 
  [http.plugin]
  [http.server]
  [locations]
    Home: ***********
  [log]
    file.enable: yes
    file.path: /sd/backup/log
    level: info
  [modem]
    apn: hologram
    apn.password: 
    apn.user: 
    enable.gps: yes
    enable.gpstime: yes
    enable.net: yes
    enable.sms: yes
    pincode: 
  [module]
    cfgversion: 2022121400
    duktape.heapsize: 1024
    init: done
  [network]
    dns: 
    wifi.bad.reconnect: yes
    wifi.scan.tmax: 300
    wifi.scan.tmin: 200
    wifi.sq.bad: -89.0
    wifi.sq.good: -87.0
  [notify]
    log.trip.minlength: 20
    report.trip.enable: yes
    report.trip.minlength: 20
  [obd2ecu]
  [obd2ecu.map]
  [ota]
    auto.allow.modem: no
    auto.hour: 2
    http.mru: https://ovms.dexters-web.de/firmware/ota/v3.3/edge/ovms3.bin
    server: https://ovms.dexters-web.de/firmware/ota
    tag: edge
  [password]
    module: **redacted**
    pin: **redacted**
    server.v2: **redacted**
    server.v3: **redacted**
  [plugin]
  [plugin.disabled]
  [plugin.enabled]
  [plugin.repos]
  [power]
    12v_shutdown_delay: 15
    enabled: yes
    modemoff_delay: 36
    wifioff_delay: 24
  [pushover]
  [sdcard]
  [server.v2]
    port: 
    server: ovms.dexters-web.de
    tls: no
    updatetime.connected: 
    updatetime.idle: 
  [server.v3]
    metrics.include: s.v3.connected,xiq.v.trip.consumption,m.net.wifi.network,v.c.duration.full
    port: 1****
    server: ********
    tls: no
    topic.prefix: 
    updatetime.charging: 120
    updatetime.connected: 120
    updatetime.idle: 600
    updatetime.on: 120
    user: *******
  [ssh.info]
    fingerprint: **************s
  [ssh.keys]
  [ssh.server]
    key: **redacted**
  [system.adc]
    factor12v: 190.927
  [tpms]
  [usr]
    abrp.car_model: kia:soul:19:64:other
    abrp.url: http://api.iternio.com/1/tlm/send
    abrp.user_token: ccdeedaf-d52c-4cf7-97a4-a50d3482016d
  
  [vehicle]
    12v.alert: 12.00
    12v.ref: 
    bms.alerts.enabled: no
    id: roki12
    minsoc: 20
    name: Kia Niro EV
    registered.phone: +38641383576
    stream: 2
    timezone: CET-1CEST,M3.5.0,M10.5.0/3
    timezone_region: Europe/Ljubljana
    units.distance: K
    units.energy: kwh
  [wifi.ap]
    62-KHC: **redacted**
  [wifi.ssid]
    A63574: **redacted**
    ASUS_B4: **redacted**
    TP-Link_2D46: **redacted**
    pixel: **redacted**
  [xiq]
    cap_act_kwh: 64.8
    maxrange: 440
    suffrange: 
    suffsoc: 
  [xkn]
    canwrite: **redacted**
    cap_act_kwh: **redacted**
    consoleKilometers: **redacted**
    leftDrive: **redacted**
    maxrange: **redacted**
    suffrange: **redacted**
    suffsoc: **redacted**
  [xks]
    canwrite: **redacted**
    remote_charge_port: **redacted**

REPORT ENDS

 

 

 

After I restart the module, I can check the log looks like this (I c/p only critical log entries just before the crashing):

roki12
...it continues...

But today I noticed this in my log:

I (684903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (684903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,681,0,0,0,0,12.37,0,12.6,0,0,0,0
I (684913) ovms-server-v2: Send MP-0 L46.038395,14.611652,0,294.8,1,1,0,0,0,0.400,0,0,0,0,AA,9,1.7,0.0,47
I (731903) ovms-server-v3: Tx event clock.1120
I (743933) ovms-server-v3: Tx event gps.sq.good
I (745903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (745903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,742,0,0,0,0,12.37,0,12.6,0,0,0,0
I (745913) ovms-server-v2: Send MP-0 L46.038391,14.611670,0,293.5,1,1,0,0,0,0.400,0,0,0,0,AA,10,1.2,0.0,74
I (791903) ovms-server-v3: Tx event clock.1121
I (806903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (806903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,803,0,0,0,0,12.61,0,12.6,0,0,0,0
I (806913) ovms-server-v2: Send MP-0 L46.038380,14.611678,0,291.6,1,1,0,0,0,0.400,0,0,0,0,AA,10,1.2,0.0,74
E (828703) uart_events: uart event type: 4
E (828703) uart_events: uart event type: 4
E (828703) uart_events: uart event type: 4
I (851903) ovms-server-v3: Tx event clock.1122
I (867903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (867903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,864,0,0,0,0,12.7,0,12.6,0,0,0,0
I (867913) ovms-server-v2: Send MP-0 L46.038380,14.611676,0,291.9,1,1,0,0,0,0.400,0,0,0,0,AA,9,1.2,0.0,66
I (904053) housekeeping: 2023-05-23 11:22:53 CEST (RAM: 8b=56228-57148 32b=12348 SPI=2857188-2863588)
E (904903) can: can1: intr=247 rxpkt=84 txpkt=108 errflags=0x8000d9 rxerr=0 txerr=8 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=252 rxpkt=84 txpkt=108 errflags=0x8000d9 rxerr=0 txerr=48 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=254 rxpkt=84 txpkt=108 errflags=0x8000d9 rxerr=0 txerr=64 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=257 rxpkt=84 txpkt=108 errflags=0x8000d9 rxerr=0 txerr=88 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=259 rxpkt=84 txpkt=108 errflags=0x8040d9 rxerr=0 txerr=104 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=261 rxpkt=84 txpkt=108 errflags=0x8040d9 rxerr=0 txerr=120 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
E (904903) can: can1: intr=264 rxpkt=84 txpkt=108 errflags=0x204800 rxerr=0 txerr=128 rxinval=0 rxovr=0 txovr=0 txdelay=0 txfail=3 wdgreset=0 errreset=3
I (911903) ovms-server-v3: Tx event clock.1123
I (928163) ovms-server-v2: Incoming Msg: MP-0 AFA
I (928163) ovms-server-v2: Send MP-0 a
I (928903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (928913) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,925,0,0,0,0,12.4,0,12.6,0,0,0,0
I (928913) ovms-server-v2: Send MP-0 L46.038376,14.611676,0,291.5,1,1,0,0,0,0.400,0,0,0,0,AA,9,1.1,0.0,72
E (943903) esp32can: can1 stuck bus-off error state (errflags=0x00040c00) detected - resetting bus
I (943913) ovms-server-v3: Tx event egpio.output.2.high
I (943913) ovms-server-v3: Tx event power.can1.off
I (943913) ovms-server-v3: Tx event egpio.output.2.low
I (943913) ovms-server-v3: Tx event power.can1.on
I (971903) ovms-server-v3: Tx event clock.1124
I (989903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (989903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,986,0,0,0,0,12.36,0,12.6,0,0,0,0
I (989913) ovms-server-v2: Send MP-0 L46.038364,14.611674,0,291.2,1,1,0,0,0,0.400,0,0,0,0,AA,11,1.0,0.0,100
I (1023903) ovms-server-v2: Send MP-0 PAVehicle is still unlocked and off
I (1023903) ovms-server-v3: Tx notify ovms/mqttuser/roki12/notify/alert/unlock.alert=Vehicle is still unlocked and off
I (1023913) ovms-server-v3: Tx event notify.alert.unlock.alert
I (1024033) ovms-server-v3: Message publishing acknowledged (msg_id: 64)
I (1031903) ovms-server-v3: Tx event clock.1125
I (1050903) ovms-server-v2: Send MP-0 S0,K,0,0.00,stopped,standard,440,496,0,0,0,0,0,21,0,0,0,0,160.00,0,0,0,0,-1,0,0,0,0,0,440,0,0.00,0.00,0,0.00,0.00,0.00,0.0
I (1050903) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,1047,0,0,0,0,12.38,0,12.6,0,0,0,0
I (1050913) ovms-server-v2: Send MP-0 L46.038357,14.611674,0,291,1,1,0,0,0,0.400,0,0,0,0,AA,10,1.2,0.0,74
Log in or register to post comments