<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi folks,<br>
<br>
First the good news - Confirmed the fixes to the webserver access.
Yea!<br>
<br>
But, I got a crash when the modem tried to restart itself after
detecting no Rx frames for 3 minutes. Note the framing errors.
This has been happening for a while. Sometimes it gets into this
state where it can't seem to get sync'd on the frames, and other
times when it's nice and clean. No clue how to force one state or
the other. Sometimes a manual power cycle helps, sometimes not.
You see I was trying to do that at the beginning, since it didn't
seem to want to connect.<br>
<br>
Thanks for the fixes last night. Much improved.<br>
<br>
Greg<br>
<br>
<div dir="ltr">OVMS > simcom<br>
SIMCOM<br>
Network Registration: NotRegistered<br>
State: MuxStart<br>
Ticker: 79<br>
User Data: 0<br>
State Timeout Goto: PoweringOn (in 41 seconds)<br>
<br>
Mux<br>
Status: down<br>
Open Channels: 0<br>
Framing Errors: 371<br>
Last RX frame: 0 sec(s) ago<br>
RX frames: 0<br>
TX frames: 3<br>
<br>
PPP<br>
Not Connected<br>
Last Error: Undefined<br>
<br>
GPS<br>
Status: disabled<br>
Time: disabled<br>
NMEA: GPS/GLONASS Not Connected<br>
OVMS > power simcom off<br>
Power mode of simcom is now off<br>
I (136145) simcom: State: Enter PoweringOff state<br>
I (136145) gsm-ppp: Shutdown (direct)<br>
I (136145) gsm-nmea: Shutdown (direct)<br>
I (136155) simcom: Power Cycle<br>
OVMS > power simcom on<br>
Power mode of simcom is now on<br>
I (140805) simcom: State: Enter PoweringOn state<br>
I (140805) simcom: Power Cycle<br>
I (147205) simcom: State: Enter PoweredOn state<br>
I (166465) simcom: State: Enter MuxStart state<br>
I (166465) gsm-mux: Start MUX<br>
I (166475) gsm-mux: Channel #0 is open<br>
I (166485) gsm-mux: Channel #1 is open<br>
I (166485) gsm-mux: Channel #2 is open<br>
I (166495) gsm-mux: Channel #3 is open<br>
I (166505) gsm-mux: Channel #4 is open<br>
I (167445) simcom: State: Enter NetWait state<br>
I (177515) simcom: CREG Network Registration: RegisteredRoaming<br>
I (178445) simcom: State: Enter NetStart state<br>
I (179595) simcom: PPP Connection is ready to start<br>
I (180445) simcom: State: Enter NetMode state<br>
I (180445) gsm-ppp: Initialising...<br>
I (183605) gsm-ppp: StatusCallBack: None<br>
I (183605) gsm-ppp: status_cb: Connected<br>
I (183605) gsm-ppp: our_ipaddr = 10.170.146.142<br>
I (183605) gsm-ppp: his_ipaddr = 10.64.64.64<br>
I (183605) gsm-ppp: netmask = 255.255.255.255<br>
I (183605) gsm-ppp: our6_ipaddr = ::<br>
I (183605) netmanager: Set DNS#0 9.9.9.9<br>
I (183605) netmanager: Set DNS#1 8.8.8.8<br>
I (183615) netmanager: Interface priority is pp3 (<a
href="http://10.170.146.142/255.255.255.255">10.170.146.142/255.255.255.255</a>
gateway 10.64.64.64)<br>
I (183615) time: Starting SNTP client<br>
I (183615) ovms-mdns: Restarting MDNS service<br>
OVMS > metric set v.b.soc 77<br>
Metric set<br>
OVMS > simcom<br>
SIMCOM<br>
Network Registration: RegisteredRoaming<br>
State: NetMode<br>
Ticker: 53<br>
User Data: 0<br>
<br>
Mux<br>
Status: up<br>
Open Channels: 4<br>
Framing Errors: 225<br>
Last RX frame: 50 sec(s) ago<br>
RX frames: 19<br>
TX frames: 20<br>
<br>
PPP<br>
Connected on channel: #2<br>
Last Error: None<br>
<br>
GPS<br>
Status: disabled<br>
Time: disabled<br>
NMEA: GPS/GLONASS Not Connected<br>
OVMS > simcom<br>
SIMCOM<br>
Network Registration: RegisteredRoaming<br>
State: NetMode<br>
Ticker: 60<br>
User Data: 0<br>
<br>
Mux<br>
Status: up<br>
Open Channels: 4<br>
Framing Errors: 356<br>
Last RX frame: 57 sec(s) ago<br>
RX frames: 19<br>
TX frames: 21<br>
<br>
PPP<br>
Connected on channel: #2<br>
Last Error: None<br>
<br>
GPS<br>
Status: disabled<br>
Time: disabled<br>
NMEA: GPS/GLONASS Not Connected<br>
OVMS > simcom<br>
SIMCOM<br>
Network Registration: RegisteredRoaming<br>
State: NetMode<br>
Ticker: 148<br>
User Data: 0<br>
<br>
Mux<br>
Status: up<br>
Open Channels: 4<br>
Framing Errors: 581<br>
Last RX frame: 145 sec(s) ago<br>
RX frames: 19<br>
TX frames: 23<br>
<br>
PPP<br>
Connected on channel: #2<br>
Last Error: None<br>
<br>
GPS<br>
Status: disabled<br>
Time: disabled<br>
NMEA: GPS/GLONASS Not Connected<br>
W (364445) simcom: 3 minutes since last MUX rx frame - assume MUX
has failed<br>
I (364445) gsm-ppp: Shutting down (soft)...<br>
I (364445) time: Stopping SNTP clienturu Meditation Error: Core 0
panic'ed (StoreProhibited)<br>
. Exception was
unhandled.
<br>
Core 0 register
dump:
<br>
PC : 0x40081c84 PS : 0x00060d33 A0 : 0x80081cd4
A1 :
0x3ffd1110
<br>
A2 : 0x3ffec764 A3 : 0x00060f23 A4 : 0x00060f20
A5 :
0x00000001
<br>
A6 : 0x00060f20 A7 : 0x3fff7088 A8 : 0x0045217e
A9 :
0xdfba7a00
<br>
A10 : 0x00000001 A11 : 0x00000000 A12 : 0x00060520
A13 :
0x00000001
<br>
A14 : 0x00060f23 A15 : 0x3fff8068 SAR : 0x00000004
EXCCAUSE:
0x0000001d
<br>
EXCVADDR: 0x0045219a LBEG : 0x4000c2e0 LEND : 0x4000c2f6
LCOUNT :
0xffffffff
<br>
<br>
Backtrace: 0x40081c84:0x3ffd1110 0x40081cd1:0x3ffd1130
0x401d6a5d:0x3ffd1150 0x401d6a93:0x3ffd1170 0x401d9604:0x3ffd11b0
0x40113ddf:0x3ffd11e0 0x401141c0:0x3ffd1200 0x40114230:0x3ffd1220
0x400eb079:0x3ffd1260 0x400eb304:0x3ffd1290 0x400e791a:0x3ffd1320
0x400e81a0:0x3ffd13d0 0x400eb079:0x3ffd1410 0x400eb304:0x3ffd1440
0x4012cfb9:0x3ffd14d0 0x4012c750:0x3ffd1510 0x4012cce9:0x3ffd1640
0x4012cd94:0x3ffd1660 0x400eb079:0x3ffd16a0 0x400eb304:0x3ffd16d0
0x400ead07:0x3ffd1760 0x400eae84:0x3ffd1810 0x4008d94e:0x3ffd1830
0x4008d981:0x3ffd1850
0x4008da90:0x3ffd1880
<br>
<br>
Rebooting...
<br>
ets Jun 8 2016
00:22:57
<br>
<br>
rst:0xc (SW_CPU_RESET),boot:0x1f
(SPI_FAST_FLASH_BOOT)
<br>
configsip: 156795334,
SPIWP:0xee
<br>
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
<br>
mode:DIO, clock
div:2
<br>
load:0x3fff0018,len:4
<br>
load:0x3fff001c,len:4560
<br>
ho 0 tail 12 room
4
<br>
load:0x40078000,len:0
<br>
load:0x40078000,len:13176
<br>
entry
0x40078d38
<br>
I (647) cpu_start: Pro cpu
up.
<br>
I (647) cpu_start: Starting app cpu, entry point is 0x40081300<br>
I (632) cpu_start: App cpu up.<br>
I (650) heap_init: Initializing. RAM available for dynamic
allocation:<br>
I (657) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM<br>
I (664) heap_init: At 3FFBBAC0 len 00024540 (145 KiB): DRAM<br>
I (669) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM<br>
I (676) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM<br>
I (684) heap_init: At 40091FDC len 0000E024 (56 KiB): IRAM<br>
I (688) cpu_start: Pro cpu start user code<br>
I (34) ovms_main: Set default logging level for * to INFO<br>
I (35) command: Initialising COMMAND (1000)<br>
I (36) boot: Initialising BOOT (1100)<br>
I (40) boot: Boot #1 reasons for CPU0=12 and CPU1=12<br>
E (45) boot: Crash #1 detected<br>
I (49) events: Initialising EVENTS (1200)<br>
I (54) config: Initialising CONFIG (1400)<br>
I (59) time: Initialising TIME (1500)<br>
I (64) script: Initialising SCRIPTS (1600)<br>
I (67) script: Using DUKTAPE javascript engine<br>
I (73) metrics: Initialising METRICS (1810)<br>
I (77) metrics: OvmsMetric is 28 bytes<br>
I (82) metrics: OvmsMetricBool is 32 bytes<br>
I (87) metrics: Expanding DUKTAPE javascript engine<br>
I (97) notify: Initialising NOTIFICATIONS (1820)<br>
I (98) notify: Registered notification type info<br>
I (103) notify: Registered notification type error<br>
I (109) notify: Registered notification type alert<br>
I (114) notify: Registered notification type data<br>
I (119) location: Initialising LOCATIONS (1900)<br>
I (126) location: Expanding DUKTAPE javascript engine<br>
I (131) vehicle: Initialising VEHICLE Factory (2000)<br>
I (137) pcp: Initialising POWER (4000)<br>
I (141) max7317: Initialising MAX7317 EGPIO (4200)<br>
I (146) sdcard: Initialising SD CARD (4400)<br>
I (151) ota: Initialising OTA (4400)<br>
I (156) can: Initialising CAN (4500)<br>
I (160) simcom: Initialising SIMCOM (4600)<br>
I (165) test: Initialising TEST (5000)<br>
I (169) ovms-module: Initialising MODULE (5100)<br>
I (174) vfs: Initialising VFS (5200)<br>
I (178) ovms-server: Initialising OVMS Server (6000)<br>
I (184) ovms-server-v2: Initialising OVMS V2 Server (6100)<br>
I (190) ovms-server-v3: Initialising OVMS V3 Server (6200)<br>
I (196) obd2ecu: Initialising OBD2ECU (7000)<br>
I (201) canopen: Initialising CANopen (7000)<br>
I (207) esp32wifi: Initialising ESP32WIFI (8000)<br>
I (211) ovms-mdns: Initialising MDNS (8100)<br>
I (216) webserver: Initialising WEBSERVER (8200)<br>
I (223) telnet: Initialising Telnet (8300)<br>
I (226) ssh: Initialising SSH (8300)<br>
I (231) re: Initialising RE Tools (8800)<br>
I (235) netmanager: Initialising NETMANAGER (8999)<br>
I (242) v-track: Registering Vehicle: TRACK (9000)<br>
I (246) v-teslaroadster: Registering Vehicle: Tesla Roadster
(9000)<br>
I (253) v-teslamodels: Registering Vehicle: Tesla Model S (9000)<br>
I (259) v-obdii: Registering Vehicle: OBDII (9000)<br>
I (265) v-none: Registering Vehicle: NONE (9000)<br>
I (270) v-demo: Registering Vehicle: DEMO (9000)<br>
I (276) version: Initialising Versioning (9900)<br>
I (284) cpu_start: Starting scheduler on PRO CPU.<br>
I (0) cpu_start: Starting scheduler on APP CPU.<br>
I (330) ovms_main: Executing on CPU core 0<br>
I (330) ovms_main: Mounting CONFIG...<br>
W (380) webserver: UpdateGlobalAuthFile: no password set => no
auth for web console<br>
I (390) ovms_main: Registering default configs...<br>
I (390) ovms_main: Starting HOUSEKEEPING...<br>
I (390) housekeeping: Initialising HOUSEKEEPING Framework...<br>
I (450) housekeeping: Executing on CPU core 1<br>
I (450) housekeeping: reset_reason: cpu0=12, cpu1=12<br>
I (450) housekeeping: Starting PERIPHERALS...<br>
I (460) peripherals: Initialising OVMS Peripherals...<br>
I (460) peripherals: TCP/IP Adaptor<br>
I (470) peripherals: ESP32 system<br>
I (470) peripherals: SPI bus<br>
I (470) peripherals: MAX7317 I/O Expander<br>
I (480) peripherals: ESP32 CAN<br>
I (480) peripherals: ESP32 WIFI<br>
I (490) peripherals: ESP32 BLUETOOTH<br>
I (490) peripherals: ESP32 ADC<br>
I (490) peripherals: MCP2515 CAN 1/2<br>
I (510) peripherals: MCP2515 CAN 2/2<br>
I (520) peripherals: SD CARD<br>
I (520) peripherals: SIMCOM MODEM<br>
I (520) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0|
Pullup: 1| Pulldown: 0| Intr:0 <br>
I (530) gpio: GPIO[17]| InputEn: 1| OutputEn: 0| OpenDrain: 0|
Pullup: 1| Pulldown: 0| Intr:0 <br>
I (540) uart: queue free spaces: 10<br>
I (540) ext12v: Powering off external 12V devices<br>
I (550) housekeeping: Auto init ext12v (free: 112528 bytes)<br>
I (550) ext12v: Powering on external 12V devices<br>
I (560) housekeeping: Auto init wifi (free: 112528 bytes)<br>
I (560) wifi: wifi firmware version: ebd3e5d<br>
I (570) wifi: config NVS flash: enabled<br>
I (570) wifi: config nano formating: disabled<br>
I (570) system_api: Base MAC address is not set, read default base
MAC address from BLK0 of EFUSE<br>
I (580) system_api: Base MAC address is not set, read default base
MAC address from BLK0 of EFUSE<br>
I (590) wifi: Init dynamic tx buffer num: 16<br>
I (590) wifi: Init data frame dynamic rx buffer num: 16<br>
I (590) wifi: Init management frame dynamic rx buffer num: 16<br>
I (590) wifi: wifi driver task: 3ffe619c, prio:23, stack:4096<br>
I (600) wifi: Init static rx buffer num: 4<br>
I (600) wifi: Init dynamic rx buffer num: 16<br>
I (600) wifi: wifi power manager task: 0x3ffe8934 prio: 21 stack:
2560<br>
I (1320) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06,
0, 0<br>
I (1320) wifi: mode : sta (30:ae:a4:37:1b:64) + softAP
(30:ae:a4:37:1b:65)<br>
I (1330) housekeeping: Auto init modem (free: 90384 bytes)<br>
I (1340) ovms-mdns: Starting MDNS service<br>
I (1340) simcom: State: Enter PoweringOn state<br>
I (1340) simcom: Power Cycle<br>
I (1340) esp32wifi: AP started with SSID: ovms, MAC:
30:ae:a4:37:1b:65, IP: 192.168.4.1<br>
I (1360) webserver: Launching Web Server<br>
I (1460) simcom: State: Enter PoweredOn state<br>
I (2350) housekeeping: Auto init vehicle (free: 74752 bytes)<br>
I (2350) v-teslaroadster: Tesla Roadster v1.x, v2.x and v3.0
vehicle module<br>
I (2360) housekeeping: Auto init obd2ecu (free: 69024 bytes)<br>
I (2560) housekeeping: Auto init server v2 (free: 60768 bytes)<br>
I (2560) ovms-server-v2: OVMS Server V2 registered metric modifier
is #1<br>
I (2570) ovms-server-v2: Status: Starting<br>
I (2570) ovms-server-v2: OVMS Server v2 running<br>
I (2580) housekeeping: Auto init server v3 (free: 56452 bytes)<br>
I (2580) housekeeping: Auto init done (free: 56452 bytes)<br>
I (2590) housekeeping: Starting USB console...<br>
I (2590) uart: queue free spaces: 30<br>
I (2600) version: Set version<br>
<br>
Welcome to the Open Vehicle Monitoring System (OVMS) - Async
Console<br>
OVMS > <br>
</div>
<br>
</body>
</html>