Thomas, That would be really useful. I am worried that the module may have failed. I did not keep a copy of the last working hex file (lesson learned!) but did save the sources. Rebuilt from previous sources and loaded. It still fails. Matt On Monday, September 23, 2013, Thomas Bergo wrote:
Matt:
I can send you the hex file i'm running in my OVMS module, so you can try if that woking in your module?
Regards, Thomas
2013/9/23 Thomas Bergo <thomas.bergo@gmail.com>
I did a rebuild from clean to ensure that i running the exact same code. My OVMS module is booting as expected, and only the green led is blinking OK (one blink]
Which version of the OVMS FW are you running? I have only tested with the 2.5.2 FW. Are there any significant changes from 2.5.2 that can impact the code to constantly reboot?
Regards, Thomas
2013/9/23 Matt Beard OVMS <smvo@mxf.org.uk>
OK - either this code is broken, or my OVMS is.
I flashed the code and set the unit up - no go, kept rebooting and the GPRS does not work.
Rebuild from clean. Reflashed, reloaded settings and still constant rebooting and GPRS does not work.
Matt
On 23 September 2013 10:24, Thomas Bergo <thomas.bergo@gmail.com> wrote:
Have tested and fixed a lot of errors this weekend. and i believe that the code is now in a state where it can be merged into the main project.
Have pushed a release 1.3 to my fork on GitHub.
Changes: 1.3 23.09.13 (Thomas) - Fixed charging notification when battery is full, SOC=100% - TODO: Fix battery temperature reading. 1.2 22.09.13 (Thomas) - Fixed Ideal range - Added parking timer - Added detection of car is asleep. 1.1 21.09.13 (Thomas) - Fixed ODO - Fixed filter and mask for poll0 (thanks to Matt Beard) - Verified estimated range - Verified SOC - Verified Charge state - Added battery temperature reading (thanks to Matt Beard) 1.0 Initial release
Regards, Thomas
2013/9/21 Thomas Bergo <thomas.bergo@gmail.com>
Thanks to you all for participate.
Managed to spend some time on this project yesterday and this this evening.
Yesterday i was able to fix the ODO. And thanks to Matt i was able test the SOC, ideal range and Charge state. Added the battery temperature reading form Matt's code.
My car is reporting range and ODO in Km, so added support to handle both miles and Km for ODO and Range based on can_mileskm.
*"To receive all 0x3nn messages we could use filter SID 0x300 and mask 0x700, but I am worried that may cause a flood of messages."* The current code runs with this filter and mask, ans seems to be stable so far.
Still see some errors with the ideal range and the temperature reading. The app is reporting PEM: -125C, Motor: 144C and Battery: 5C
Pushed the code with updates from Matt to GitHub.
Regards, Thomas
2013/9/21 Michael Jochum <mikeljo@mac.com>
Hi,
You can only set the Mask and Filter in a Configuraton Mode.
From Datasheet:
2