DuinoMite-MEGA and the CAN commands.
Posted with a view to promoting the CAN Bus commands on the DuinoMite-MEGA.
In July of 2012, John Lopez (username:opezjm2001) of Australia ordered a DuinoMite-MEGA from Dontronics, with a view to getting it running with the existing CAN bus commands resident in the DuinoMite firmware, and started this thread in the Prius chat room:
I have been keeping a daily eye on the direction the thread has been going, but haven't been in a position to offer any real assistance, as I am not a C programmer, and don't use the CAN bus myself.
It has become a very lengthy thread, and as you will see, John Harding of the US (Username: JDH2250) became very interested, then committed himself to re-writing the CAN commands, as he explained in the thread.
I have had an email exchange with both Johns, and have added their comments below:
John Lopez (username: opezjm2001) -2012-09-07
As you are probably aware John Harding's CAN implementation is still being debugged. Your summarisation is correct. Anyhow I will forward this email to John Harding so he can make a reply. I read how Geoff might attempt to modify the DuinoMite Mega to use colour. I hope he does. I think Geoff may still be holidaying.
John Harding of the US (Username: JDH2250) -2012-09-07
Hi Don & John,
One additional thing to add is that the reason I started to look at Frank's code was to improve it so that we could better use the built-in hardware filtering of messages. This reduces the amount of work that the BASIC interpreted code has to do and is an important part of making the CAN commands more powerful. JLo and I both discovered these issues as soon as we got beyond the simple examples that were provided.
I started doing these modifications to Frank's code – but hit a wall regarding licensing (which you know about). Also, I was becoming frustrated with some of the ways Frank had coded things (they weren't bad but they made adding the features I wanted to more difficult). So, at that point I abandoned Frank's code and re-wrote from the ground up.
The new version has two major technical benefits (1) access to built in hardware filtering (2) dynamic memory management of CAN buffers.
The software is still in "beta". Hopefully we'll get to a stable release in the not too distant future (mainly requires me finding the time to work on this).
Happy to answer any other questions (and like JLo I'm hoping for Geoff to figure out how we can get color on our DuinoMites, heck – I'd even settle for colour (which my spell checker says doesn't exist – ahh, to be an ignorant American!! )
All the best,
I noticed John Harding posted a message on TBS forum:
I will add a pointer on TBS forum back to this posting.
I will update this post if and when the need arises.