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

Disassembly, Reassembly, Tools and devleopment. Going deep with Hardware and Software.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Sanity checking before I bother to try.
Found an error.
Used to flat 256 array for "no change" in spark with IAT.
At the end of pot travel, it jumped over.
Array of 129 values was only filled to 119 values.
Whatever default nonsense the compiler did, caused the jump.
Fuel was same, 119 values.
That will be updated in 1st post.
Don't stress specific units.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Found another bug.
Not adding up based on calculations.
Or based on previous tests.
I get near the rev limiter and spark control goes to shit.
It didn't do that before.
Don't stress specific units.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Somehow everything is broken garbage today. idle speed, no spark. Few hundred RPM from rev limiter, goes to shit.
Don't stress specific units.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Doesn't help that, even though I saved 50 something times, I lost a bunch of progress to a power outage about a week ago.
I assume that's because Microsoft's infinite fucking wisdom.
Should all be back to where it was anyway. But results say otherwise.
Don't stress specific units.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Looking like the write endurance on these microcontrollers is trash. Turns out ESP32 S3 is working if I select the board without extra PSRAM, and now the Pico is refusing to work, but not doing that SOS shit.
Last edited by AngelMarc on Sun Jun 29, 2025 2:56 am, edited 1 time in total.
Don't stress specific units.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

Yep, everything is still broken garbage.
Update old waste spark single cylinder to support the sequential tune file, and spark output is stuck high.
Sick. Another "fuck you" from things that are suppose to have machine repeatability.
Flash endurance being shit? Arduino IDE update fucking me? Somebody fucking with the settings on the life simulation? Doesn't matter which because the end result is the same "fuck you".
Sick. Was likely days away from testing on an engine too.
Don't stress specific units.
MPC001
Posts: 174
Joined: Sat May 05, 2018 11:41 am

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

Post by MPC001 »

What is your experience with flash endurance?
MPC001
Posts: 174
Joined: Sat May 05, 2018 11:41 am

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

Post by MPC001 »

AngelMarc wrote: Fri Jun 27, 2025 10:07 pm Somebody fucking with the settings on the life simulation?
Most likely! :wtf: some white rabbit daemon.
User avatar
AngelMarc
Posts: 612
Joined: Sat Apr 08, 2023 11:23 am
cars: A CB450 running to 8,000RPM with a P59.

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

Post by AngelMarc »

MPC001 wrote: Sun Jun 29, 2025 2:34 am What is your experience with flash endurance?
Any datasheets I've looked up for various EEPROMs claim 100,000s writes. No way I'm close to that; but I hope that's all it is.
Doesn't intuitively make sense of some of the buggy behavior that happened shortly before it stopped being detected in windows.
Don't stress specific units.
MPC001
Posts: 174
Joined: Sat May 05, 2018 11:41 am

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

Post by MPC001 »

AngelMarc wrote: Sun Jun 29, 2025 2:52 am
MPC001 wrote: Sun Jun 29, 2025 2:34 am What is your experience with flash endurance?
Any datasheets I've looked up for various EEPROMs claim 100,000s writes. No way I'm close to that; but I hope that's all it is.
Doesn't intuitively make sense of some of the buggy behavior that happened shortly before it stopped being detected in windows.
100k write cycles & 20 years seems quite common, but I have seen some spec sheets as low as 100 write cycles (E40 slave flash embedded in 68k CPU chip - 25 year old tech) & 1,000,000 write cycles (E38 E67 master flash), but who knows what the quality of the flash is in a US$2 Pico or Nano Whether "known good" or just roll the dice.