MyLab-odyssey / ED_BMSdiag

Retrieve battery diagnostic data from your smart electric drive EV.
MIT License
51 stars 19 forks source link

Memory leak -> Capacity readout hangs #8

Closed MyLab-odyssey closed 8 years ago

MyLab-odyssey commented 8 years ago

Due to a memory leak in the NLG6 SWrev string storage the heap memory is insuficient for the bms all query and the Arduino UNO will hang when reserving memory for the capacity values.

Quick fix is to disable the NLG6 test (set NLG6TEST 0) in the ED_BMSdiag.h:

#define NLG6TEST 1               //!< Test if the NLG6 fast charger is installed