[Ovmsdev] CAN-3 broken again?

Greg D. gregd2350 at gmail.com
Mon Jan 8 03:05:50 HKT 2018


An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180107/90b72465/attachment.htm>
-------------- next part --------------
greg at linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3> sh fetch.sh
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 14 (delta 8), reused 11 (delta 5), pack-reused 0
Unpacking objects: 100% (14/14), done.
>From https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3
   678e1c0..2dfc3f6  master     -> upstream/master
Already on 'master'
Your branch is up to date with 'origin/master'.
Merge made by the 'recursive' strategy.
 vehicle/OVMS.V3/components/mcp2515/mcp2515.cpp | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
Pass a valid window to KWallet::Wallet::openWallet().
Pass a valid window to KWallet::Wallet::openWallet().
Counting objects: 19, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (19/19), 1.80 KiB | 1.80 MiB/s, done.
Total 19 (delta 11), reused 0 (delta 0)
remote: Resolving deltas: 100% (11/11), completed with 4 local objects.
To https://github.com/bitsofgreg/Open-Vehicle-Monitoring-System-3.git
   86f2937..8af5c8b  master -> master
greg at linux-0rpb:~/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3> sh fetch.sh
remote: Counting objects: 312, done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 312 (delta 199), reused 256 (delta 196), pack-reused 51
Receiving objects: 100% (312/312), 62.38 KiB | 100.00 KiB/s, done.
Resolving deltas: 100% (200/200), completed with 44 local objects.
>From https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3
   2dfc3f6..52d378f  master     -> upstream/master
Already on 'master'
Your branch is up to date with 'origin/master'.
Merge made by the 'recursive' strategy.
 vehicle/OVMS.V3/components/can/can.cpp                                       |   49 +++++++--
 vehicle/OVMS.V3/components/can/can.h                                         |    4 +
 vehicle/OVMS.V3/components/canopen/doc/Howto-detect-CANopen-nodes.txt        |  199 +++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/canopen/doc/Test-Frames.txt                       |    2 +
 vehicle/OVMS.V3/components/canopen/doc/Test-Session-1.txt                    |    2 +-
 vehicle/OVMS.V3/components/canopen/src/canopen.cpp                           |  603 +++++++++++++++++++++++++++++---------------------------------------------------------------------------------
 vehicle/OVMS.V3/components/canopen/src/canopen.h                             |  178 ++++++++++++++++++++++++---------
 vehicle/OVMS.V3/components/canopen/src/canopen_client.cpp                    |  355 ++++++++++++++++++++++++++++++++++++++++++++++-------------------
 vehicle/OVMS.V3/components/canopen/src/canopen_shell.cpp                     |  462 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/canopen/src/canopen_worker.cpp                    |  136 ++++++++++++++++---------
 vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp                   |    4 +-
 vehicle/OVMS.V3/components/crypto/crypt_base64.cpp                           |   80 +++++++++++++++
 vehicle/OVMS.V3/components/crypto/crypt_base64.h                             |    3 +
 vehicle/OVMS.V3/components/esp32can/esp32can.cpp                             |   40 ++++++--
 vehicle/OVMS.V3/components/mcp2515/mcp2515.cpp                               |   39 ++++----
 vehicle/OVMS.V3/components/vehicle/vehicle.cpp                               |    2 +-
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_can_poll.cpp             |  329 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_can_send.cpp             |  151 ++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_commands.cpp             |  387 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_incoming_c_can.cpp       |  202 +++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_incoming_m_can.cpp       |  106 ++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/vehicle_kiasoulev.cpp       | 1013 ++++++++++++++++++++++++-----------------------------------------------------------------------------------------------------------------------------------------------------------------
 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/vehicle_kiasoulev.h         |   27 ++++-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/doc/CAN-Test-Frames.txt      |   59 ++++++++++-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_battmon.cpp           |    2 +-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_can.cpp               |   29 +-----
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_charge.cpp            |    2 +-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_notify.cpp            |   12 ++-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_pwrmon.cpp            |    9 +-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon.cpp            |  561 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon.h              |  203 +++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon_faults.cpp     |  346 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_ticker.cpp            |   88 ++--------------
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_types.h               |   15 +--
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_utils.cpp             |    2 +-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/vehicle_renaulttwizy.cpp |   27 ++++-
 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/vehicle_renaulttwizy.h   |   10 +-
 vehicle/OVMS.V3/main/console_async.cpp                                       |   25 ++++-
 vehicle/OVMS.V3/main/metrics_standard.cpp                                    |    8 +-
 vehicle/OVMS.V3/main/metrics_standard.h                                      |   11 ++
 vehicle/OVMS.V3/main/ovms_buffer.cpp                                         |    1 +
 vehicle/OVMS.V3/main/ovms_command.cpp                                        |    5 -
 vehicle/OVMS.V3/main/ovms_command.h                                          |    3 -
 vehicle/OVMS.V3/main/ovms_config.cpp                                         |   66 +++++++-----
 vehicle/OVMS.V3/main/ovms_config.h                                           |   10 +-
 vehicle/OVMS.V3/main/ovms_console.cpp                                        |   18 +++-
 vehicle/OVMS.V3/main/ovms_console.h                                          |    2 +
 vehicle/OVMS.V3/todo.txt                                                     |    2 +-
 48 files changed, 4134 insertions(+), 1755 deletions(-)
 create mode 100644 vehicle/OVMS.V3/components/canopen/doc/Howto-detect-CANopen-nodes.txt
 create mode 100644 vehicle/OVMS.V3/components/canopen/src/canopen_shell.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_can_poll.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_can_send.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_commands.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_incoming_c_can.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_kiasoulev/src/ks_incoming_m_can.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon.cpp
 create mode 100644 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon.h
 create mode 100644 vehicle/OVMS.V3/components/vehicle_renaulttwizy/src/rt_sevcon_faults.cpp
-------------- next part --------------
OVMS > wifi mode client gregnet
Starting WIFI as a client to gregnet...
I (9378303) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (9378953) wifi: state: init -> auth (b0)
I (9378953) wifi: state: auth -> assoc (0)
I (9378963) wifi: state: assoc -> run (10)
I (9378983) wifi: connected with gregnet, channel 6
I (9379013) event: ip: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (9379013) ovms-mdns: Launching MDNS service
I (9379023) esp32wifi: WiFi UP with SSID: gregnet, MAC: 30:ae:a4:37:1b:64, IP: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (9379023) webserver: Launching Web Server
I (9379033) telnet: Launching Telnet Server
I (9379043) ssh: Launching SSH Server
I (9380343) ovms-server-v2: Status: Network connectivity established
I (9380343) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
I (9380693) ovms-server-v2: Connected to OVMS Server V2 at tmc.openvehicles.com
I (9380693) ovms-server-v2: Status: Connected to server
I (9380693) ovms-server-v2: Status: Logging in...
I (9380693) ovms-server-v2: Sending server login: MP-C 0 BHIhg1ohGzIKkRWvzt0Mlk V5W946mYkT9A4nlOr3Kbrw== ROADSTER_834
I (9386603) wifi: bcn_timout,ap_probe_send_start
I (9388963) wifi: pm start, type:0|
I (9389103) wifi: ap_probe_send over, resett wifi status to disassoc
I (9389103) wifi: state: run -> init (1)
I (9389103) wifi: pm stop, total sleep time: 0/144588|
I (9389103) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (9389113) ovms-server-v2: Server response is incomplete (0 bytes)
I (9389113) ovms-mdns: Stopping MDNS service
E (9389113) ovms-server-v2: Status: Error: Server response is incomplete
I (9389113) ovms-server-v2: Network is down, so disconnect network connection
I (9390053) webserver: Stopping Web Server
I (9390053) telnet: Stopping Telnet Server
I (9390053) ssh: Stopping SSH Server
I (9395063) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (9395063) wifi: state: init -> auth (b0)
I (9395063) wifi: state: auth -> assoc (0)
I (9395073) wifi: state: assoc -> run (10)
I (9395093) wifi: connected with gregnet, channel 6
I (9395113) event: ip: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (9395113) ovms-mdns: Launching MDNS service
I (9395113) esp32wifi: WiFi UP with SSID: gregnet, MAC: 30:ae:a4:37:1b:64, IP: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (9395113) webserver: Launching Web Server
I (9395133) telnet: Launching Telnet Server
I (9395133) ssh: Launching SSH Serverabort() was called at PC 0x4012d15e on core 1
0x4012d15e: _Znwj at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libstdc++-v3/libsupc++/new_op.cc:54


Backtrace: 0x40088a98:0x3fffe400 0x40088b97:0x3fffe420 0x4012d15e:0x3fffe440 0x40135b21:0x3fffe460 0x400d43cf:0x3fffe480 0x40128c2b:0x3fffe4b0 0x40128cb1:0x3fffe4d0 0x40128d40:0x3fffe540 0x400d6aec:0x3fffe620 0x400d8494:0x3fffe6a0 0x4012754d:0x3fffe6e0 0x401277a6:0x3fffe710 0x40122b91:0x3fffe760 0x40122be5:0x3fffe7b0
0x40088a98: invoke_abort at /home/greg/esp/esp-idf/components/esp32/./panic.c:519

0x40088b97: abort at /home/greg/esp/esp-idf/components/esp32/./panic.c:519

0x4012d15e: _Znwj at /home/ivan/e/crosstool-NG/.build/src/gcc-5.2.0/libstdc++-v3/libsupc++/new_op.cc:54

0x40135b21: _ZN9__gnu_cxx13new_allocatorIcE8allocateEjPKv at /home/ivan/e/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/basic_string.h:2200
 (inlined by) _ZNSt16allocator_traitsISaIcEE8allocateERS0_j at /home/ivan/e/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/alloc_traits.h:360                                                                       
 (inlined by) _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj at /home/ivan/e/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/basic_string.tcc:157                                               

0x400d43cf: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.tcc:223

0x40128c2b: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_construct_auxIPcEEvT_S7_St12__false_type at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110
 (inlined by) _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:214                                                                                    
 (inlined by) _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC4ERKS4_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:401                                                                                                     
 (inlined by) _ZN15OvmsConfigParam8GetValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_config.cpp:512                                  

0x40128cb1: _ZN10OvmsConfig13GetParamValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110

0x40128d40: _ZN10OvmsConfig19GetParamValueBinaryENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_16BinaryEncoding_t at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110

0x400d6aec: _ZN7OvmsSSH10NetManInitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp:173

0x400d8494: _ZNKSt12_Mem_fn_baseIM7OvmsSSHFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvELb1EEclIJS6_S7_EvEEvPS0_DpOT_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:600
 (inlined by) _ZNSt5_BindIFSt7_Mem_fnIM7OvmsSSHFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEPS1_St12_PlaceholderILi1EESD_ILi2EEEE6__callIvJOS7_OS8_EJLj0ELj1ELj2EEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1074                                                                                                                                                                                                                                       
 (inlined by) _ZNSt5_BindIFSt7_Mem_fnIM7OvmsSSHFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEPS1_St12_PlaceholderILi1EESD_ILi2EEEEclIJS7_S8_EvEET0_DpOT_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1133                    
 (inlined by) _ZNSt17_Function_handlerIFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvESt5_BindIFSt7_Mem_fnIM7OvmsSSHFvS5_S6_EEPSA_St12_PlaceholderILi1EESF_ILi2EEEEE9_M_invokeERKSt9_Any_dataOS5_OS6_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:1871                                                                                                                                                                                                                                                        

0x4012754d: _ZNKSt8functionIFvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvEEclES5_S6_ at /home/greg/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/functional:2271

0x401277a6: _ZN10OvmsEvents11SignalEventENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_events.cpp:144

0x40122b91: _ZN14OvmsNetManager12MongooseTaskEv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_netmanager.cpp:68

0x40122be5: _ZL15MongooseRawTaskPv at /home/greg/greg/ovms/Open-Vehicle-Monitoring-System-3-master/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/./ovms_netmanager.cpp:68


Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
configsip: 156795334, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8
load:0x3fff0010,len:4392
load:0x40078000,len:11080
load:0x40080000,len:252
0x40080000: _WindowOverflow4 at ??:?

entry 0x40080034
0x40080034: _WindowOverflow4 at ??:?

I (46) boot: ESP-IDF v2.1-2-g7138fb02 2nd stage bootloader
I (46) boot: compile time 19:18:56
I (77) boot: Enabling RNG early entropy source...
I (77) boot: SPI Speed      : 40MHz
I (78) boot: SPI Mode       : DIO
I (89) boot: SPI Flash Size : 16MB
I (101) boot: Partition Table:
I (113) boot: ## Label            Usage          Type ST Offset   Length
I (135) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (159) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (182) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (205) boot:  3 factory          factory app      00 00 00010000 00400000
I (228) boot:  4 ota_0            OTA app          00 10 00410000 00400000
I (251) boot:  5 ota_1            OTA app          00 11 00810000 00400000
I (275) boot:  6 store            Unknown data     01 81 00c10000 00100000
I (298) boot: End of partition table
I (311) boot: Disabling RNG early entropy source...
I (328) boot: Loading app partition at offset 00010000
I (2267) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512)
I (2268) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x36244 (221764) map
I (2284) boot: segment 2: paddr=0x00056254 vaddr=0x3ffc0000 size=0x03314 ( 13076) load
I (2316) boot: segment 3: paddr=0x00059570 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at ??:?

I (2338) boot: segment 4: paddr=0x00059978 vaddr=0x40080400 size=0x11b3c ( 72508) load
I (2398) boot: segment 5: paddr=0x0006b4bc vaddr=0x400c0000 size=0x00044 (    68) load
I (2400) boot: segment 6: paddr=0x0006b508 vaddr=0x00000000 size=0x04b00 ( 19200)
I (2422) boot: segment 7: paddr=0x00070010 vaddr=0x400d0018 size=0xef620 (980512) map
0x400d0018: _flash_cache_start at ??:?

I (2449) cpu_start: Pro cpu up.
I (2460) cpu_start: Starting app cpu, entry point is 0x400810b0
0x400810b0: call_start_cpu1 at /home/greg/esp/esp-idf/components/esp32/./cpu_start.c:186

I (2480) cpu_start: App cpu up.
I (2493) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
I (2516) heap_alloc_caps: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (2537) heap_alloc_caps: At 3FFCADA0 len 00015260 (84 KiB): DRAM
I (2557) heap_alloc_caps: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (2579) heap_alloc_caps: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (2600) heap_alloc_caps: At 40091F3C len 0000E0C4 (56 KiB): IRAM
I (2621) cpu_start: Pro cpu start user code
I (2678) ovms_main: Set default logging level for * to INFO
I (2684) command: Initialising COMMAND (1000)
I (2696) events: Initialising EVENTS (1200)
I (2739) config: Initialising CONFIG (1400)
I (2785) script: Initialising SCRIPTS (1600)
I (2827) script: Using DUKTAPE javascript engine
I (2883) metrics: Initialising METRICS (1810)
I (2923) metrics:   OvmsMetric is 28 bytes
I (2967) metrics:   OvmsMetricBool is 32 bytes
I (3015) metrics: Expanding DUKTAPE javascript engine
I (3103) notify: Initialising NOTIFICATIONS (1820)
I (3121) notify: Registered notification type info
I (3168) notify: Registered notification type error
I (3220) notify: Registered notification type alert
I (3271) notify: Registered notification type data
I (3321) location: Initialising LOCATIONS (1900)
I (3378) location: Expanding DUKTAPE javascript engine
I (3428) vehicle: Initialising VEHICLE Factory (2000)
I (3481) pcp: Initialising POWER (4000)
I (3520) max7317: Initialising MAX7317 EGPIO (4200)
I (3570) ota: Initialising OTA (4400)
I (3613) sdcard: Initialising SD CARD (4400)
I (3656) can: Initialising CAN (4500)
I (3701) simcom: Initialising SIMCOM (4600)
I (3745) test: Initialising TEST (5000)
I (3783) ovms-module: Initialising MODULE (5100)
I (3832) vfs: Initialising VFS (5200)
I (3873) ovms-server: Initialising OVMS Server (6000)
I (3924) ovms-server-v2: Initialising OVMS V2 Server (6100)
I (3985) ovms-server-v3: Initialising OVMS V3 Server (6200)
I (4040) obd2ecu: Initialising OBD2ECU (7000)
I (4088) canopen: Initialising CANopen (7000)
I (4137) esp32wifi: Initialising ESP32WIFI (8000)
I (4183) ovms-mdns: Initialising MDNS (8100)
I (4229) webserver: Initialising WEBSERVER (8200)
I (4277) webserver: Using MONGOOSE engine
I (4322) telnet: Initialising Telnet (8300)
I (4366) ssh: Initialising SSH (8300)
I (4408) re: Initialising RE Tools (8800)
I (4450) netmanager: Initialising NETMANAGER (8999)
I (4509) v-track: Registering Vehicle: TRACK (9000)
I (4551) v-teslaroadster: Registering Vehicle: Tesla Roadster (9000)
I (4616) v-obdii: Registering Vehicle: OBDII (9000)
I (4667) v-none: Registering Vehicle: NONE (9000)
I (4717) v-demo: Registering Vehicle: DEMO (9000)
I (4795) cpu_start: Starting scheduler on PRO CPU.
I (4823) cpu_start: Starting scheduler on APP CPU.
I (4843) ovms_main: Executing on CPU core 0
I (4843) ovms_main: Mounting CONFIG...
I (4883) ovms_main: Registering default configs...
I (4883) ovms_main: Starting HOUSEKEEPING...
I (4883) housekeeping: Initialising HOUSEKEEPING Framework...
I (4943) housekeeping: Executing on CPU core 1
I (4943) housekeeping: Starting PERIPHERALS...
I (4943) peripherals: Initialising OVMS Peripherals...
I (4953) peripherals:   TCP/IP Adaptor
I (4953) peripherals:   ESP32 system
I (4953) peripherals:   SPI bus
I (4963) peripherals:   MAX7317 I/O Expander
I (4963) peripherals:   ESP32 CAN
I (4973) peripherals:   ESP32 WIFI
I (4983) peripherals:   ESP32 BLUETOOTH
I (4983) peripherals:   ESP32 ADC
I (4983) peripherals:   MCP2515 CAN 1/2
I (4993) peripherals:   MCP2515 CAN 2/2
I (5003) peripherals:   SD CARD
I (5003) peripherals:   SIMCOM MODEM
I (5003) uart: queue free spaces: 10
I (5013) ext12v: Powering off external 12V devices
I (5013) housekeeping: Starting USB console...
I (5013) uart: queue free spaces: 30

Welcome to the Open Vehicle Monitoring System (OVMS) - Async Console

-------------- next part --------------
OVMS > power simcom on     
Power mode of simcom is now on
I (116719) simcom: State: Enter PoweringOn state
I (116719) simcom: Power Cycle
I (123249) simcom: State: Enter PoweredOn state
W (134879) wifi: incorrect scan type: 1073587816
OVMS > wifi mode off
Stopping wifi station...
I (141579) wifi: lmac stop hw txq
I (141579) wifi: Deinit lldesc rx mblock:4
I (141579) wifi: Deinit lldesc rx ampdu len mblock:7
I (141579) wifi: Deinit lldesc rx ampdu entry mblock:4
I (142899) simcom: State: Enter MuxStart state
I (142899) gsm-mux: Start MUX
I (142909) gsm-mux: Channel #0 is open
I (142909) gsm-mux: Channel #1 is open
I (142919) gsm-mux: Channel #2 is open
I (142929) gsm-mux: Channel #3 is open
I (142939) gsm-mux: Channel #4 is open
I (143879) simcom: State: Enter NetWait state
I (153949) simcom: CREG Network Registration: RegisteredRoaming
I (154879) simcom: State: Enter NetStart state
I (156009) simcom: PPP Connection is ready to start
I (156879) simcom: State: Enter NetMode state
I (156879) gsm-ppp: Initialising...
I (160109) gsm-ppp: StatusCallBack: None
I (160109) gsm-ppp: status_cb: Connected
I (160109) gsm-ppp:    our_ipaddr  = 10.170.146.142
I (160109) gsm-ppp:    his_ipaddr  = 10.64.64.64
I (160119) gsm-ppp:    netmask     = 255.255.255.255
I (160119) gsm-ppp:    our6_ipaddr = ::
I (160279) ovms-server-v2: Status: Network connectivity established
I (160279) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
I (161569) ovms-server-v2: Connected to OVMS Server V2 at tmc.openvehicles.com
I (161569) ovms-server-v2: Status: Connected to server
I (161569) ovms-server-v2: Status: Logging in...
I (161569) ovms-server-v2: Sending server login: MP-C 0 8StVe2/optmeH/SYjFxT0h fa7CJOU8agbiqhlvoTfbNw== ROADSTER_834
I (162289) ovms-server-v2: Received welcome response MP-S 0 fbD1JNgvOpdvBCEmqU26/t U4SYV0qGUc/AITkVxIlloQ==
I (162289) ovms-server-v2: Got server response: MP-S 0 fbD1JNgvOpdvBCEmqU26/t U4SYV0qGUc/AITkVxIlloQ==
I (162299) ovms-server-v2: Server token is fbD1JNgvOpdvBCEmqU26/t and digest is U4SYV0qGUc/AITkVxIlloQ==
I (162299) ovms-server-v2: Status: Server auth ok. Now priming crypto.
I (162299) ovms-server-v2: Shared secret key is fbD1JNgvOpdvBCEmqU26/t8StVe2/optmeH/SYjFxT0h (44 bytes)
I (162309) ovms-server-v2: Status: OVMS V2 login successful, and crypto channel established
I (162309) ovms-server-v2: Status: Connected and logged in
I (162309) 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
I (162339) ovms-server-v2: Send MP-0 D0,0,5,0,0,0,0,0,0,157,0,0,0,0,0,0,0,0,0,0
I (162349) ovms-server-v2: Send MP-0 L0,0,0,0,0,0,0,0,0,0,0
I (162359) ovms-server-v2: Send MP-0 W0,0,0,0,0,0,0,0,0
I (162369) ovms-server-v2: Send MP-0 F3.0.0/factory/main build (idf v2.1-75-g72bb091a) Jan  7 2018 10:30:21,,7,1,TR,T-Mobile Hologram
I (162389) ovms-server-v2: Incoming Msg: MP-0 Z0
OVMS > wifi mode client gregnet
Starting WIFI as a client to gregnet...
I (179259) wifi: wifi firmware version: 621ab6b
I (179259) wifi: config NVS flash: enabled
I (179259) wifi: config nano formating: disabled
I (179259) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (179259) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (179279) wifi: Init dynamic tx buffer num: 16
I (179279) wifi: Init dynamic rx buffer num: 16
I (179279) wifi: wifi driver task: 3fff3a70, prio:23, stack:4096
I (179279) wifi: Init static rx buffer num: 4
I (179279) wifi: Init dynamic rx buffer num: 16
I (179279) wifi: Init rx ampdu len mblock:7
I (179279) wifi: Init lldesc rx ampdu entry mblock:4
I (179279) wifi: wifi power manager task: 0x3fffd558 prio: 21 stack: 2560
I (179279) wifi: wifi timer task: 3fffe56c, prio:22, stack:3584
I (179289) wifi: mode : sta (30:ae:a4:37:1b:64)
I (180009) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (180669) wifi: state: init -> auth (b0)
I (180679) wifi: state: auth -> assoc (0)
I (180679) wifi: state: assoc -> run (10)
I (180699) wifi: connected with gregnet, channel 6
I (180719) event: ip: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (180719) ovms-mdns: Launching MDNS service
I (180719) esp32wifi: WiFi UP with SSID: gregnet, MAC: 30:ae:a4:37:1b:64, IP: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (186709) wifi: bcn_timout,ap_probe_send_start
I (189219) wifi: ap_probe_send over, resett wifi status to disassoc
I (189219) wifi: state: run -> init (1)
I (189219) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (189219) ovms-mdns: Stopping MDNS service
I (189219) ovms-server-v2: Network is down, so disconnect network connection
E (189219) ovms-server-v2: Status: Error: Disconnected from OVMS Server V2
I (194999) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (194999) wifi: state: init -> auth (b0)
I (194999) wifi: state: auth -> assoc (0)
I (195009) wifi: state: assoc -> run (10)
I (195029) wifi: connected with gregnet, channel 6
I (195049) event: ip: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (195049) ovms-mdns: Launching MDNS service
I (195049) esp32wifi: WiFi UP with SSID: gregnet, MAC: 30:ae:a4:37:1b:64, IP: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (199219) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (199219) net: DNS lookup on tmc.openvehicles.com failed err=203
E (199229) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (201049) wifi: bcn_timout,ap_probe_send_start
I (203549) wifi: ap_probe_send over, resett wifi status to disassoc
I (203549) wifi: state: run -> init (1)
I (203549) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (203549) ovms-mdns: Stopping MDNS service
I (203549) ovms-server-v2: Network is down, so disconnect network connection
I (204999) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (204999) wifi: state: init -> auth (b0)
I (205009) wifi: state: auth -> assoc (0)
I (205009) wifi: state: assoc -> run (10)
I (205029) wifi: connected with gregnet, channel 6
I (205049) event: ip: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (205049) ovms-mdns: Launching MDNS service
I (205049) esp32wifi: WiFi UP with SSID: gregnet, MAC: 30:ae:a4:37:1b:64, IP: 10.30.1.148, mask: 255.255.255.0, gw: 10.30.1.1
I (209229) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (209229) net: DNS lookup on tmc.openvehicles.com failed err=203
E (209239) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (215009) wifi: pm start, type:0|
I (219239) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (219239) net: DNS lookup on tmc.openvehicles.com failed err=203
E (219249) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (229249) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (229249) net: DNS lookup on tmc.openvehicles.com failed err=203
E (229259) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (239259) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (239259) net: DNS lookup on tmc.openvehicles.com failed err=203
E (239269) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (249269) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (249269) net: DNS lookup on tmc.openvehicles.com failed err=203
E (249279) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (259279) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (259279) net: DNS lookup on tmc.openvehicles.com failed err=203
E (259289) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (269289) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (269289) net: DNS lookup on tmc.openvehicles.com failed err=203
E (269299) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (279299) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (279299) net: DNS lookup on tmc.openvehicles.com failed err=203
E (279309) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (289309) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (289309) net: DNS lookup on tmc.openvehicles.com failed err=203
E (289319) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (299319) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (299319) net: DNS lookup on tmc.openvehicles.com failed err=203
E (299329) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (309329) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (309329) net: DNS lookup on tmc.openvehicles.com failed err=203
E (309339) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (319339) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (319339) net: DNS lookup on tmc.openvehicles.com failed err=203
E (319349) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
I (329349) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (329349) net: DNS lookup on tmc.openvehicles.com failed err=203
������?t��?h�@?���?`��?

OVMS > wifi mode off   
Stopping wifi station...
I (331349) ovms-mdns: Stopping MDNS service
I (331349) ovms-server-v2: Network is down, so disconnect network connection
I (331349) wifi: state: run -> init (0)
I (331349) wifi: pm stop, total sleep time: 0/116344062|
I (331349) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (332349) wifi: lmac stop hw txq
I (332349) wifi: Deinit lldesc rx mblock:4
I (332349) wifi: Deinit lldesc rx ampdu len mblock:7
I (332349) wifi: Deinit lldesc rx ampdu entry mblock:4
I (339349) ovms-server-v2: Connection is tmc.openvehicles.com:6867 ROADSTER_834/Gdbkt2017server
W (357109) net: Error: Failed to connect server tmc.openvehicles.com (error: 113)
E (357109) ovms-server-v2: Status: Error: Cannot establish tcp/ip connection to server
OVMS > power simcom off
Guru Meditation Error of type LoadProhibited occurred on core  1. Exception was unhandled.
Register dump:
PC      : 0x4008723b  PS      : 0x00060b33  A0      : 0x80087465  A1      : 0x3ffd9550 
0x4008723b: prvInsertBlockIntoFreeList at /home/greg/esp/esp-idf/components/freertos/./heap_regions.c:410

A2      : 0x3fffa840  A3      : 0x00060b23  A4      : 0x00000000  A5      : 0x00000000 
A6      : 0xffffffff  A7      : 0x3fff396c  A8      : 0x00000000  A9      : 0x00000000 
A10     : 0x3ffc1318  A11     : 0x00060b23  A12     : 0x00060b23  A13     : 0x00000080 
A14     : 0x7ff00000  A15     : 0x00000409  SAR     : 0x00000000  EXCCAUSE: 0x0000001c 
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000 

Backtrace: 0x4008723b:0x3ffd9550 0x40087462:0x3ffd9570 0x40088e89:0x3ffd9590 0x400855f4:0x3ffd95b0 0x40085f5d:0x3ffd95d0 0x40085f77:0x3ffd95f0
0x4008723b: prvInsertBlockIntoFreeList at /home/greg/esp/esp-idf/components/freertos/./heap_regions.c:410

0x40087462: vPortFreeTagged at /home/greg/esp/esp-idf/components/freertos/./heap_regions.c:410

0x40088e89: vPortFree at /home/greg/esp/esp-idf/components/esp32/./heap_alloc_caps.c:323

0x400855f4: prvDeleteTCB at /home/greg/esp/esp-idf/components/freertos/./tasks.c:4451

0x40085f5d: prvCheckTasksWaitingTermination at /home/greg/esp/esp-idf/components/freertos/./tasks.c:4451

0x40085f77: prvIdleTask at /home/greg/esp/esp-idf/components/freertos/./tasks.c:4451


Rebooting...



More information about the OvmsDev mailing list