It's all good. I generally have a self imposed X beer cutoff for posting LOL.Sorry if I sounded crabby. I'm having some health issues (and eating some lovely strong drugs ) but that's no excuse for my being uncivil.
I've only looked at Speeduino a few times, and that was at crank decode and speed density (SD) portions only. Crank decode AS IS, is not capable of detecting misfire due to lack of velocity change. SD is close but technically not correct (but neither is MegaSquirt).I agree about micros - that's one of my criticisms of Speeduino.
That plus the fact that I've seen soo much amateurish Arduino code, particularly at the low-level use of hardware, timers and interrupts.
I haven't had a project that didn't include functional safety in over a decade. It's not that bad, but safety cannot be an after thought. As levels increase, so does complexity and cost.Safety critical hardware / firmware requires an attitude and approach that most programmers / engineers are not familiar with.
Actually managed to "brick" an automotive ECU due to messing with DBW throttle opening rate (100% my fault). Safety coprocessor said, no your not and reset main processor. Nice endless loop, in which I couldn't download a calibration to undo condition. You'd be amazed at the number of watchdogs in newer ECUs, even some low-side drivers expect a SPI specific response (can be up to challenge-authenticate) or they simply disable outputs.As an example, we've had issues where an opto-coupler fails at around 10 years old, and the (original) code went into a watchdog reboot loop waiting for a signal that never arrived.
The ARM processors at embedded level are certainly dominating market. It's a shame, as a lot of micros are disappearing due to, it's easier to license a core vs developing. With that comes allot of clones, that are trying to compete on price and not features.As a aside, every time our micro supplier gets a new sales rep, they come out to see us and try to persuade us to switch to their latest and greatest ARM chip range.
The only ARM that I'm aware of that would make a good engine ECU foundation with appropriate safety is TI TMS570 ( TI Link ). Could be more, as I said, it's a hobby.
Once you get out of ARM, then there are 4 or more manufacturers that make great automotive grade micros with correct hardware subsystems to get the job done. Sourcing them in low quantity is a different story.
Some things off the top of my head. ESD +/- 4000V vs +/- 2000V (human body), some intelligent drivers will not shutdown until 175C (die temperature) is exceeded, injection current (a simple series current limiting resistor and no need for 12V to 5V level translators), adjustable digital output current limit, or how hard do you need to drive output... This is why AEC-Q100 grade micro is 2-5x price of say a generic industrial grade ARM.When I ask about ESD, vibration, and extreme temperatures, I may as well be talking Martian.