<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m having problems setting ms_v_charge_mode. <div class="">I do it this way, but it fails at runtime:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="font-family: Monaco; margin: 0px; font-stretch: normal; line-height: normal;" class="">  StdMetrics.ms_v_charge_mode->SetValue( chademo ? <span style="color: #3933ff" class="">"performance"</span> : <span style="color: #3933ff" class="">"standard"</span>);</div><div style="font-family: Monaco; margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div class="">This is the trace I get, so it seems to fail somewhere else:</div><div style="font-family: Monaco;" class=""><br class=""></div><div class=""><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(52, 188, 38); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I (6451) events: Signal(vehicle.charge.mGuru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(52, 188, 38); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Register dump:</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(52, 188, 38); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PC      : 0x400883c3  PS      : 0x00060633  A0      : 0x8008708a  A1      : 0x3ffc6b30  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x400883c3: vListInsertEnd at /Users/goev/esp/esp-idf/components/freertos/./list.c:130</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">A2      : 0x3ffc6384  A3      : 0x3ffc6c78  A4      : 0x00060620  A5      : 0x00000000  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">A6      : 0x00000000  A7      : 0x00000000  A8      : 0x00000038  A9      : 0x3ffb33b8  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">A10     : 0x3ffb131c  A11     : 0x00060623  A12     : 0x00060623  A13     : 0x3ffce1ec  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">A14     : 0x3ffce1ec  A15     : 0x3ffc6a70  SAR     : 0x00000010  EXCCAUSE: 0x0000001c  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">EXCVADDR: 0x00000040  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffa  </span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Backtrace: 0x400883c3:0x3ffc6b30 0x40087087:0x3ffc6b50 0x400860f1:0x3ffc6b70 0x4008771b:0x3ffc6b90 0x40087818:0x3ffc6bc0</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x400883c3: vListInsertEnd at /Users/goev/esp/esp-idf/components/freertos/./list.c:130</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x40087087: vTaskPlaceOnEventListRestricted at /Users/goev/esp/esp-idf/components/freertos/./tasks.c:4446</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x400860f1: vQueueWaitForMessageRestricted at /Users/goev/esp/esp-idf/components/freertos/./queue.c:2392</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x4008771b: prvProcessTimerOrBlockTask at /Users/goev/esp/esp-idf/components/freertos/./timers.c:839</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0x40087818: prvTimerTask at /Users/goev/esp/esp-idf/components/freertos/./timers.c:839</span></div><div style="font-family: Menlo; margin: 0px; font-stretch: normal; line-height: normal; color: rgb(175, 173, 36); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">It looks like it has something to do with the Signal event, but I ‘m still not that good using gbd to find out what actually makes this fail.</div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">Any one got a clue?</div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">Regards,</div><div style="margin: 0px; font-stretch: normal; line-height: normal; background-color: rgb(255, 255, 255);" class="">Geir</div><div style="font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></div><div class=""><br class=""></div></div></body></html>