speeduino / speeduino

Speeduino - Arduino based engine management
http://speeduino.com
GNU General Public License v2.0
1.34k stars 548 forks source link

USB connection w/o TS kills engine #1112

Open myk7777 opened 11 months ago

myk7777 commented 11 months ago

Laptop connection on the USB port kills the engine if Tunerstudio or another serial monitor is not running. The outputs will stay off until TS is launched. I’ve tried all variations of the reset control, custom 16u2 firmware, reset jumper is in place, scoped the reset pin and it’s held high continuously, tried removing 5v from the USB cable.

The only thing I’ve found that fixes this issue is to roll back to 202108 firmware, any release from 202201 till now has this issue.

myk7777 commented 11 months ago

I purchased another mega2560 board to rule that out and it behaves the same. I also removed the Arduino from the v0.4 shield and fed the crank and cam signals straight to it from an ardustim while scoping the output pins and it still shows this same issue. I changed the pin mapping over to the no2c and it’s the same. Only thing I can find to fix it is rolling back to 202108.

zuripig commented 11 months ago

Same here - tried all steps you've listed too, including multiple megas 🤷🏽‍♂️

Admanirv123 commented 11 months ago

This appears to break connection to msdroid too, moreover the signature can not be recognised as there is a small window when it ill align with msdroid project vs ecu, this is the same as when flashing new firmware upon first connection you've got around 10-15 seconds.

Walterronny commented 2 months ago

Ive been trying to find any fix for it and definitely it's about 16u2 firmware, also i made a custom boards for working with custom 16u2 speeduino firmware but nothing happens. tried many things replacing caps with different values etc and same problem. Never tested 202108 but maybe it's 16u2 firmware?