[Ovmsdev] unit repeatedly crashing / reverting to factory

Derek Caudwell d.caudwell at gmail.com
Fri May 12 16:13:24 HKT 2023


Recently my 12V battery died, after replacing it the OVMS unit reverted to
the factory reset state. Unfortunately it kept crashing in this state with
the following:

Last boot was 101 second(s) ago Time at boot: 1970-01-01 00:03:16 GMT This
is reset #3 since last power cycle Detected boot reason: EarlyCrash (12/12)
Reset reason: Exception/panic (4) Crash counters: 3 total, 3 early Last
crash: LoadProhibited exception on core 1 Registers: PC : 0x4008c341 PS :
0x00060030 A0 : 0x8013cc48 A1 : 0x3ffe63d0 A2 : 0x00000000 A3 : 0xfffffffc
A4 : 0x000000ff A5 : 0x0000ff00 A6 : 0x00ff0000 A7 : 0xff000000 A8 :
0x00000000 A9 : 0x00000008 A10 : 0x3ffeba1d A11 : 0x3f417d87 A12 :
0x3ffeba25 A13 : 0x3ffe684c A14 : 0x47006c6c A15 : 0x47006c6c SAR :
0x00000010 EXCCAUSE: 0x0000001c EXCVADDR: 0x00000000 LBEG : 0x4008c341 LEND
: 0x4008c351 LCOUNT : 0xffffffff Current task on core 0: wifi, 1176 stack
bytes free Current task on core 1: OVMS NetMan, 6420 stack bytes free
Backtrace: 0x4008c341 0x4013cc45 0x4013ffbe 0x4013fff5 0x4011439b
0x40184ee2 0x4018526b 0x40185ac8 0x40189829 0x401311ed 0x40132221
0x401311ed 0x40131597 0x4013168a 0x40132ff1 0x40133272 0x4012f432
0x4012330f 0x401233bd Version: 3.3.003-423-g68d9aee8/ota_0/main (build idf
v3.3.4-849-g6e214dc33 Apr 19 2023 00:11:25) Hardware: OVMS WIFI BLE BT
cores=2 rev=ESP32/1
------------------------------

Hardware: OVMS WIFI BLE BT cores=2 rev=ESP32/1 Firmware:
3.3.003-423-g68d9aee8/ota_0/main (build idf v3.3.4-849-g6e214dc33 Apr 19
2023 00:11:25) Running partition: ota_0 Boot partition: ota_0 Factory
image: 3.2.002 OTA_O image: 3.3.003-423-g68d9aee8 OTA_1 image:
3.3.003-419-gfbbf3c0d

Removing the SD card and trying a S2 reset made no difference, so I
proceeded to run the following commands to factory reset and boot from the
factory firmware:

esptool.py --chip esp32 --port COM3 --baud 921600 erase_region 0xC10000 0x100000



esptool.py --chip esp32 --port COM3 --baud 921600 erase_region 0xd000 0x2000


Both ran successfully however the unit is now no longer providing the
factory wifi access point. What should I try next to restore it?


Cheers Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20230512/9d1f6a00/attachment.htm>


More information about the OvmsDev mailing list