v2.873 release
Posted: Mon Sep 10, 2007 5:59 pm
I am double posting this message because it applies to both MS II and even more to microsquirt or anyone using the dual spark option,
I recently found why, during bench testing, I was seeing an occasional glitch in the ignition outputs for dual spark. There is only one interrupt for the two ignition channels, with a flag that tells you which channel caused the interrupt. However, it sometimes happens that one of the channel interrupts is disabled because the spark is done and nothing else is necessary until the next tach pulse for that channel comes in. But the flag can still be set, so sometimes, when a channel 2 interrupt occurs, the channel 1 flag is also set and this sometimes caused the chan 1 output to incorrectly change state.
The cure is to only test a flag for channel x if the interrupt for channel x is enabled, otherwise do nothing (return). That is what is in v2.873. There is no other change, so nothing is needed in the way of an ini file.
If you are using the dual spark option you should upgrade to this version, otherwise you don't need it, but it won't hurt anything either..
You can get the code and s19 file on:
http://www.msefi.com/viewtopic.php?p=179116#179116
MegaSquirt EFI :: View topic - Another release (v2.873)/fix for v2.872
and Lance will put it in the proper spot when he sees it.
I recently found why, during bench testing, I was seeing an occasional glitch in the ignition outputs for dual spark. There is only one interrupt for the two ignition channels, with a flag that tells you which channel caused the interrupt. However, it sometimes happens that one of the channel interrupts is disabled because the spark is done and nothing else is necessary until the next tach pulse for that channel comes in. But the flag can still be set, so sometimes, when a channel 2 interrupt occurs, the channel 1 flag is also set and this sometimes caused the chan 1 output to incorrectly change state.
The cure is to only test a flag for channel x if the interrupt for channel x is enabled, otherwise do nothing (return). That is what is in v2.873. There is no other change, so nothing is needed in the way of an ini file.
If you are using the dual spark option you should upgrade to this version, otherwise you don't need it, but it won't hurt anything either..
You can get the code and s19 file on:
http://www.msefi.com/viewtopic.php?p=179116#179116
MegaSquirt EFI :: View topic - Another release (v2.873)/fix for v2.872
and Lance will put it in the proper spot when he sees it.