<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">Stephen Casner wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.OSX.2.21.1803182113100.38122@auge.attlocal.net">
<pre wrap="">Greg, the async console is a separate task that should be able to look
at some things as long as they don't depend upon the networking tasks
or objects. Is it hung also?
</pre>
</blockquote>
Async console? So, not USB. Don't have a connection for that.<br>
<br>
So, tried it again... Note that the wifi connection gets dropped
in the middle, but I didn't turn off the hotspot!<br>
<br>
Network status, however, says that it's still connected. That's
wrong.<br>
<br>
Stop the server, then start, and this time instead of a hang I get a
crash.<br>
<br>
Greg<br>
<br>
<br>
<div dir="ltr">Welcome to the Open Vehicle Monitoring System (OVMS)
- Async Console<br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
I (4185) wifi: n:1 1, o:1 0, ap:1 1, sta:1 0, prof:1<br>
I (4835) wifi: state: init -> auth (b0)<br>
I (4845) wifi: state: auth -> assoc (0)<br>
I (4855) wifi: state: assoc -> run (10)<br>
I (4875) wifi: connected with gregnet3, channel 1<br>
I (4985) simcom: State: Enter PoweredOn state<br>
I (5915) event: sta ip: 192.168.43.49, mask: 255.255.255.0, gw:
192.168.43.1<br>
I (5915) netmanager: Set DNS#0 9.9.9.9<br>
I (5915) netmanager: Set DNS#1 8.8.8.8<br>
I (5915) netmanager: Interface priority is st1 (<a
href="http://192.168.43.49/255.255.255.0">192.168.43.49/255.255.255.0</a>
gateway 192.168.43.1)<br>
I (5915) time: Starting SNTP client<br>
I (5925) ovms-server-v2: Network is up, so attempt network
connection<br>
I (5925) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867">tmc.openvehicles.com:6867</a>
ROADSTER_834/Gdbkt2017server<br>
I (5925) ovms-server-v2: Status: Connecting...<br>
I (5935) ovms-mdns: Stopped MDNS service<br>
I (5935) ovms-mdns: Started MDNS service<br>
I (5955) esp32wifi: WiFi UP with SSID: gregnet3, MAC:
30:ae:a4:37:1b:64, IP: 192.168.43.49, mask: 255.255.255.0, gw:
192.168.43.1<br>
I (6395) ovms-server-v2: Connection successful<br>
I (6395) ovms-server-v2: Status: Logging in...<br>
I (6395) ovms-server-v2: Sending server login: MP-C 0
gDAm8Tas7ISVuhmQ8zGDfh hygW8au7zuXDV5qkWYvMIA== ROADSTER_834<br>
I (6635) ovms-server-v2: Got server response: MP-S 0
ubeiHXgCpUtGX1f6XRXlQK BB2JuaR9oc8TL6Ame7qkEg==<br>
I (6645) ovms-server-v2: Server token is ubeiHXgCpUtGX1f6XRXlQK
and digest is BB2JuaR9oc8TL6Ame7qkEg==<br>
I (6645) ovms-server-v2: Status: Server auth ok. Now priming
crypto.<br>
I (6645) ovms-server-v2: Shared secret key is
ubeiHXgCpUtGX1f6XRXlQKgDAm8Tas7ISVuhmQ8zGDfh (44 bytes)<br>
I (6645) ovms-server-v2: Status: OVMS V2 login successful, and
crypto channel established<br>
I (6655) ovms-server-v2: Incoming Msg: MP-0 Z0<br>
I (7445) ovms-server-v2: Send MP-0
S0,K,0,0,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<br>
I (7445) ovms-server-v2: Send MP-0
D0,0,5,0,0,0,0,0,0,7,0,0,0,0,0.269231,0,0,0,0,0<br>
I (7445) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0<br>
I (7445) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0<br>
I (7445) ovms-server-v2: Send MP-0
F3.0.991-87-g60cd970/factory/main build (idf
v3.1-dev-429-g7f6161cd) Mar 18 2018 20:29:03,,0,1,TR,gregnet3<br>
I (12625) housekeeping: System considered stable (free: 37872
bytes)<br>
I (22225) ovms-server-v2: Incoming Msg: MP-0 Z1<br>
I (22225) ovms-server-v2: One or more peers have connected<br>
I (22445) ovms-server-v2: Send MP-0
S0,K,0,0,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<br>
I (22445) ovms-server-v2: Send MP-0
D0,0,5,0,0,0,0,0,0,22,0,0,0,0,0.351648,0,0,0,0,0<br>
I (22445) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0<br>
I (22445) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0<br>
I (22445) ovms-server-v2: Send MP-0
F3.0.991-87-g60cd970/factory/main build (idf
v3.1-dev-429-g7f6161cd) Mar 18 2018 20:29:03,,9,1,TR,gregnet3<br>
I (24475) simcom: State: Enter MuxStart state<br>
I (24475) gsm-mux: Start MUX<br>
I (24485) gsm-mux: Channel #0 is open<br>
I (24495) gsm-mux: Channel #1 is open<br>
I (24505) gsm-mux: Channel #2 is open<br>
I (24515) gsm-mux: Channel #3 is open<br>
I (24525) gsm-mux: Channel #4 is open<br>
I (25445) simcom: State: Enter NetWait state<br>
I (25745) ovms-server-v2: Incoming Msg: MP-0 Z0<br>
OVMS> metric set v.b.soc 44<br>
Metric set<br>
I (35485) simcom: CREG Network Registration: RegisteredRoaming<br>
I (36445) simcom: State: Enter NetStart state<br>
I (37585) simcom: PPP Connection is ready to start<br>
I (38445) simcom: State: Enter NetMode state<br>
I (38445) gsm-ppp: Initialising...<br>
I (40145) ovms-server-v2: Incoming Msg: MP-0 Z1<br>
I (40145) ovms-server-v2: One or more peers have connected<br>
I (40445) ovms-server-v2: Send MP-0
S44.0,K,0,0,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<br>
I (40445) ovms-server-v2: Send MP-0
D0,0,5,0,0,0,0,0,0,40,0,0,0,0,0.28022,0,0,0,0,0<br>
I (40445) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0<br>
I (40445) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0<br>
I (40445) ovms-server-v2: Send MP-0
F3.0.991-87-g60cd970/factory/main build (idf
v3.1-dev-429-g7f6161cd) Mar 18 2018 20:29:03,,9,1,TR,T-Mobile
Hologram<br>
E (40645) ovms-server-v2: Status: Error: Disconnected from OVMS
Server V2<br>
I (41895) gsm-ppp: StatusCallBack: None<br>
I (41895) gsm-ppp: status_cb: Connected<br>
I (41895) gsm-ppp: our_ipaddr = 10.170.146.142<br>
I (41895) gsm-ppp: his_ipaddr = 10.64.64.64<br>
I (41895) gsm-ppp: netmask = 255.255.255.255<br>
I (41895) gsm-ppp: our6_ipaddr = ::<br>
I (41895) netmanager: Set DNS#0 9.9.9.9<br>
I (41895) netmanager: Set DNS#1 8.8.8.8<br>
I (41895) netmanager: Interface priority is st1 (<a
href="http://192.168.43.49/255.255.255.0">192.168.43.49/255.255.255.0</a>
gateway 192.168.43.1)<br>
I (41895) time: Starting SNTP client<br>
I (41895) ovms-server-v2: Network is up, so attempt network
connection<br>
I (41895) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867">tmc.openvehicles.com:6867</a>
ROADSTER_834/Gdbkt2017server<br>
I (41895) ovms-server-v2: Status: Connecting...<br>
I (60445) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867">tmc.openvehicles.com:6867</a>
ROADSTER_834/Gdbkt2017server<br>
I (60445) ovms-server-v2: Status: Connecting...<br>
I (62565) wifi: bcn_timout,ap_probe_send_start<br>
I (65065) wifi: ap_probe_send over, resett wifi status to disassoc<br>
I (65065) wifi: state: run -> init (1)<br>
I (65065) wifi: n:1 0, o:1 1, ap:1 1, sta:1 0, prof:1<br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> <br>
OVMS> server v2 status<br>
Connecting...<br>
OVMS> network <br>
Interface#3: pp3 (ifup=1 linkup=1)<br>
IPv4: <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>
<br>
Interface#2: ap2 (ifup=1 linkup=1)<br>
IPv4: <a href="http://192.168.4.1/255.255.255.0">192.168.4.1/255.255.255.0</a>
gateway 192.168.4.1<br>
<br>
Interface#1: st1 (ifup=1 linkup=1)<br>
IPv4: <a href="http://192.168.43.49/255.255.255.0">192.168.43.49/255.255.255.0</a>
gateway 192.168.43.1<br>
<br>
Interface#0: lo0 (ifup=1 linkup=1)<br>
IPv4: <a href="http://127.0.0.1/255.0.0.0">127.0.0.1/255.0.0.0</a>
gateway 127.0.0.1<br>
<br>
DNS: 9.9.9.9 8.8.8.8<br>
<br>
Default Interface: st1 (<a
href="http://192.168.43.49/255.255.255.0">192.168.43.49/255.255.255.0</a>
gateway 192.168.43.1)<br>
OVMS> simcom<br>
SIMCOM<br>
Network Registration: RegisteredRoaming<br>
State: NetMode<br>
Ticker: 22<br>
User Data: 0<br>
<br>
Mux<br>
Status: up<br>
Open Channels: 4<br>
Framing Errors: 0<br>
Last RX frame: 19 sec(s) ago<br>
RX frames: 18<br>
TX frames: 18<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> wifi<br>
WiFi<br>
Power: on<br>
Mode: Access-Point + Client mode<br>
<br>
STA SSID: gregnet3<br>
MAC: 30:ae:a4:37:1b:64<br>
IP: <a href="http://192.168.43.49/255.255.255.0">192.168.43.49/255.255.255.0</a><br>
GW: 192.168.43.1<br>
<br>
AP SSID: ovms<br>
MAC: 30:ae:a4:37:1b:65<br>
IP: 192.168.4.1<br>
AP Stations: 0<br>
OVMS> server v2 stop<br>
Stopping OVMS Server V2 connection (oscv2)<br>
OVMS> server v2 status<br>
OVMS v2 server has not been started<br>
OVMS> server v2 start<br>
Launching OVMS Server V2 connection (oscv2)<br>
Guru Meditation Error: Core 1 panic'ed (LoadProhibited)<br>
. Exception was unhandled.<br>
Core 1 register dump:<br>
PC : 0x400ee17d PS : 0x00060630 A0 : 0x800ef642
A1 : 0x3fff5020 <br>
A2 : 0xffffffff A3 : 0x3fff2540 A4 : 0x00000000
A5 : 0x3fff5100 <br>
A6 : 0x3fff50e0 A7 : 0x0000000c A8 : 0x800ee179
A9 : 0x3fff4ff0 <br>
A10 : 0xffffffff A11 : 0x3f411528 A12 : 0x3fff5100
A13 : 0x3fff50e0 <br>
A14 : 0x0000000c A15 : 0x3fff1ea4 SAR : 0x00000004
EXCCAUSE: 0x0000001c <br>
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d
LCOUNT : 0xffffffff <br>
<br>
Backtrace: 0x400ee17d:0x3fff5020 0x400ef63f:0x3fff5060
0x400f04c5:0x3fff50a0 0x40082c71:0x3fff50d0 0x40115696:0x3fff5120
0x401161ef:0x3fff5140 0x40116a7d:0x3fff5330 0x40116aa5:0x3fff5960
0x400eeeb2:0x3fff5980 0x400eefa9:0x3fff59b0 0x400eef9b:0x3fff59e0
0x400eef9b:0x3fff5a10 0x400eefd1:0x3fff5a40 0x400e534c:0x3fff5a60
0x400f1809:0x3fff5a80 0x400f1870:0x3fff5ae0 0x400e537b:0x3fff5b20
0x401eb64f:0x3fff5b40 0x400f0575:0x3fff5b60 0x400ebf8d:0x3fff5b90
0x400ec179:0x3fff5bc0 0x400f0421:0x3fff5be0 0x400f0430:0x3fff5c00
0x400e3295:0x3fff5c20<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 (651) 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 (670) 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 (689) cpu_start: Pro cpu start user code<br>
I (35) 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 (46) 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 (68) script: Using DUKTAPE javascript engine<br>
I (74) metrics: Initialising METRICS (1810)<br>
I (78) 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 (99) 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 (120) 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 (161) 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 (179) 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 (202) canopen: Initialising CANopen (7000)<br>
I (207) esp32wifi: Initialising ESP32WIFI (8000)<br>
I (212) ovms-mdns: Initialising MDNS (8100)<br>
I (217) webserver: Initialising WEBSERVER (8200)<br>
I (223) telnet: Initialising Telnet (8300)<br>
I (227) ssh: Initialising SSH (8300)<br>
I (231) re: Initialising RE Tools (8800)<br>
I (236) 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 (260) v-obdii: Registering Vehicle: OBDII (9000)<br>
I (265) v-none: Registering Vehicle: NONE (9000)<br>
I (271) v-demo: Registering Vehicle: DEMO (9000)<br>
I (276) version: Initialising Versioning (9900)<br>
I (285) cpu_start: Starting scheduler on PRO CPU.<br>
I (0) cpu_start: Starting scheduler on APP CPU.<br>
I (331) ovms_main: Executing on CPU core 0<br>
I (331) ovms_main: Mounting CONFIG...<br>
W (381) webserver: UpdateGlobalAuthFile: no password set => no
auth for web console<br>
I (391) ovms_main: Registering default configs...<br>
I (391) ovms_main: Starting HOUSEKEEPING...<br>
I (391) housekeeping: Initialising HOUSEKEEPING Framework...<br>
I (451) housekeeping: Executing on CPU core 1<br>
I (451) housekeeping: reset_reason: cpu0=12, cpu1=12<br>
I (451) housekeeping: Starting PERIPHERALS...<br>
I (461) peripherals: Initialising OVMS Peripherals...<br>
I (461) peripherals: TCP/IP Adaptor<br>
I (471) peripherals: ESP32 system<br>
I (471) peripherals: SPI bus<br>
I (471) peripherals: MAX7317 I/O Expander<br>
I (481) peripherals: ESP32 CAN<br>
I (481) peripherals: ESP32 WIFI<br>
I (491) peripherals: ESP32 BLUETOOTH<br>
I (491) peripherals: ESP32 ADC<br>
I (491) peripherals: MCP2515 CAN 1/2<br>
I (511) peripherals: MCP2515 CAN 2/2<br>
I (521) peripherals: SD CARD<br>
I (521) peripherals: SIMCOM MODEM<br>
I (521) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0|
Pullup: 1| Pulldown: 0| Intr:0 <br>
I (531) gpio: GPIO[17]| InputEn: 1| OutputEn: 0| OpenDrain: 0|
Pullup: 1| Pulldown: 0| Intr:0 <br>
I (541) uart: queue free spaces: 10<br>
I (541) ext12v: Powering off external 12V devices<br>
I (551) housekeeping: Auto init ext12v (free: 112436 bytes)<br>
I (551) ext12v: Powering on external 12V devices<br>
I (561) housekeeping: Auto init wifi (free: 112436 bytes)<br>
I (561) wifi: wifi firmware version: ebd3e5d<br>
I (571) wifi: config NVS flash: enabled<br>
I (571) wifi: config nano formating: disabled<br>
I (571) system_api: Base MAC address is not set, read default base
MAC address from BLK0 of EFUSE<br>
I (581) system_api: Base MAC address is not set, read default base
MAC address from BLK0 of EFUSE<br>
I (601) wifi: Init dynamic tx buffer num: 16<br>
I (601) wifi: Init data frame dynamic rx buffer num: 16<br>
I (601) wifi: Init management frame dynamic rx buffer num: 16<br>
I (601) wifi: wifi driver task: 3ffe61dc, prio:23, stack:4096<br>
I (611) wifi: Init static rx buffer num: 4<br>
I (611) wifi: Init dynamic rx buffer num: 16<br>
I (611) wifi: wifi power manager task: 0x3ffe8974 prio: 21 stack:
2560<br>
I (1331) phy: phy_version: 383.0, 79a622c, Jan 30 2018, 15:38:06,
0, 0<br>
I (1331) wifi: mode : sta (30:ae:a4:37:1b:64) + softAP
(30:ae:a4:37:1b:65)<br>
I (1341) housekeeping: Auto init modem (free: 90292 bytes)<br>
I (1351) simcom: State: Enter PoweringOn state<br>
I (1351) simcom: Power Cycle<br>
I (1351) ovms-mdns: Started MDNS service<br>
I (1381) webserver: Launching Web Server<br>
I (1381) esp32wifi: AP started with SSID: ovms, MAC:
30:ae:a4:37:1b:65, IP: 192.168.4.1<br>
I (1461) simcom: State: Enter PoweredOn state<br>
I (2351) housekeeping: Auto init vehicle (free: 75064 bytes)<br>
I (2351) v-teslaroadster: Tesla Roadster v1.x, v2.x and v3.0
vehicle module<br>
I (2361) housekeeping: Auto init obd2ecu (free: 69332 bytes)<br>
I (2561) housekeeping: Auto init server v2 (free: 60676 bytes)<br>
I (2561) ovms-server-v2: OVMS Server V2 registered metric modifier
is #1<br>
I (2571) ovms-server-v2: Status: Starting<br>
I (2571) ovms-server-v2: OVMS Server v2 running<br>
I (2581) housekeeping: Auto init server v3 (free: 56364 bytes)<br>
I (2581) housekeeping: Auto init done (free: 56364 bytes)<br>
I (2591) housekeeping: Starting USB console...<br>
I (2591) uart: queue free spaces: 30<br>
I (2601) version: Set version<br>
<br>
Welcome to the Open Vehicle Monitoring System (OVMS) - Async
Console<br>
<br>
</div>
<br>
<br>
</body>
</html>