<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Too tired to analyse code today, but I've done some bisecting that
    may be helpful:<br>
    <br>
    - commit 2bcbc8e995977c904f5346c44221e07413e56a62 has broken the AP
    mode (network completely lost on ppp init)<br>
    <br>
    - commit 17a528bbe4e021768e28251984ad4532e9b745bb has then
    additionally broken the client mode (same effect, network lost on
    ppp init)<br>
    <br>
    AP and client mode fully work last in commit
    b9e57cef60e240745bd93a1b542158d89b878ec2, client mode also with
    fallback to ppp on losing wifi. With MDNS disabled of course.<br>
    <br>
    AP+Client mode starts correctly in
    b9e57cef60e240745bd93a1b542158d89b878ec2 but crashes on losing wifi.<br>
    <br>
    Regards,<br>
    Michael<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 19.03.2018 um 18:06 schrieb Michael
      Balzer:<br>
    </div>
    <blockquote type="cite"
      cite="mid:130f7691-87e6-aa9b-85da-c4b478b1cae0@expeedo.de">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Disabled mDNS again, "module memory" again working without
      crashes.<br>
      <br>
      Wifi modes client and apclient working again, but mode ap still
      with the effect of a broken network after ppp init.<br>
      <br>
      Server v2 does not connect, and "ota flash http …" just hangs.<br>
      <br>
      <br>
      <br>
      <div class="moz-cite-prefix">Am 19.03.2018 um 17:49 schrieb
        Michael Balzer:<br>
      </div>
      <blockquote type="cite"
        cite="mid:2f0826bc-b764-147c-bb69-331fb11a081e@expeedo.de">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        Just pulled the latest version, reenabled mDNS.<br>
        <br>
        Server v2 again does not connect, and the module crashes
        immediately on "module memory" (related?):<br>
        <br>
        <tt>I (1239) housekeeping: Auto init wifi (free: 134556 bytes)</tt><tt><br>
        </tt><tt>I (1249) wifi: wifi firmware version: ebd3e5d</tt><tt><br>
        </tt><tt>I (1249) wifi: config NVS flash: enabled</tt><tt><br>
        </tt><tt>I (1259) wifi: config nano formating: disabled</tt><tt><br>
        </tt><tt>I (1259) system_api: Base MAC address is not set, read
          default base MAC address from BLK0 of EFUSE</tt><tt><br>
        </tt><tt>I (1269) system_api: Base MAC address is not set, read
          default base MAC address from BLK0 of EFUSE</tt><tt><br>
        </tt><tt>I (1279) wifi: Init dynamic tx buffer num: 16</tt><tt><br>
        </tt><tt>I (1279) wifi: Init data frame dynamic rx buffer num:
          16</tt><tt><br>
        </tt><tt>I (1279) wifi: Init management frame dynamic rx buffer
          num: 16</tt><tt><br>
        </tt><tt>I (1289) wifi: wifi driver task: 3ffdf3a8, prio:23,
          stack:4096</tt><tt><br>
        </tt><tt>I (1289) wifi: Init static rx buffer num: 4</tt><tt><br>
        </tt><tt>I (1299) wifi: Init dynamic rx buffer num: 16</tt><tt><br>
        </tt><tt>I (1299) wifi: wifi power manager task: 0x3ffdfe24
          prio: 21 stack: 2560</tt><tt><br>
        </tt><tt>I (2019) phy: phy_version: 383.0, 79a622c, Jan 30 2018,
          15:38:06, 0, 0</tt><tt><br>
        </tt><tt>I (2019) wifi: mode : softAP (30:ae:a4:37:25:89)</tt><tt><br>
        </tt><tt>I (2029) housekeeping: Auto init modem (free: 113884
          bytes)</tt><tt><br>
        </tt><tt>I (2029) housekeeping: Auto init vehicle (free: 113300
          bytes)</tt><tt><br>
        </tt><tt>I (2029) esp32wifi: AP started with SSID: OVMS, MAC:
          30:ae:a4:37:25:89, IP: 192.168.4.1</tt><tt><br>
        </tt><tt>I (2029) webserver: Launching Web Server</tt><tt><br>
        </tt><tt>I (2039) v-twizy: Renault Twizy vehicle module</tt><tt><br>
        </tt><tt>I (2049) v-twizy: battmon subsystem init</tt><tt><br>
        </tt><tt>I (2059) v-twizy: pwrmon subsystem init</tt><tt><br>
        </tt><tt>I (2059) v-twizy: charge subsystem init</tt><tt><br>
        </tt><tt>I (2059) canopen: Worker started on can1</tt><tt><br>
        </tt><tt>I (2059) telnet: Launching Telnet Server</tt><tt><br>
        </tt><tt>I (2059) v-twizy: sevcon subsystem init</tt><tt><br>
        </tt><tt>I (2069) simcom: State: Enter PoweringOn state</tt><tt><br>
        </tt><tt>I (2069) simcom: Power Cycle</tt><tt><br>
        </tt><tt>I (2069) simcom: State: Enter PoweredOn state</tt><tt><br>
        </tt><tt>I (3069) gsm-nmea: Startup</tt><tt><br>
        </tt><tt>I (3079) housekeeping: Auto init server v2 (free: 71748
          bytes)</tt><tt><br>
        </tt><tt>I (3079) ovms-server-v2: OVMS Server V2 registered
          metric modifier is #2</tt><tt><br>
        </tt><tt>I (3079) ovms-server-v2: Status: Starting</tt><tt><br>
        </tt><tt>I (3089) ovms-server-v2: OVMS Server v2 running</tt><tt><br>
        </tt><tt>I (3089) housekeeping: Auto init server v3 (free: 67436
          bytes)</tt><tt><br>
        </tt><tt>I (3099) housekeeping: Auto init done (free: 67436
          bytes)</tt><tt><br>
        </tt><tt>I (3099) housekeeping: Starting USB console...</tt><tt><br>
        </tt><tt>I (3109) uart: queue free spaces: 30</tt><tt><br>
        </tt><tt>I (3109) ovms-mdns: Starting MDNS</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Welcome to the Open Vehicle Monitoring System (OVMS) -
          Async Console</tt><tt><br>
        </tt><tt>I (3149) version: Set version</tt><tt><br>
        </tt><tt>I (12139) simcom: State timeout, transition to 2</tt><tt><br>
        </tt><tt>I (12139) simcom: State: Enter PoweringOn state</tt><tt><br>
        </tt><tt>I (12139) simcom: Power Cycle</tt><tt><br>
        </tt><tt>I (13149) housekeeping: System considered stable (free:
          46388 bytes)</tt><tt><br>
        </tt><tt>I (18139) simcom: State: Enter PoweredOn state</tt><tt><br>
        </tt><tt>OVMS> enable dee4shi!</tt><tt><br>
        </tt><tt>Secure mode</tt><tt><br>
        </tt><tt>I (38159) simcom: State: Enter MuxStart state</tt><tt><br>
        </tt><tt>I (38159) gsm-mux: Start MUX</tt><tt><br>
        </tt><tt>I (38169) gsm-mux: Channel #0 is open</tt><tt><br>
        </tt><tt>I (38179) gsm-mux: Channel #1 is open</tt><tt><br>
        </tt><tt>I (38179) gsm-mux: Channel #2 is open</tt><tt><br>
        </tt><tt>I (38189) gsm-mux: Channel #3 is open</tt><tt><br>
        </tt><tt>I (38199) gsm-mux: Channel #4 is open</tt><tt><br>
        </tt><tt>I (39139) simcom: State: Enter NetWait state</tt><tt><br>
        </tt><tt>I (39139) gsm-nmea: Startup</tt><tt><br>
        </tt><tt>OVMS# mo m</tt><tt><br>
        </tt><tt>Free 8-bit 38380/283224, 32-bit 27544/55820, SPIRAM 0/0</tt><tt><br>
        </tt><tt>--Task--     Total DRAM D/IRAM   IRAM SPIRAM   +/- DRAM
          D/IRAM   IRAM SPIRAM</tt><tt><br>
        </tt><tt>no task            5312      0      0      0     
          +5312     +0     +0     +0</tt><tt><br>
        </tt><tt>esp_timer         50120      0    644      0    
          +50120     +0   +644     +0</tt><tt><br>
        </tt><tt>main              24624      0      0      0    
          +24624     +0     +0     +0</tt><tt><br>
        </tt><tt>ipc0              10848      0      0      0    
          +10848     +0     +0     +0</tt><tt><br>
        </tt><tt>Housekeeping      35976  61772      0      0     +35976
          +61772     +0     +0</tt><tt><br>
        </tt><tt>tiT                 128   1016      0      0      
          +128  +1016     +0     +0</tt><tt><br>
        </tt><tt>ipc1                 12      0      0      0       
          +12     +0     +0     +0</tt><tt><br>
        </tt><tt>NetManTask           16    692      0      0       
          +16   +692     +0     +0</tt><tt><br>
        </tt><tt>wifi                 32   3392      0      0       
          +32  +3392     +0     +0</tt><tt><br>
        </tt><tt>eventTask             0   7532      0      0        
          +0  +7532     +0     +0</tt><tt><br>
        </tt><tt>SIMCOMTask            0   4400      0      0        
          +0  +4400     +0     +0</tt><tt><br>
        </tt><tt>Tmr Svc               0   2136      0      0        
          +0  +2136     +0     +0</tt><tt><br>
        </tt><tt>AsyncConsole          0     20  27488      0        
          +0    +20 +27488     +0</tt><tt><br>
        </tt><tt>I (49159) simcom: CREG Network Registration:
          RegisteredRoaming</tt><tt><br>
        </tt><tt>OVMS# wifi status </tt><tt><br>
        </tt><tt>WiFi</tt><tt><br>
        </tt><tt>  Power: on</tt><tt><br>
        </tt><tt>  Mode: Access-Point mode</tt><tt><br>
        </tt><tt><br>
        </tt><tt>  AP SSID: OVMS</tt><tt><br>
        </tt><tt>    MAC: 30:ae:a4:37:25:89</tt><tt><br>
        </tt><tt>    IP: 192.168.4.1</tt><tt><br>
        </tt><tt>    AP Stations: 0</tt><tt><br>
        </tt><tt>I (50139) simcom: State: Enter NetStart state</tt><tt><br>
        </tt><tt>I (51169) simcom: PPP Connection is ready to start</tt><tt><br>
        </tt><tt>I (52139) simcom: State: Enter NetMode state</tt><tt><br>
        </tt><tt>I (52139) gsm-ppp: Initialising...</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp: StatusCallBack: None</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp: status_cb: Connected</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp:    our_ipaddr  = 10.170.195.13</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp:    his_ipaddr  = 10.64.64.64</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp:    netmask     = 255.255.255.255</tt><tt><br>
        </tt><tt>I (54569) gsm-ppp:    our6_ipaddr = ::</tt><tt><br>
        </tt><tt>I (54569) netmanager: Set DNS#0 8.8.8.8</tt><tt><br>
        </tt><tt>I (54569) netmanager: Set DNS#1 8.8.4.4</tt><tt><br>
        </tt><tt>I (54579) netmanager: Interface priority is pp2
          (10.170.195.13/255.255.255.255 gateway 10.64.64.64)</tt><tt><br>
        </tt><tt>I (54579) time: Starting SNTP client</tt><tt><br>
        </tt><tt>I (54579) ovms-server-v2: Network is up, so attempt
          network connection</tt><tt><br>
        </tt><tt>I (54579) ovms-server-v2: Connection is
          ovms.dexters-web.de:6867 test1/aeL1aN9j</tt><tt><br>
        </tt><tt>I (54579) ovms-server-v2: Status: Connecting...</tt><tt><br>
        </tt><tt>OVMS# server v2 status </tt><tt><br>
        </tt><tt>Connecting...</tt><tt><br>
        </tt><tt>OVMS# network status </tt><tt><br>
        </tt><tt>Interface#2: pp2 (ifup=1 linkup=1)</tt><tt><br>
        </tt><tt>  IPv4: 10.170.195.13/255.255.255.255 gateway
          10.64.64.64</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Interface#1: ap1 (ifup=1 linkup=1)</tt><tt><br>
        </tt><tt>  IPv4: 192.168.4.1/255.255.255.0 gateway 192.168.4.1</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Interface#0: lo0 (ifup=1 linkup=1)</tt><tt><br>
        </tt><tt>  IPv4: 127.0.0.1/255.0.0.0 gateway 127.0.0.1</tt><tt><br>
        </tt><tt><br>
        </tt><tt>DNS: 8.8.8.8 8.8.4.4</tt><tt><br>
        </tt><tt><br>
        </tt><tt>Default Interface: pp2 (10.170.195.13/255.255.255.255
          gateway 10.64.64.64)</tt><tt><br>
        </tt><tt>OVMS# mo m</tt><tt><br>
        </tt><tt>CORRUPT HEAP: Bad head at 0x3ffcccf0. Expected
          0xabba1234 got 0xab003335</tt><tt><br>
        </tt><tt>assertion "head != NULL" failed: file
          "/home/balzer/esp/esp-idf/components/heap/./multi_heap_poisoning.c",
          line 272, function: multi_heap_get_allocated_size</tt><tt><br>
        </tt><tt>abort() was called at PC 0x400f82af on core 1</tt><tt><br>
        </tt><tt>0x400f82af: __assert_func at
/Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63
          (discriminator 8)</tt><tt><br>
        </tt><tt><br>
        </tt><tt><br>
        </tt><tt>Backtrace: 0x4008f698:0x3fff2c60 0x4008f83b:0x3fff2c80
          0x400f82af:0x3fff2ca0 0x4008f39f:0x3fff2cd0
          0x40197139:0x3fff2cf0 0x400e7125:0x3fff2d30
          0x400e77c7:0x3fff2d50 0x400ed17a:0x3fff2de0
          0x400ed271:0x3fff2e10 0x400ed263:0x3fff2e40
          0x400ed299:0x3fff2e70 0x400e3074:0x3fff2e90
          0x400f0791:0x3fff2eb0 0x400f07f8:0x3fff2f10
          0x400e30a3:0x3fff2f50 0x401ca06b:0x3fff2f70
          0x400e36b5:0x3fff2f90 0x400e8005:0x3fff2fc0
          0x400e81f1:0x3fff2ff0 0x400e3561:0x3fff3010
          0x400e3570:0x3fff3030 0x400e6c31:0x3fff3050</tt><tt><br>
        </tt><tt>0x4008f698: invoke_abort at
          /home/balzer/esp/esp-idf/components/esp32/./panic.c:648</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x4008f83b: abort at
          /home/balzer/esp/esp-idf/components/esp32/./panic.c:648</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400f82af: __assert_func at
/Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdlib/../../../.././newlib/libc/stdlib/assert.c:63
          (discriminator 8)</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x4008f39f: multi_heap_get_allocated_size at
          /home/balzer/esp/esp-idf/components/heap/./multi_heap_poisoning.c:326</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x40197139: heap_caps_get_per_task_info at
          /home/balzer/esp/esp-idf/components/heap/./heap_task_info.c:78</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e7125: get_memory(void**, unsigned int) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_module.cpp:751</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e77c7: module_memory(int, OvmsWriter*,
          OvmsCommand*, int, char const* const*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_module.cpp:751</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400ed17a: OvmsCommand::Execute(int, OvmsWriter*, int,
          char const* const*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:94</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400ed271: OvmsCommand::Execute(int, OvmsWriter*, int,
          char const* const*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:94</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400ed263: OvmsCommand::Execute(int, OvmsWriter*, int,
          char const* const*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:94</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400ed299: OvmsCommandApp::Execute(int, OvmsWriter*,
          int, char const* const*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:94</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e3074: Execute(microrl*, int, char const* const*)
          at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:47</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400f0791: new_line_handler at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/microrl/./microrl.c:620</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400f07f8: microrl_insert_char at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/microrl/./microrl.c:668</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e30a3: OvmsShell::ProcessChar(char) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:70</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x401ca06b: OvmsShell::ProcessChars(char const*, int)
          at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:77
          (discriminator 2)</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e36b5: ConsoleAsync::HandleDeviceEvent(void*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./console_async.cpp:169</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e8005: OvmsConsole::Poll(unsigned int, void*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_console.cpp:150</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e81f1: OvmsConsole::Service() at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_console.cpp:130
          (discriminator 1)</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e3561: ConsoleAsync::Service() at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./console_async.cpp:80</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e3570: non-virtual thunk to
          ConsoleAsync::Service() at ??:?</tt><tt><br>
        </tt><tt><br>
        </tt><tt>0x400e6c31: TaskBase::Task(void*) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./task_base.cpp:156</tt><tt><br>
        </tt><tt><br>
        </tt><tt><br>
        </tt><tt>Entering gdb stub now.</tt><tt><br>
        </tt><tt>$T0b#e6GNU gdb (crosstool-NG
          crosstool-ng-1.22.0-80-g6c4433a) 7.10</tt><tt><br>
        </tt><tt>Copyright (C) 2015 Free Software Foundation, Inc.</tt><tt><br>
        </tt><tt>License GPLv3+: GNU GPL version 3 or later <a
            class="moz-txt-link-rfc2396E"
            href="http://gnu.org/licenses/gpl.html"
            moz-do-not-send="true"><http://gnu.org/licenses/gpl.html></a></tt><tt><br>
        </tt><tt>This is free software: you are free to change and
          redistribute it.</tt><tt><br>
        </tt><tt>There is NO WARRANTY, to the extent permitted by law. 
          Type "show copying"</tt><tt><br>
        </tt><tt>and "show warranty" for details.</tt><tt><br>
        </tt><tt>This GDB was configured as
          "--host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf".</tt><tt><br>
        </tt><tt>Type "show configuration" for configuration details.</tt><tt><br>
        </tt><tt>For bug reporting instructions, please see:</tt><tt><br>
        </tt><tt><a class="moz-txt-link-rfc2396E"
            href="http://www.gnu.org/software/gdb/bugs/"
            moz-do-not-send="true"><http://www.gnu.org/software/gdb/bugs/></a>.</tt><tt><br>
        </tt><tt>Find the GDB manual and other documentation resources
          online at:</tt><tt><br>
        </tt><tt><a class="moz-txt-link-rfc2396E"
            href="http://www.gnu.org/software/gdb/documentation/"
            moz-do-not-send="true"><http://www.gnu.org/software/gdb/documentation/></a>.</tt><tt><br>
        </tt><tt>For help, type "help".</tt><tt><br>
        </tt><tt>Type "apropos word" to search for commands related to
          "word"...</tt><tt><br>
        </tt><tt>Reading symbols from
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/ovms3.elf...done.</tt><tt><br>
        </tt><tt>Remote debugging using /dev/ttyUSB0</tt><tt><br>
        </tt><tt>0x4008f698 in invoke_abort () at
          /home/balzer/esp/esp-idf/components/esp32/./panic.c:139</tt><tt><br>
        </tt><tt>139            *((int *) 0) = 0;</tt><tt><br>
        </tt><tt>(gdb) bt</tt><tt><br>
        </tt><tt>#0  0x4008f698 in invoke_abort () at
          /home/balzer/esp/esp-idf/components/esp32/./panic.c:139</tt><tt><br>
        </tt><tt>#1  0x4008f83e in abort () at
          /home/balzer/esp/esp-idf/components/esp32/./panic.c:148</tt><tt><br>
        </tt><tt>#2  0x400f82b2 in __assert_func (file=0x3ffb3720
          "/home/balzer/esp/esp-idf/components/heap/./multi_heap_poisoning.c",
          line=272, func=<optimized out>, failedexpr=0x3ffb3710
          "head != NULL")</tt><tt><br>
        </tt><tt>    at ../../../.././newlib/libc/stdlib/assert.c:63</tt><tt><br>
        </tt><tt>#3  0x4008f3a2 in multi_heap_get_allocated_size
          (heap=0x3ffbbe88, p=0x3ffcccfc) at
          /home/balzer/esp/esp-idf/components/heap/./multi_heap_poisoning.c:272</tt><tt><br>
        </tt><tt>#4  0x4019713c in heap_caps_get_per_task_info
          (params=0x40098af4) at
          /home/balzer/esp/esp-idf/components/heap/./heap_task_info.c:78</tt><tt><br>
        </tt><tt>#5  0x400e7128 in get_memory (tasks=0x40098ab8,
          taskslen=0) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_module.cpp:500</tt><tt><br>
        </tt><tt>#6  0x400e77ca in module_memory
          (verbosity=<optimized out>, writer=<optimized
          out>, cmd=<optimized out>, argc=<optimized
          out>, argv=<optimized out>)</tt><tt><br>
        </tt><tt>    at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_module.cpp:550</tt><tt><br>
        </tt><tt>#7  0x400ed17d in OvmsCommand::Execute
          (this=0x3ffc6a44, verbosity=65535, writer=0x3ffef9e4, argc=0,
          argv=0x0) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:281</tt><tt><br>
        </tt><tt>#8  0x400ed274 in OvmsCommand::Execute
          (this=0x3ffc69b0, verbosity=65535, writer=0x3ffef9e4, argc=1,
          argv=0x3fff2eb4) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:326</tt><tt><br>
        </tt><tt>#9  0x400ed266 in OvmsCommand::Execute (this=0x3ffb413c
          <MyCommandApp+4>, verbosity=65535, writer=0x3ffef9e4,
          argc=2, argv=0x3fff2eb4)</tt><tt><br>
        </tt><tt>    at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:322</tt><tt><br>
        </tt><tt>#10 0x400ed29c in OvmsCommandApp::Execute
          (this=0x3ffb4138 <MyCommandApp>, verbosity=65535,
          writer=0x3ffef9e4, argc=2, argv=0x3fff2eb0)</tt><tt><br>
        </tt><tt>    at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_command.cpp:648</tt><tt><br>
        </tt><tt>#11 0x400e3077 in Execute (rl=0x3ffef9f8, argc=2,
          argv=0x3fff2eb0) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:47</tt><tt><br>
        </tt><tt>#12 0x400f0794 in new_line_handler (pThis=0x3ffef9f8)
          at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/microrl/./microrl.c:620</tt><tt><br>
        </tt><tt>#13 0x400f07fb in microrl_insert_char
          (pThis=0x3ffef9f8, ch=10) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/microrl/./microrl.c:668</tt><tt><br>
        </tt><tt>#14 0x400e30a6 in OvmsShell::ProcessChar
          (this=0x3ffef9e4, c=<optimized out>) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:70</tt><tt><br>
        </tt><tt>#15 0x401ca06e in OvmsShell::ProcessChars
          (this=0x3ffef9e4, buf=0x3fff01a5 "a ", '\376' <repeats 198
          times>..., len=1) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_shell.cpp:77</tt><tt><br>
        </tt><tt>#16 0x400e36b8 in ConsoleAsync::HandleDeviceEvent
          (this=0x3ffef9e4, pEvent=<optimized out>) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./console_async.cpp:169</tt><tt><br>
        </tt><tt>#17 0x400e8008 in OvmsConsole::Poll (this=0x3ffef9e4,
          ticks=4294967295, queue=0x3fff0918) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_console.cpp:150</tt><tt><br>
        </tt><tt>#18 0x400e81f4 in OvmsConsole::Service
          (this=0x3ffef9e4) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_console.cpp:130</tt><tt><br>
        </tt><tt>#19 0x400e3564 in ConsoleAsync::Service
          (this=0x3ffef9e4) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./console_async.cpp:80</tt><tt><br>
        </tt><tt>#20 0x400e3573 in non-virtual thunk to
          ConsoleAsync::Service() ()</tt><tt><br>
        </tt><tt>#21 0x400e6c34 in TaskBase::Task (object=0x3fff0190) at
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./task_base.cpp:156</tt><tt><br>
        </tt><tt>(gdb) </tt><br>
        <br>
        <br>
        <br>
        <br>
        <div class="moz-cite-prefix">Am 19.03.2018 um 15:34 schrieb Mark
          Webb-Johnson:<br>
        </div>
        <blockquote type="cite"
          cite="mid:1EDD905F-A327-487E-BE29-9D2878060E57@webb-johnson.net">
          <meta http-equiv="Content-Type" content="text/html;
            charset=utf-8">
          And MDNS is back.
          <div class=""><br class="">
          </div>
          <div class="">I looked through the source code and found
            a mdns_handle_system_event() call that is used to pass all
            the system events through to MDNS. That then dynamically
            adds/removed wifi STA and AP interfaces as they come
            up/down. No need to init and free the mdns system the whole
            time. Went back to the documentation, and found it right at
            the bottom… Good grief.</div>
          <div class=""><br class="">
          </div>
          <div class="">Anyway, I migrated the code to use that. Now,
            MDNS starts at boot time and stays up all the time. Seems
            reliable to me, so I committed it.</div>
          <div class=""><br class="">
          </div>
          <div class="">Regards, Mark</div>
          <div class=""><br class="">
          </div>
          <div class="">
            <div>
              <blockquote type="cite" class="">
                <div class="">On 19 Mar 2018, at 12:57 PM, Mark
                  Webb-Johnson <<a
                    href="mailto:mark@webb-johnson.net" class=""
                    moz-do-not-send="true">mark@webb-johnson.net</a>>
                  wrote:</div>
                <br class="Apple-interchange-newline">
                <div class="">
                  <meta http-equiv="Content-Type" content="text/html;
                    charset=utf-8" class="">
                  <div style="word-wrap: break-word; -webkit-nbsp-mode:
                    space; line-break: after-white-space;" class="">There
                    seems to be something going on internally in lwip
                    regarding this. It is such a dumb implementation
                    anyway, with a separate task and static
                    initialisation of the interface list at the time of
                    startup; really not ideal for a dynamically changing
                    environment. It would be much more sensible to just
                    have a timer and every N seconds iterate through the
                    current interface list to send out MDNS broadcasts
                    on each active one that is suitable for MDNS (wifi
                    only, really).
                    <div class=""><br class="">
                    </div>
                    <div class="">I think safest for the moment to just
                      disable MDNS. I’ve done that now, and it is
                      running live. That seems to be pretty good for me.
                      Can you see if that works better for you?</div>
                    <div class=""><br class="">
                    </div>
                    <div class="">I’m still seeing some issues with
                      ssh/telnet startup that I’m looking at now.</div>
                    <div class=""><br class="">
                    </div>
                    <div class="">Given where we are, I’m going to tell
                      China that we need another 48 hours to confirm the
                      firmware, before I send to them. That buys us some
                      time to get this as stable as we can.</div>
                    <div class=""><br class="">
                    </div>
                    <div class="">Regards, Mark.</div>
                    <div class="">
                      <div class=""><br class="">
                        <blockquote type="cite" class="">
                          <div class="">On 19 Mar 2018, at 12:27 PM,
                            Greg D. <<a
                              href="mailto:gregd2350@gmail.com" class=""
                              moz-do-not-send="true">gregd2350@gmail.com</a>>
                            wrote:</div>
                          <br class="Apple-interchange-newline">
                          <div class="">
                            <meta http-equiv="Content-Type"
                              content="text/html; charset=utf-8"
                              class="">
                            <div text="#000000" bgcolor="#FFFFFF"
                              class=""> <br class="">
                              <div class="moz-cite-prefix">Stephen
                                Casner wrote:<br class="">
                              </div>
                              <blockquote type="cite"
                                cite="mid:alpine.OSX.2.21.1803182113100.38122@auge.attlocal.net"
                                class="">
                                <pre class="" 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 class="">
                              <br class="">
                              So, tried it again...    Note that the
                              wifi connection gets dropped in the
                              middle, but I didn't turn off the hotspot!<br
                                class="">
                              <br class="">
                              Network status, however, says that it's
                              still connected.  That's wrong.<br
                                class="">
                              <br class="">
                              Stop the server, then start, and this time
                              instead of a hang I get a crash.<br
                                class="">
                              <br class="">
                              Greg<br class="">
                              <br class="">
                              <br class="">
                              <div dir="ltr" class="">Welcome to the
                                Open Vehicle Monitoring System (OVMS) -
                                Async Console<br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                I (4185) wifi: n:1 1, o:1 0, ap:1 1,
                                sta:1 0, prof:1<br class="">
                                I (4835) wifi: state: init -> auth
                                (b0)<br class="">
                                I (4845) wifi: state: auth -> assoc
                                (0)<br class="">
                                I (4855) wifi: state: assoc -> run
                                (10)<br class="">
                                I (4875) wifi: connected with gregnet3,
                                channel 1<br class="">
                                I (4985) simcom: State: Enter PoweredOn
                                state<br class="">
                                I (5915) event: sta ip: 192.168.43.49,
                                mask: 255.255.255.0, gw: 192.168.43.1<br
                                  class="">
                                I (5915) netmanager: Set DNS#0 9.9.9.9<br
                                  class="">
                                I (5915) netmanager: Set DNS#1 8.8.8.8<br
                                  class="">
                                I (5915) netmanager: Interface priority
                                is st1 (<a
                                  href="http://192.168.43.49/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.43.49/255.255.255.0</a>
                                gateway 192.168.43.1)<br class="">
                                I (5915) time: Starting SNTP client<br
                                  class="">
                                I (5925) ovms-server-v2: Network is up,
                                so attempt network connection<br
                                  class="">
                                I (5925) ovms-server-v2: Connection is <a
href="http://tmc.openvehicles.com:6867/" class="" moz-do-not-send="true">tmc.openvehicles.com:6867</a>
                                ROADSTER_834/Gdbkt2017server<br class="">
                                I (5925) ovms-server-v2: Status:
                                Connecting...<br class="">
                                I (5935) ovms-mdns: Stopped MDNS service<br
                                  class="">
                                I (5935) ovms-mdns: Started MDNS service<br
                                  class="">
                                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 class="">
                                I (6395) ovms-server-v2: Connection
                                successful<br class="">
                                I (6395) ovms-server-v2: Status: Logging
                                in...<br class="">
                                I (6395) ovms-server-v2: Sending server
                                login: MP-C 0 gDAm8Tas7ISVuhmQ8zGDfh
                                hygW8au7zuXDV5qkWYvMIA== ROADSTER_834<br
                                  class="">
                                I (6635) ovms-server-v2: Got server
                                response: MP-S 0 ubeiHXgCpUtGX1f6XRXlQK
                                BB2JuaR9oc8TL6Ame7qkEg==<br class="">
                                I (6645) ovms-server-v2: Server token is
                                ubeiHXgCpUtGX1f6XRXlQK and digest is
                                BB2JuaR9oc8TL6Ame7qkEg==<br class="">
                                I (6645) ovms-server-v2: Status: Server
                                auth ok. Now priming crypto.<br class="">
                                I (6645) ovms-server-v2: Shared secret
                                key is
                                ubeiHXgCpUtGX1f6XRXlQKgDAm8Tas7ISVuhmQ8zGDfh
                                (44 bytes)<br class="">
                                I (6645) ovms-server-v2: Status: OVMS V2
                                login successful, and crypto channel
                                established<br class="">
                                I (6655) ovms-server-v2: Incoming Msg:
                                MP-0 Z0<br class="">
                                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
                                  class="">
                                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
                                  class="">
                                I (7445) ovms-server-v2: Send MP-0
                                L0,0,0,0,0,0,0,0,0,0,0<br class="">
                                I (7445) ovms-server-v2: Send MP-0
                                W0,0,0,0,0,0,0,0,0<br class="">
                                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 class="">
                                I (12625) housekeeping: System
                                considered stable (free: 37872 bytes)<br
                                  class="">
                                I (22225) ovms-server-v2: Incoming Msg:
                                MP-0 Z1<br class="">
                                I (22225) ovms-server-v2: One or more
                                peers have connected<br class="">
                                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
                                  class="">
                                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
                                  class="">
                                I (22445) ovms-server-v2: Send MP-0
                                L0,0,0,0,0,0,0,0,0,0,0<br class="">
                                I (22445) ovms-server-v2: Send MP-0
                                W0,0,0,0,0,0,0,0,0<br class="">
                                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 class="">
                                I (24475) simcom: State: Enter MuxStart
                                state<br class="">
                                I (24475) gsm-mux: Start MUX<br class="">
                                I (24485) gsm-mux: Channel #0 is open<br
                                  class="">
                                I (24495) gsm-mux: Channel #1 is open<br
                                  class="">
                                I (24505) gsm-mux: Channel #2 is open<br
                                  class="">
                                I (24515) gsm-mux: Channel #3 is open<br
                                  class="">
                                I (24525) gsm-mux: Channel #4 is open<br
                                  class="">
                                I (25445) simcom: State: Enter NetWait
                                state<br class="">
                                I (25745) ovms-server-v2: Incoming Msg:
                                MP-0 Z0<br class="">
                                OVMS> metric set v.b.soc 44<br
                                  class="">
                                Metric set<br class="">
                                I (35485) simcom: CREG Network
                                Registration: RegisteredRoaming<br
                                  class="">
                                I (36445) simcom: State: Enter NetStart
                                state<br class="">
                                I (37585) simcom: PPP Connection is
                                ready to start<br class="">
                                I (38445) simcom: State: Enter NetMode
                                state<br class="">
                                I (38445) gsm-ppp: Initialising...<br
                                  class="">
                                I (40145) ovms-server-v2: Incoming Msg:
                                MP-0 Z1<br class="">
                                I (40145) ovms-server-v2: One or more
                                peers have connected<br class="">
                                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
                                  class="">
                                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
                                  class="">
                                I (40445) ovms-server-v2: Send MP-0
                                L0,0,0,0,0,0,0,0,0,0,0<br class="">
                                I (40445) ovms-server-v2: Send MP-0
                                W0,0,0,0,0,0,0,0,0<br class="">
                                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
                                  class="">
                                E (40645) ovms-server-v2: Status: Error:
                                Disconnected from OVMS Server V2<br
                                  class="">
                                I (41895) gsm-ppp: StatusCallBack: None<br
                                  class="">
                                I (41895) gsm-ppp: status_cb: Connected<br
                                  class="">
                                I (41895) gsm-ppp:    our_ipaddr  =
                                10.170.146.142<br class="">
                                I (41895) gsm-ppp:    his_ipaddr  =
                                10.64.64.64<br class="">
                                I (41895) gsm-ppp:    netmask     =
                                255.255.255.255<br class="">
                                I (41895) gsm-ppp:    our6_ipaddr = ::<br
                                  class="">
                                I (41895) netmanager: Set DNS#0 9.9.9.9<br
                                  class="">
                                I (41895) netmanager: Set DNS#1 8.8.8.8<br
                                  class="">
                                I (41895) netmanager: Interface priority
                                is st1 (<a
                                  href="http://192.168.43.49/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.43.49/255.255.255.0</a>
                                gateway 192.168.43.1)<br class="">
                                I (41895) time: Starting SNTP client<br
                                  class="">
                                I (41895) ovms-server-v2: Network is up,
                                so attempt network connection<br
                                  class="">
                                I (41895) ovms-server-v2: Connection is
                                <a
                                  href="http://tmc.openvehicles.com:6867/"
                                  class="" moz-do-not-send="true">tmc.openvehicles.com:6867</a>
                                ROADSTER_834/Gdbkt2017server<br class="">
                                I (41895) ovms-server-v2: Status:
                                Connecting...<br class="">
                                I (60445) ovms-server-v2: Connection is
                                <a
                                  href="http://tmc.openvehicles.com:6867/"
                                  class="" moz-do-not-send="true">tmc.openvehicles.com:6867</a>
                                ROADSTER_834/Gdbkt2017server<br class="">
                                I (60445) ovms-server-v2: Status:
                                Connecting...<br class="">
                                I (62565) wifi:
                                bcn_timout,ap_probe_send_start<br
                                  class="">
                                I (65065) wifi: ap_probe_send over,
                                resett wifi status to disassoc<br
                                  class="">
                                I (65065) wifi: state: run -> init
                                (1)<br class="">
                                I (65065) wifi: n:1 0, o:1 1, ap:1 1,
                                sta:1 0, prof:1<br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> <br class="">
                                OVMS> server v2 status<br class="">
                                Connecting...<br class="">
                                OVMS> network   <br class="">
                                Interface#3: pp3 (ifup=1 linkup=1)<br
                                  class="">
                                  IPv4: <a
                                  href="http://10.170.146.142/255.255.255.255"
                                  class="" moz-do-not-send="true">10.170.146.142/255.255.255.255</a>
                                gateway 10.64.64.64<br class="">
                                <br class="">
                                Interface#2: ap2 (ifup=1 linkup=1)<br
                                  class="">
                                  IPv4: <a
                                  href="http://192.168.4.1/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.4.1/255.255.255.0</a>
                                gateway 192.168.4.1<br class="">
                                <br class="">
                                Interface#1: st1 (ifup=1 linkup=1)<br
                                  class="">
                                  IPv4: <a
                                  href="http://192.168.43.49/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.43.49/255.255.255.0</a>
                                gateway 192.168.43.1<br class="">
                                <br class="">
                                Interface#0: lo0 (ifup=1 linkup=1)<br
                                  class="">
                                  IPv4: <a
                                  href="http://127.0.0.1/255.0.0.0"
                                  class="" moz-do-not-send="true">127.0.0.1/255.0.0.0</a>
                                gateway 127.0.0.1<br class="">
                                <br class="">
                                DNS: 9.9.9.9 8.8.8.8<br class="">
                                <br class="">
                                Default Interface: st1 (<a
                                  href="http://192.168.43.49/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.43.49/255.255.255.0</a>
                                gateway 192.168.43.1)<br class="">
                                OVMS> simcom<br class="">
                                SIMCOM<br class="">
                                  Network Registration:
                                RegisteredRoaming<br class="">
                                  State: NetMode<br class="">
                                  Ticker: 22<br class="">
                                  User Data: 0<br class="">
                                <br class="">
                                  Mux<br class="">
                                    Status: up<br class="">
                                    Open Channels: 4<br class="">
                                    Framing Errors: 0<br class="">
                                    Last RX frame: 19 sec(s) ago<br
                                  class="">
                                    RX frames: 18<br class="">
                                    TX frames: 18<br class="">
                                <br class="">
                                  PPP<br class="">
                                    Connected on channel: #2<br class="">
                                    Last Error: None<br class="">
                                <br class="">
                                  GPS<br class="">
                                    Status: disabled<br class="">
                                    Time: disabled<br class="">
                                    NMEA: GPS/GLONASS Not Connected<br
                                  class="">
                                OVMS> wifi<br class="">
                                WiFi<br class="">
                                  Power: on<br class="">
                                  Mode: Access-Point + Client mode<br
                                  class="">
                                <br class="">
                                  STA SSID: gregnet3<br class="">
                                    MAC: 30:ae:a4:37:1b:64<br class="">
                                    IP: <a
                                  href="http://192.168.43.49/255.255.255.0"
                                  class="" moz-do-not-send="true">192.168.43.49/255.255.255.0</a><br
                                  class="">
                                    GW: 192.168.43.1<br class="">
                                <br class="">
                                  AP SSID: ovms<br class="">
                                    MAC: 30:ae:a4:37:1b:65<br class="">
                                    IP: 192.168.4.1<br class="">
                                    AP Stations: 0<br class="">
                                OVMS> server v2 stop<br class="">
                                Stopping OVMS Server V2 connection
                                (oscv2)<br class="">
                                OVMS> server v2 status<br class="">
                                OVMS v2 server has not been started<br
                                  class="">
                                OVMS> server v2 start<br class="">
                                Launching OVMS Server V2 connection
                                (oscv2)<br class="">
                                Guru Meditation Error: Core  1 panic'ed
                                (LoadProhibited)<br class="">
                                . Exception was unhandled.<br class="">
                                Core 1 register dump:<br class="">
                                PC      : 0x400ee17d  PS      :
                                0x00060630  A0      : 0x800ef642 
                                A1      : 0x3fff5020  <br class="">
                                A2      : 0xffffffff  A3      :
                                0x3fff2540  A4      : 0x00000000 
                                A5      : 0x3fff5100  <br class="">
                                A6      : 0x3fff50e0  A7      :
                                0x0000000c  A8      : 0x800ee179 
                                A9      : 0x3fff4ff0  <br class="">
                                A10     : 0xffffffff  A11     :
                                0x3f411528  A12     : 0x3fff5100 
                                A13     : 0x3fff50e0  <br class="">
                                A14     : 0x0000000c  A15     :
                                0x3fff1ea4  SAR     : 0x00000004 
                                EXCCAUSE: 0x0000001c  <br class="">
                                EXCVADDR: 0x00000000  LBEG    :
                                0x400014fd  LEND    : 0x4000150d 
                                LCOUNT  : 0xffffffff  <br class="">
                                <br class="">
                                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 class="">
                                <br class="">
                                Rebooting...<br class="">
                                ets Jun  8 2016 00:22:57<br class="">
                                <br class="">
                                rst:0xc (SW_CPU_RESET),boot:0x1f
                                (SPI_FAST_FLASH_BOOT)<br class="">
                                configsip: 156795334, SPIWP:0xee<br
                                  class="">
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00<br
                                  class="">
                                mode:DIO, clock div:2<br class="">
                                load:0x3fff0018,len:4<br class="">
                                load:0x3fff001c,len:4560<br class="">
                                ho 0 tail 12 room 4<br class="">
                                load:0x40078000,len:0<br class="">
                                load:0x40078000,len:13176<br class="">
                                entry 0x40078d38<br class="">
                                I (647) cpu_start: Pro cpu up.<br
                                  class="">
                                I (647) cpu_start: Starting app cpu,
                                entry point is 0x40081300<br class="">
                                I (632) cpu_start: App cpu up.<br
                                  class="">
                                I (651) heap_init: Initializing. RAM
                                available for dynamic allocation:<br
                                  class="">
                                I (657) heap_init: At 3FFAE6E0 len
                                00001920 (6 KiB): DRAM<br class="">
                                I (664) heap_init: At 3FFBBAC0 len
                                00024540 (145 KiB): DRAM<br class="">
                                I (670) heap_init: At 3FFE0440 len
                                00003BC0 (14 KiB): D/IRAM<br class="">
                                I (676) heap_init: At 3FFE4350 len
                                0001BCB0 (111 KiB): D/IRAM<br class="">
                                I (684) heap_init: At 40091FDC len
                                0000E024 (56 KiB): IRAM<br class="">
                                I (689) cpu_start: Pro cpu start user
                                code<br class="">
                                I (35) ovms_main: Set default logging
                                level for * to INFO<br class="">
                                I (35) command: Initialising COMMAND
                                (1000)<br class="">
                                I (36) boot: Initialising BOOT (1100)<br
                                  class="">
                                I (40) boot: Boot #1 reasons for CPU0=12
                                and CPU1=12<br class="">
                                E (46) boot: Crash #1 detected<br
                                  class="">
                                I (49) events: Initialising EVENTS
                                (1200)<br class="">
                                I (54) config: Initialising CONFIG
                                (1400)<br class="">
                                I (59) time: Initialising TIME (1500)<br
                                  class="">
                                I (64) script: Initialising SCRIPTS
                                (1600)<br class="">
                                I (68) script: Using DUKTAPE javascript
                                engine<br class="">
                                I (74) metrics: Initialising METRICS
                                (1810)<br class="">
                                I (78) metrics:   OvmsMetric is 28 bytes<br
                                  class="">
                                I (82) metrics:   OvmsMetricBool is 32
                                bytes<br class="">
                                I (87) metrics: Expanding DUKTAPE
                                javascript engine<br class="">
                                I (97) notify: Initialising
                                NOTIFICATIONS (1820)<br class="">
                                I (99) notify: Registered notification
                                type info<br class="">
                                I (103) notify: Registered notification
                                type error<br class="">
                                I (109) notify: Registered notification
                                type alert<br class="">
                                I (114) notify: Registered notification
                                type data<br class="">
                                I (120) location: Initialising LOCATIONS
                                (1900)<br class="">
                                I (126) location: Expanding DUKTAPE
                                javascript engine<br class="">
                                I (131) vehicle: Initialising VEHICLE
                                Factory (2000)<br class="">
                                I (137) pcp: Initialising POWER (4000)<br
                                  class="">
                                I (141) max7317: Initialising MAX7317
                                EGPIO (4200)<br class="">
                                I (146) sdcard: Initialising SD CARD
                                (4400)<br class="">
                                I (151) ota: Initialising OTA (4400)<br
                                  class="">
                                I (156) can: Initialising CAN (4500)<br
                                  class="">
                                I (161) simcom: Initialising SIMCOM
                                (4600)<br class="">
                                I (165) test: Initialising TEST (5000)<br
                                  class="">
                                I (169) ovms-module: Initialising MODULE
                                (5100)<br class="">
                                I (174) vfs: Initialising VFS (5200)<br
                                  class="">
                                I (179) ovms-server: Initialising OVMS
                                Server (6000)<br class="">
                                I (184) ovms-server-v2: Initialising
                                OVMS V2 Server (6100)<br class="">
                                I (190) ovms-server-v3: Initialising
                                OVMS V3 Server (6200)<br class="">
                                I (196) obd2ecu: Initialising OBD2ECU
                                (7000)<br class="">
                                I (202) canopen: Initialising CANopen
                                (7000)<br class="">
                                I (207) esp32wifi: Initialising
                                ESP32WIFI (8000)<br class="">
                                I (212) ovms-mdns: Initialising MDNS
                                (8100)<br class="">
                                I (217) webserver: Initialising
                                WEBSERVER (8200)<br class="">
                                I (223) telnet: Initialising Telnet
                                (8300)<br class="">
                                I (227) ssh: Initialising SSH (8300)<br
                                  class="">
                                I (231) re: Initialising RE Tools (8800)<br
                                  class="">
                                I (236) netmanager: Initialising
                                NETMANAGER (8999)<br class="">
                                I (242) v-track: Registering Vehicle:
                                TRACK (9000)<br class="">
                                I (246) v-teslaroadster: Registering
                                Vehicle: Tesla Roadster (9000)<br
                                  class="">
                                I (253) v-teslamodels: Registering
                                Vehicle: Tesla Model S (9000)<br
                                  class="">
                                I (260) v-obdii: Registering Vehicle:
                                OBDII (9000)<br class="">
                                I (265) v-none: Registering Vehicle:
                                NONE (9000)<br class="">
                                I (271) v-demo: Registering Vehicle:
                                DEMO (9000)<br class="">
                                I (276) version: Initialising Versioning
                                (9900)<br class="">
                                I (285) cpu_start: Starting scheduler on
                                PRO CPU.<br class="">
                                I (0) cpu_start: Starting scheduler on
                                APP CPU.<br class="">
                                I (331) ovms_main: Executing on CPU core
                                0<br class="">
                                I (331) ovms_main: Mounting CONFIG...<br
                                  class="">
                                W (381) webserver: UpdateGlobalAuthFile:
                                no password set => no auth for web
                                console<br class="">
                                I (391) ovms_main: Registering default
                                configs...<br class="">
                                I (391) ovms_main: Starting
                                HOUSEKEEPING...<br class="">
                                I (391) housekeeping: Initialising
                                HOUSEKEEPING Framework...<br class="">
                                I (451) housekeeping: Executing on CPU
                                core 1<br class="">
                                I (451) housekeeping: reset_reason:
                                cpu0=12, cpu1=12<br class="">
                                I (451) housekeeping: Starting
                                PERIPHERALS...<br class="">
                                I (461) peripherals: Initialising OVMS
                                Peripherals...<br class="">
                                I (461) peripherals:   TCP/IP Adaptor<br
                                  class="">
                                I (471) peripherals:   ESP32 system<br
                                  class="">
                                I (471) peripherals:   SPI bus<br
                                  class="">
                                I (471) peripherals:   MAX7317 I/O
                                Expander<br class="">
                                I (481) peripherals:   ESP32 CAN<br
                                  class="">
                                I (481) peripherals:   ESP32 WIFI<br
                                  class="">
                                I (491) peripherals:   ESP32 BLUETOOTH<br
                                  class="">
                                I (491) peripherals:   ESP32 ADC<br
                                  class="">
                                I (491) peripherals:   MCP2515 CAN 1/2<br
                                  class="">
                                I (511) peripherals:   MCP2515 CAN 2/2<br
                                  class="">
                                I (521) peripherals:   SD CARD<br
                                  class="">
                                I (521) peripherals:   SIMCOM MODEM<br
                                  class="">
                                I (521) gpio: GPIO[16]| InputEn: 0|
                                OutputEn: 1| OpenDrain: 0| Pullup: 1|
                                Pulldown: 0| Intr:0 <br class="">
                                I (531) gpio: GPIO[17]| InputEn: 1|
                                OutputEn: 0| OpenDrain: 0| Pullup: 1|
                                Pulldown: 0| Intr:0 <br class="">
                                I (541) uart: queue free spaces: 10<br
                                  class="">
                                I (541) ext12v: Powering off external
                                12V devices<br class="">
                                I (551) housekeeping: Auto init ext12v
                                (free: 112436 bytes)<br class="">
                                I (551) ext12v: Powering on external 12V
                                devices<br class="">
                                I (561) housekeeping: Auto init wifi
                                (free: 112436 bytes)<br class="">
                                I (561) wifi: wifi firmware version:
                                ebd3e5d<br class="">
                                I (571) wifi: config NVS flash: enabled<br
                                  class="">
                                I (571) wifi: config nano formating:
                                disabled<br class="">
                                I (571) system_api: Base MAC address is
                                not set, read default base MAC address
                                from BLK0 of EFUSE<br class="">
                                I (581) system_api: Base MAC address is
                                not set, read default base MAC address
                                from BLK0 of EFUSE<br class="">
                                I (601) wifi: Init dynamic tx buffer
                                num: 16<br class="">
                                I (601) wifi: Init data frame dynamic rx
                                buffer num: 16<br class="">
                                I (601) wifi: Init management frame
                                dynamic rx buffer num: 16<br class="">
                                I (601) wifi: wifi driver task:
                                3ffe61dc, prio:23, stack:4096<br
                                  class="">
                                I (611) wifi: Init static rx buffer num:
                                4<br class="">
                                I (611) wifi: Init dynamic rx buffer
                                num: 16<br class="">
                                I (611) wifi: wifi power manager task:
                                0x3ffe8974 prio: 21 stack: 2560<br
                                  class="">
                                I (1331) phy: phy_version: 383.0,
                                79a622c, Jan 30 2018, 15:38:06, 0, 0<br
                                  class="">
                                I (1331) wifi: mode : sta
                                (30:ae:a4:37:1b:64) + softAP
                                (30:ae:a4:37:1b:65)<br class="">
                                I (1341) housekeeping: Auto init modem
                                (free: 90292 bytes)<br class="">
                                I (1351) simcom: State: Enter PoweringOn
                                state<br class="">
                                I (1351) simcom: Power Cycle<br class="">
                                I (1351) ovms-mdns: Started MDNS service<br
                                  class="">
                                I (1381) webserver: Launching Web Server<br
                                  class="">
                                I (1381) esp32wifi: AP started with
                                SSID: ovms, MAC: 30:ae:a4:37:1b:65, IP:
                                192.168.4.1<br class="">
                                I (1461) simcom: State: Enter PoweredOn
                                state<br class="">
                                I (2351) housekeeping: Auto init vehicle
                                (free: 75064 bytes)<br class="">
                                I (2351) v-teslaroadster: Tesla Roadster
                                v1.x, v2.x and v3.0 vehicle module<br
                                  class="">
                                I (2361) housekeeping: Auto init obd2ecu
                                (free: 69332 bytes)<br class="">
                                I (2561) housekeeping: Auto init server
                                v2 (free: 60676 bytes)<br class="">
                                I (2561) ovms-server-v2: OVMS Server V2
                                registered metric modifier is #1<br
                                  class="">
                                I (2571) ovms-server-v2: Status:
                                Starting<br class="">
                                I (2571) ovms-server-v2: OVMS Server v2
                                running<br class="">
                                I (2581) housekeeping: Auto init server
                                v3 (free: 56364 bytes)<br class="">
                                I (2581) housekeeping: Auto init done
                                (free: 56364 bytes)<br class="">
                                I (2591) housekeeping: Starting USB
                                console...<br class="">
                                I (2591) uart: queue free spaces: 30<br
                                  class="">
                                I (2601) version: Set version<br
                                  class="">
                                <br class="">
                                Welcome to the Open Vehicle Monitoring
                                System (OVMS) - Async Console<br
                                  class="">
                                <br class="">
                              </div>
                              <br class="">
                              <br class="">
                            </div>
_______________________________________________<br class="">
                            OvmsDev mailing list<br class="">
                            <a href="mailto:OvmsDev@lists.teslaclub.hk"
                              class="" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a><br
                              class="">
                            <a
                              href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev"
                              class="" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br
                              class="">
                          </div>
                        </blockquote>
                      </div>
                      <br class="">
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <br class="">
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
        </blockquote>
        <br>
        <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk" moz-do-not-send="true">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="160">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
</pre>
  </body>
</html>