[Ovmsdev] Problems ms_v_charge_mode

Geir Øyvind Vælidalo geir at validalo.net
Sun Nov 26 04:35:28 HKT 2017


I’m having problems setting ms_v_charge_mode. 
I do it this way, but it fails at runtime:

  StdMetrics.ms_v_charge_mode->SetValue( chademo ? "performance" : "standard");

This is the trace I get, so it seems to fail somewhere else:

I (6451) events: Signal(vehicle.charge.mGuru Meditation Error of type LoadProhibited occurred on core  0. Exception was unhandled.
Register dump:
PC      : 0x400883c3  PS      : 0x00060633  A0      : 0x8008708a  A1      : 0x3ffc6b30  
0x400883c3: vListInsertEnd at /Users/goev/esp/esp-idf/components/freertos/./list.c:130

A2      : 0x3ffc6384  A3      : 0x3ffc6c78  A4      : 0x00060620  A5      : 0x00000000  
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x00000038  A9      : 0x3ffb33b8  
A10     : 0x3ffb131c  A11     : 0x00060623  A12     : 0x00060623  A13     : 0x3ffce1ec  
A14     : 0x3ffce1ec  A15     : 0x3ffc6a70  SAR     : 0x00000010  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000040  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffa  

Backtrace: 0x400883c3:0x3ffc6b30 0x40087087:0x3ffc6b50 0x400860f1:0x3ffc6b70 0x4008771b:0x3ffc6b90 0x40087818:0x3ffc6bc0
0x400883c3: vListInsertEnd at /Users/goev/esp/esp-idf/components/freertos/./list.c:130

0x40087087: vTaskPlaceOnEventListRestricted at /Users/goev/esp/esp-idf/components/freertos/./tasks.c:4446

0x400860f1: vQueueWaitForMessageRestricted at /Users/goev/esp/esp-idf/components/freertos/./queue.c:2392

0x4008771b: prvProcessTimerOrBlockTask at /Users/goev/esp/esp-idf/components/freertos/./timers.c:839

0x40087818: prvTimerTask at /Users/goev/esp/esp-idf/components/freertos/./timers.c:839

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.
Any one got a clue?

Regards,
Geir


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20171125/c98afe93/attachment.htm>


More information about the OvmsDev mailing list