OVMS v3.1 crashes during boot continuously
Hi. I ordered my OVMS v3 module in march 2018, and excited when I received it months later. The module has been connected in my Kia Soul EV from around version 3.1.004, with OTA updates enabled, until July 12. It was connected to dexters-web.de V2 server. It usually reported data to the app, sometimes with long delays, at other times not at all. From July 8th to July 10th, I drove the car 1450 km from Copenhagen to Paris, then parked it. When I tried to unlock the car 5 days later, the 12 Volt battery was completely drained, and since then, the OVMS has neither connected, nor sent beacons for the WIFI AP after a factory reset. I have no idea what happened. To my knowledge the module was functioning normally when I parked the car. On dexters-web, I can see that the last update was received at 22:07 12.07.2018. I have now (today) installed the development tools and OVMS software, built, and captured the output from the continuing crashes, when booting on the current master: Henriks-MBP:OVMS.V3 henrik$ make simple_monitor --- forcing DTR inactive --- forcing RTS inactive --- Miniterm on /dev/tty.SLAB_USBtoUART 115200,8,N,1 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- make: *** [simple_monitor] Terminated: 15 Terminated: 15 Henriks-MBP:OVMS.V3 henrik$ make monitor MONITOR --- WARNING: Serial ports accessed as /dev/tty.* will hang gdb if launched. --- Using /dev/cu.SLAB_USBtoUART instead... --- idf_monitor on /dev/cu.SLAB_USBtoUART 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:4796 load:0x40078000,len:0 load:0x40078000,len:14896 entry 0x400785) spiram: SPI RAM mode: flash 40m sram 40m I (655) spiram: PSRAM initialized, cache is in low/high (2-core) mode.2mI (656) cpu_start: Pro cpu up. I (660) cpu_start: Starting app cpu,t is 0x40081574 0x40081574: start_cpu0_default at /Users/henrik/esp/esp-idf/components/esp32/cpu_start.c:322 I (0) cpu_start: App cpu up.I (1521) spiram: SPI SRAM memory test OK I (1521) heap_init: Initializing. RAM available for dynamic allocation: I (1521) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1528) heap_init: At 3FFBC5C0 len 00023A40 (142 KiB): DRAM I (1534) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM I (1540) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1548) heap_init: At 40098ED8 len 00007128 (28 KiB): IRAM I (1553) cpu_start: Pro cpu start user code I (1558) spiram: Adding pool of 4096K of external SPI memory to heap allocator I (127) ovms_main: Set default logging level for * to INFO I (128) command: Initialising COMMAND (1000) I (129) boot: Initialising BOOT (1100) I (132) boot: Power cycle reset detected I (137) events: Initialising EVENTS (1200) I (142) config: Initialising CONFIG (1400) I (147) time: Initialising TIME (1500) I (152) script: Initialising SCRIPTS (1600) I (156) script: Using DUKTAPE javascript engine I (161) metrics: Initialising METRICS (1810) I (166) metrics: Expandjavascript engine I (176) notify: Initialising NOTIFICATIONS (1820) I (178) notify: Registered notification type info I (182) notify: Registered notification type error I (188) notify: Registered notification type alert I (193) notify: Registered notie data I (198) location: Initialising LOCATIONS (1900) I (205) location: Expanding DUKTAPE javascript engine I (210) vehicle: Initialising VEHICLE Factory (2000) I (216) pcp: Initialising POWER (4000) I (220) max7317: Initialising MAX7317 EGPIO (4200) I (225) sdcard: Initialising SD CARD (4400) I (230) ota: Initialising OTA (4400) I (235) can: Initialising CAN (4500) I (240) simcom: Initialising SIMCOM (4600) I (244) test: Initialising TEST (5000) I (248) ovms-module: Initialising MODULE (5100) I (253) vfs: Initialising VFS (5200) I (257) oInitialising OVMS Server (6000) I (263) ovms-server-v2: Initialising OVMS V2 Server (6100) I (269) ovms-server-v3: Initialising OVMS V3 Server (6200) I (275) obd2ecu: Initialising OBD2ECU (7000) I (280) canopen: Initialising CANopen (7000) I (286) esp32wifi: Initialising ESP32WIFI (8000) I (290) ovms-mdns: Initialising MDNS (8100) I (296) webserver: Initialising WEBSERVER (8200) I (302) ssh: Initialising SSH (8300) I (305) re: Initialising RE Tools (8800) I (310) netmanager: Initialising NETMANAGER (8999) I (317) v-voltampera: Registering Vehicle: Volt/Ampera (9000) I (321) v-track: Registering Vehicle: TRACK (9000) I (327) v-teslaroadster: Registering Vehicle: Tesla Roadster (9000) I (333) v-teslamodels: Registering Vehicle: Tesla 00) I (340) v-twizy: Registering Vehicle: Renault Twizy (9000) v-obdii: Registering Vehicle: OBDII (9000) I (352) v-none: Registering Vehicle: NONE (9000) I (357) v-nissanleaf: Registering Vehicle: Nissan Leaf (9000) I (364) v-kiasoulev: Registering Vehicle: Kia Soul EV (9000) I (370) v-demo: Registering Vehicle: DEMO (90;32mI (375) version: Initialising Versioning (9900) I (383) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (451) ovms_main: Executing on CPU core 0 I (451) ovms_main: Mounting CONFIG... Initialising OVMS CONFIG within STORE E (461) config: Error: Cannot open config store directory I (461) ovms_main: Configure logging... I (461) ovms_main: Registering default configs... I (471) ovms_main: Starting HOUSEKEEPING... I (471) housekeeping: Initialising HOUSEKEEPING Framework... I (481) housekeeping: Executing on CPU core 1 I (481) housekeeping: reset_reason: cpu0=1, cpu1=14 I (491) housekeeping: Initialising WATCHDOG... I (491) housekeeping: Starting PERIPHERALS... I (501) peripherals: Initialising OVMS Peripherals... I (511) peripherals: TCP/IP Adaptor I (511) peripherals: ESP32 system I (511) peripherals: SPI bus I (521) peripherals: MAX7317 I/O Expander I (521) peripherals: ESP32 CAN I (531) peripherals: ESP32 WIFI I (531) peripherals: ESP32 ADC I (541) peripherals: MCP2515 CAN 1/2 I (551) peripherals: MCP2515 CAN 2/2 I (561) peripherals: SD CARD I (561) peripherals: SIMCOM MODEM I (561) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (571) gpio: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0 I (581) uart: queue free spaces: 10 I (581) ext12v: Powering off external 12V devices I (591) housekeeping: Auto init ext12v (free: 216052 bytes) I (591) housekeeping: Auto init wifi (free: 216052 bytes) W (601) esp32wifi: AutoInit: factory reset detected, starting public AP net 'OVMS' with password 'OVMSinit' I (611) esp32wifi: Powering up WIFI driver I (611) wifi: wifi firmware version: c25fd80 I (621) wifi: config NVS flash: enabled I (621) wifi: config nano formating: disabled I (621) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE E (631) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0xb2; calc_crc = 0x3d abort() was called at PC 0x400dc76b on core 1 0x400dc76b: __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110 (inlined by) std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/alloc_traits.h:386 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:185 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:180 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:544 (inlined by) OvmsSSH::Authenticate(unsigned char, WS_UserAuthData const*, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp:232 Backtrace: 0x40091e73:0x3ffbfee0 0x40091fcb:0x3ffbff00 0x400dc76b:0x3ffbff20 0x400dc7b5:0x3ffbff50 0x401a6c23:0x3ffbff80 0x401a6fa8:0x3ffbffa0 0x4019da97:0x3ffbffd0 0x4019d161:0x3ffbfff0 0x400ddc2b:0x3ffc0010 0x400dddd3:0x3ffc0040 0x400de1a9:0x3ffc0060 0x400df7c9:0x3ffc0090 0x400e65f0:0x3ffc0190 0x400e62d2:0x3ffc0200 0x400e5da5:0x3ffc0240 0x400e5ef9:0x3ffc0270 0x400e5fad:0x3ffc02c0 0x400e5fbd:0x3ffc02f0 0x40091e73: xTaskCreatePinnedToCore at /Users/henrik/esp/esp-idf/components/freertos/tasks.c:3564 0x40091fcb: vTaskDelete at /Users/henrik/esp/esp-idf/components/freertos/tasks.c:3564 0x400dc76b: __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110 (inlined by) std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/alloc_traits.h:386 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:185 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:180 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:544 (inlined by) OvmsSSH::Authenticate(unsigned char, WS_UserAuthData const*, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/console_ssh/src/console_ssh.cpp:232 0x400dc7b5: __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/ext/new_allocator.h:110 (inlined by) std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/alloc_traits.h:386 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned int) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:185 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:180 (inlined by) OvmsSSH::Authenticate(unsigned char, WS_UserAuthData const*, void*) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:544 0x401a6c23: std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_via_format(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char const*) const at /Volumes/build/idf/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/locale_classes.tcc:114 (discriminator 6) 0x401a6fa8: std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_float(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, std::string&) const at /Volumes/build/idf/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/locale_classes.tcc:114 (discriminator 6) 0x4019da97: std::ostreambuf_iterator<char, std::char_traits<char> > std::__cxx11::money_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert<true>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const at /Volumes/build/idf/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/locale_classes.h:675 0x4019d161: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) at /Volumes/build/idf/crosstool-NG/.build/xtensa-esp32-elf/build/build-cc-gcc-final/xtensa-esp32-elf/libstdc++-v3/include/bits/locale_classes.h:675 0x400ddc2b: dbc::dbc() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/char_traits.h:243 0x400dddd3: std::__cxx11::_List_base<dbcNode*, std::allocator<dbcNode*> >::_M_init() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/char_traits.h:243 (inlined by) std::__cxx11::list<dbcNode*, std::allocator<dbcNode*> >::clear() at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_list.h:1369 (inlined by) dbcNodeTable::EmptyContent() at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/dbc/src/dbc.cpp:194 0x400de1a9: unsigned int const& std::min<unsigned int>(unsigned int const&, unsigned int const&) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/char_traits.h:243 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:2315 (inlined by) bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:4987 (inlined by) std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_function.h:387 (inlined by) std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, dbcValueTable*>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, dbcValueTable*> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, dbcValueTable*> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, dbcValueTable*> >*, std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, dbcValueTable*> >*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/stl_tree.h:1628 0x400df7c9: std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::size() const at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/char_traits.h:243 (inlined by) dbcfile::LoadParseOneLine(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/dbc/src/dbc.cpp:649 0x400e65f0: esp32wifi::StartAccessPointClientMode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:580 (discriminator 1) 0x400e62d2: esp32wifi::StartClientMode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned char*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:461 0x400e5da5: esp32wifi::EventWifiStaDisconnected(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:761 0x400e5ef9: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct_aux<char const*>(char const*, char const*, std::__false_type) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:195 (inlined by) void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:214 (inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) at /Users/henrik/esp/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/5.2.0/bits/basic_string.h:457 (inlined by) esp32wifi::EventWifiScanDone(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:882 0x400e5fad: esp32wifi::EventWifiScanDone(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:891 (discriminator 1) 0x400e5fbd: esp32wifi::EventWifiScanDone(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, void*) at /Users/henrik/dev/ovms/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/components/esp32wifi/src/esp32wifi.cpp:892 (discriminator 1) Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:4796 load:0x40078000,len:0 load:0x40078000,len:14896 entry 0x40078d74 I (655) spiram: SPI RAM mode: flash 40m sram 40m I (655) spiramialized, cache is in low/high (2-core) mode. I (657) cpu_start: Pro cpu up. I (660) cpu_start: Starting app cpu, entry point is 0x40081574 0x40081574: start_cpu0_default at /Users/henrik/esp/esp-idf/components/esp32/cpu_start.c:322 u_start: App cpu up. I (1521) spiram: SPI SRAM memory test OK I (1522) heap_init: Initializing. RAM available for dynamic allocation: I (1522) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1529) heap_init: At 3FFBC5C0 len 00023A40 (142 KiB): DRAM I (1534) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM Is the OVMS module hardware broken? Or can I somehow fix the module (if so; how)? Is it possible that the OVMS malfunctioned, and the repeated re-booting caused extensive power drain, either directly from the OBD-II, or by somehow keeping some systems in the car “awake”, via CAN-bus activity? Best regards, Henrik -- Venlig hilsen, Henrik R. Scheel Kia Soul EV 2015
Henrik, welcome :) Am 04.08.2018 um 12:47 schrieb Henrik Scheel:
Hi. I ordered my OVMS v3 module in march 2018, and excited when I received it months later.
The module has been connected in my Kia Soul EV from around version 3.1.004, with OTA updates enabled, until July 12. It was connected to dexters-web.de <http://dexters-web.de> V2 server. It usually reported data to the app, sometimes with long delays, at other times not at all.
From July 8th to July 10th, I drove the car 1450 km from Copenhagen to Paris, then parked it.
When I tried to unlock the car 5 days later, the 12 Volt battery was completely drained, and since then, the OVMS has neither connected, nor sent beacons for the WIFI AP after a factory reset. I have no idea what happened. To my knowledge the module was functioning normally when I parked the car. On dexters-web, I can see that the last update was received at 22:07 12.07.2018.
Too bad :-( I've had a look at the logs. Your last 12V reading was at 11.8V, which normally would be still OK, but I suspect you didn't calibrate the 12V measurement. See https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/148 …and the new 12V section in the user guide. So the Soul doesn't top up the 12V battery from the main battery? How much capacity does the 12V battery have on the Soul? Maybe we should add vehicle specific 12V capabilities & warnings to the user guide. Or an overview table at the beginning?
I have now (today) installed the development tools and OVMS software, built, and captured the output from the continuing crashes, when booting on the current master:
… I (451) ovms_main: Mounting CONFIG... Initialising OVMS CONFIG within STORE E (461) config: Error: Cannot open config store directory … I (611) wifi: wifi firmware version: c25fd80 I (621) wifi: config NVS flash: enabled I (621) wifi: config nano formating: disabled I (621) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE E (631) system_api: Base MAC address from BLK0 of EFUSE CRC error, efuse_crc = 0xb2; calc_crc = 0x3d abort() was called at PC 0x400dc76b on core 1 …
Is the OVMS module hardware broken? Or can I somehow fix the module (if so; how)?
Is it possible that the OVMS malfunctioned, and the repeated re-booting caused extensive power drain, either directly from the OBD-II, or by somehow keeping some systems in the car “awake”, via CAN-bus activity?
See above & issues, power management is not yet implemented, so a reboot doesn't draw more power than normal live operation. The CRC error on the efuse BLK0 is very bad. BLK0 contains the factory burnt MAC address assigned by Espressif. As efuses normally can't be changed once burnt this signals a serious problem with your ESP32. See https://github.com/espressif/esptool/wiki/espefuse -- you can try the dump command and send the results to Espressif. If your ESP32 really lost its efuses, I think that's a warranty issue. Mark, any idea on this? Regards, Michael
Best regards, Henrik --
Venlig hilsen, Henrik R. Scheel Kia Soul EV 2015
-- Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
participants (2)
-
Henrik Scheel -
Michael Balzer