Any strange behaviour, crashing issues etc, post them here! Problems compiling the firmware should go in the General support section rather than here
#69390
Hi folks,

I know there are similar issues reported but not quite my setup hence I hope for a solution.
We are coming back of a 2.200km roadtrip with my VW campervan with Speeduino installed. The first half of the trip was basically a nightmare as the CORE4 continously did reset. It was just until I realized that disconnecting the laptop avoids the resets and I have gone > 1.000kms without the engines missing a single beat

The setup:
- DIY-EFI CORE 4 with Speeduino 10-2023 firmware
- USB cable with 5V line cut. Meaning I did cut the red wire and left green, white and black in place
- Lenovo X390 Yoga 16GB laptop with Win11 and all updates installed
- Tunerstudio MS Ultra 3.2.03 all updates installed

The effect:
(1) I can start the engine and it warms up just fine
(2) after about 3 Minutes Resets start to happen. Speeduino freezes for about 3 seconds (no more ingintion signal, injectors remain where they are either open or closed, the SecL counter freezes). After the freezing, the SecL counter resets to zero and I can start the engine
(3) resets than happen somewhat randomly: they happend back-2-back making the car undriveable and somtimes it takes up to 2 minutes between a reset.
(4) as soon as I disconnect the laptop, all runs fine I can go hundreds of kilometers without a single issue

Any ideas?
#69391
bugster_de wrote:- Lenovo X390 Yoga 16GB laptop with Win11 and all updates installed
What I forgot: I have tested with a Lonovo X220 8GB Win10 laptop and with another Lenovo of my daughter too. Same effect of ECU reboots
#69394
Are you using an inverter to power the Lenovo computer while these resets are happening? I had problems with resets under those conditions because of the RF coming off the DC to AC inverter. The computer running on its battery alone had no issues with resets.
#69395
FiatDuino wrote:Are you using an inverter to power the Lenovo computer while these resets are happening? I had problems with resets under those conditions because of the RF coming off the DC to AC inverter. The computer running on its battery alone had no issues with resets.
nope, unfortuanetly not. I'm using a 65W 12V DC powered USB-C charger.
Something like this: https://www.amazon.de/KFD-Netzteil-Auto ... QE3M86WIT3

In any case it makes no difference if I run the laptop from its battery or with the charger plugged in.
#69410
Alfagta wrote: Thu Sep 05, 2024 7:40 am Does anybody know which Mode is used for the cp2102 at the core 4 Board?
I know from different ecus that Bus powered works without Problems.

Best regards
what do you mean by mode and bus powered?
I'm asking as I fear a bit, that the 5V supply in the DIY-EFI gets overloadad (it drwas too much current), the voltage drops and hence the digital core goes to reset
#69437
folks,

this is weird and seems to be software related

I have removed the ECU from the car and do have it on the bench now for better testing. Fpor bench testing, I have removed the modded USB cablemissing the 5V line and replaced with a standard USB cable so I can power the digital core of the ECU from the USB.

Now the weird stuff:
  • If I connect the ECU with USB to Tunderstudio, it all works fine and keeps on going for hours --> good an as expected
  • when powering the ECU via USB from an external power source and connecting the serial line of the ECU to an FTDI-USB-Serial-Adapter, Tunerstudio can't connect
    When using e.g. the serial monitor of Arduino studio to send the "S" command, Speeduino responds with Speeduino202310 in the first place but after about 5 secs is sending data garbage and will then just randomly respond to the "S" command
  • as soon as I connect the RX pin of the ECU to my FTDI Adapter without (!!!) the FTDI adapter plugged into the PC, the ECU goes to reset and is basically not coming back from reset
  • I then flashed a software to the Core4 that basically is just sending count up values every 250msec
    Code: Select all
    cnt++;
    Serial.println( cnt );
    delay( 250 );
    and this code with Arduino serial monitor connected is running fine for hours. Independent if connected via USB or via serial and independent of the power source. It just runs while the Speeduino code goes to reset
  • I then removed the code under the "U" command. As soon as Tunderstudio sends the "U" command, speeduino goes to reset if the reset control is enabled. I do have it disabled anyhow but you never know.... hence I removed the reset code. And now, TS can connect via serial line but is now continously bouncing between offline and online.
To me this feels like the resets are a SW issue but I'm not sure how and why. Any help and hint is appreciated.
#69444
I'm running a C2C from DIY-EFI, i was in the process of tuning with tunerstudio. In the final stages of the tune I hit around 9500rpm (race kart single cylinder engine) and the engine had a little accident, not sure what the cause was.
Engine stripped then put back together, tried a trigger set up, but the timing light kept playing up, the board kept resetting. Turns out that the 1kohm pullup resistor has failed, this may have shorted the Atmeg2560 chip, I'm having the board repaired today. I will report back as soon as the failed components are replaced and the board is back on the kart.
The C2C has led's tagged onto the RPM1 and RPM2 inputs, I can see if the signal is good, RPM1 was showing a half then full light, The atmeg wasn't detecting a 0v to 5v pulse. RPM2 is still good.
The damaged resistor may be causing the ecu to shut down when I try to run the coil, again speculation, if I wire in a small led into the coil driver output it runs fine. My 5v regulator gets a little warm, I have everything unplugged. I'm going to install a fan for this tiny circuit board, I want to keep it happy :D
Might be an idea to check any resistors on the 5v rail. I've also cut the +5v power in the usb lead, made no difference.

thank you LPG2CV 1. About the timing: Just to be[…]

Log attached along with video which shows the inje[…]

Rover Mini 1300SPI does not work well

I'm currently in the process of changing only the […]

You don't seem to be waiting for the data transfer[…]

Still can't find what you're looking for?