I have created a simulator that will allow for building applications for the MegaJolt/E with no hardware if anyone is interested in using it. The Calibration commands are not implemented and I likely will never do them. But loading and saving the ignition maps, global configurations and state information is all functional. I have connected the existing MJLJ Configurator and everything seems to work well.
If you decide to use it, please let me know if you find any problems. I will try to keep this thread up to date with new releases as they come out.
To use this, you will need to set up a bridge between 2 virtual com ports. There is an app called com0com that will do this quite easily. Below is a link to the download as well as a document that describes how to set it up in Windows 7 64 bit.
http://sourceforge.net/projects/com0com/
http://www.softwx.com/weather/virtualvp ... itHelp.pdf
MegaJolt/E Development Simulator Released
Moderators: JeffC, rdoherty, stieg, brentp
MegaJolt/E Development Simulator Released
- Attachments
-
- MegaJolt.Simulator.zip
- (36.4 KiB) Downloaded 400 times
-
- Screen shot of the Simulator with the Configurator connected to it.
- Simulator.png (85.64 KiB) Viewed 9371 times
I've made some huge improvements. It will now:
* Calculate the Load and RPM bins based on the current Ignition Configuration and Load and RPM Values.
* Calculate the Advance based on RPM and Load.
* Calculate the Advance Correction Bin and Value based on the current Ignition Configuration.
* Calculate the Shift Light and Rev Limit values based on the current Ignition Configuration and RPM Values.
* Save all your settings between runs of the application
* Save the Ignition Configuration to settings only when you call Flash Ignition Configuration. Otherwise the changes are only made in memory, just like the real thing.
NOTE: The config file is required or the app will not start up correctly.
* Calculate the Load and RPM bins based on the current Ignition Configuration and Load and RPM Values.
* Calculate the Advance based on RPM and Load.
* Calculate the Advance Correction Bin and Value based on the current Ignition Configuration.
* Calculate the Shift Light and Rev Limit values based on the current Ignition Configuration and RPM Values.
* Save all your settings between runs of the application
* Save the Ignition Configuration to settings only when you call Flash Ignition Configuration. Otherwise the changes are only made in memory, just like the real thing.
NOTE: The config file is required or the app will not start up correctly.
- Attachments
-
- MegaJolt.Simulator.zip
- (39.88 KiB) Downloaded 367 times
Last edited by jestes on Mon Jan 28, 2013 7:35 am, edited 2 times in total.
Thanks. I'm having an issue setting the Advance Correction Bins using MJLJ. I change the bin values and as soon as focus leaves the cell, it goes back to 0. Any idea what I'm doing wrong?brentp wrote:Well done! thank you for sharing this.
Are the bin values based on Load or RPM? I'm assuming RPM, but I don't see anything that states exactly how Advance Correction is used.
I've also stumbled on a few mistakes and inconsistencies in the protocol spec. Do you want me to let you know when I find them?
I have been hitting enter. My guess is it has to do with the fact that I have not done an Auxiliary Input Calibration. So all the Scaled Values are 0.brentp wrote:Hi,
You need to hit 'enter' after modifying the cell for it to commit the value.
The bins are mapped to the auxiliary input, it's not mapped to RPM or load.
For any documentation errors, please let us know as you find them. Thanks!