Speeduino is now on Github Sponsors (Rather than Patreon): https://github.com/sponsors/noisymime
Any strange behaviour, crashing issues etc, post them here! Problems compiling the firmware should go in the General support section rather than here
#57535
Hey guys!!

Basically I have just bought a Arduino MEGA 2560 to build my first Speeduindo.
I definetly do not have the skills or knowledge with arduino, but I am confident with my mechanical and electronics skills :D

Based on this I have just got myself into this project where I intend to build the ECU for my car.

However, right from the get-go I am facing the first issue where I simply cannot upload the firmware into MEGA - both with the IDE interface and with the SpeedyLoader.

The error is as followed:
"
An error occurred while uploading the sketch
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
"

Of course I have already looked into the internet for the issue and a common response was "check if the board is being recognized by the OS" - image below:

https://imgur.com/gallery/OqIYbAk

Another common response was to check Arduino IDE for the correct board and port - image below:

https://imgur.com/gallery/JSiZ1lW

Find below the images of the errors: IDE and SpeedyLoarder

IDE Error:
https://imgur.com/gallery/2t7Kaxw

SpeedyLoader Error:
https://imgur.com/gallery/ei06FR7

Terminal outputs:
avrdude: Version 6.0.1, compiled on Apr 3 2014 at 23:12:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Users\MATEUS~1.ROD\AppData\Local\Temp\nsh4EC2.tmp\app\resources\/bin/avrdude-windows/avrdude.conf"
cygwin warning:
MS-DOS style path detected: C:\Users\MATEUS~1.ROD\AppData\Local\Temp\nsh4EC2.tmp\app\resources\/bin/avrdude-windows/avrdude.conf
Preferred POSIX equivalent is: /avrdude-windows/avrdude.conf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames

Using Port : COM3
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.


*both tests were performed with:
-> On Windows 10 with Compatibility Mode to Windows 7
-> As Administrator

I know the post has become quite long, but does someone has any clues on how to solve this issue?

Thank you
#57539
NickZ wrote:
Sun Jun 26, 2022 9:55 pm
either you don't have a USB driver for the USB or the Mega2560 is no good.
Hello @NickZ, thank you for your fast comment!

As for the USB driver, I have check under the "Devices Manager" and there is no issue (apparently) with the COM3 Port

https://imgur.com/gallery/OqIYbAk

I also tried with a different PC, however the issue is the same - except for this PC I had to manually install the driver.
Which I got from this link - https://sparks.gogo.co.nz/ch340.html

When the scrip was being uploaded into MEGA I checked that TX light did blink very faintly. However the issue still persisted.

Any new ideas on how to solve it?
#57555
LPG2CV wrote:
Mon Jun 27, 2022 8:50 am
try a combination of different usb leads and different ports. short leads can be better.
Hello LPG2CV, thank you for your input!

I am not sure I completely understood your idea: you mean to use, for example, the rear USB ports from PC instead of front ones? If that is the case, all tests on PC were performed on the rear port and I have also tried on my notebook, in this case I have USB ports on the right and left side of it, then I am not sure which would work best.

If that was not your idea, could you clarify a bit more, please?

Thank you!

JHolland wrote:Are you trying to programme the Mega on its own or plugged into the Speedy?
JHolland, thank you for your question!
I tried both scenarios, using arduino IDE and using Speedy. However there was no success for both cases.

I am starting to think my board has been damaged somehow, even though it is new...

Any new ideas I am here to try them!
#57558
is it a bare mega, or do you perhaps have a bluetooth module attached or similar on the secondary serial? I think I get errors like this if I try to upload a firmware while my bluetooth module is still present.
#57565
LPG2CV wrote:
Tue Jun 28, 2022 7:13 am
yes, try using different usb ports and/or a different lead. the ports wear, and some lead connectors are better than others.
Hello PFG2CV!
I tried different USB ports but still no good.
jonbill wrote:is it a bare mega, or do you perhaps have a bluetooth module attached or similar on the secondary serial? I think I get errors like this if I try to upload a firmware while my bluetooth module is still present.
NickZ wrote:Remove the mega from the speeduino board, then program it.
Hello jonbill and NickZ, MEGA is bare. Meaning I do not have anything attached to it.
PCB for BMW m52 engine

Hey guys, I have built a Rev2.2 version of this E[…]

… Here is my question: can I use speeduino[…]

Thanks everyone, I think 12 is probably going to b[…]

for a single cylinder engine, channel 1 is the p[…]

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