Coding my own open source 24x ECU [beta available]

User avatar
AngelMarc
Posts: 290
Joined: Sat Apr 08, 2023 9:23 pm
cars: A CB450 running to 8,000RPM with a P59.

Re: Coding my own open source 24x ECU [beta available]

Post by AngelMarc »

I've probably flashed it well over 100 times iterating this code. Pretty sure all code goes on EEPROM, separate part on board, internal is bootloader. It still shows up as a flash drive if holding boot button when plugged in, but that's it.
Don't stress specific units.
User avatar
AngelMarc
Posts: 290
Joined: Sat Apr 08, 2023 9:23 pm
cars: A CB450 running to 8,000RPM with a P59.

Re: Coding my own open source 24x ECU [beta available]

Post by AngelMarc »

Betting a lot of the adaptation from mycropython to Arduino uses a bunch of the same interpitter nonsense. Probably why compiler was less picky than for the Teensy.
Don't stress specific units.
User avatar
AngelMarc
Posts: 290
Joined: Sat Apr 08, 2023 9:23 pm
cars: A CB450 running to 8,000RPM with a P59.

Re: Coding my own open source 24x ECU [beta available]

Post by AngelMarc »

Will probably make a revision soon. Initialize pattern history to be 10101010 or 01010101. As is, there's potential for a false match at initial start up in one area of the wheel. When I initially set pattern length to 8, I figured the extra would help and just be simpler. Might later change it to 6 teeth per pattern and initialize 101010 or 010101, for the same 90 degree sync potential GM originally went for.
A logic analyzer/oscilloscope that can record would help show it with pictures and what not, but whatever. Thinking through what the ECU reads on startup... I know it needs done.
Don't stress specific units.
Post Reply