-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error occurred while uploading the sketch #517
Comments
I get that error message when I forget to quit the GroundControl program before programming the Arduino. Both programs try to use the serial connection to the Mega. See if that's the issue, let us know what you find. |
Hi Scott,
Thank you for the advice, I have made sure that the GroundControl was not
running as I heard about before. I was lucky once with the Leonardo
controller but the capacity of the card is not enough, the sample "Blink"
is downloading on "Mega 2560" before and after the "Maslow Control
Software" with no problem.
My original 3D printer sketch "Marlin" is uploading fine but just not the
"CNC_CTRL_v1".
[image: image.png]
Istvan Toth
…On Thu, Jul 25, 2019 at 2:45 PM Scott Smith ***@***.***> wrote:
I get that error message when I forget to quit the GroundControl program
before programming the Arduino. Both programs try to use the serial
connection to the Mega. See if that's the issue, let us know what you find.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#517?email_source=notifications&email_token=ABPQGYUV45RKJPI3SMQFMY3QBEVYDA5CNFSM4IGWVZD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2YKOEA#issuecomment-514893584>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPQGYW6G6W47YQ72IL5PG3QBEVYDANCNFSM4IGWVZDQ>
.
|
OK, sorry that didn't help. Does the firmware compile correctly? Can you copy the contents of the compile window into a .zip file and attach it here? |
are you sure that it compiled properly?
David Lang
|
Good idea, the firmware compiles great thanks! Attached 2 files -with and without the upload Verbose. Thank again. MaslowVerbozeOutput Compile-only.txt |
It looks like it compiles correctly, but both files seem to be the output of the compile command rather than the upload. The output with upload Verbose should have a section at the end showing the output of the avrdude uploader. This is what it looks like here: |
Sorry, the upload tail of the verbose did not come with the previous file. Please find attached again and the screenshot of the settings while uploading. Thank you for your time, Scott! |
I think the programmer should be "AVR ISP" - that's what shows up here. If that doesn't fix things, let's look at the verbose capture from uploading Blink.ino. |
Sorry, I can't make much of the huge text dump in your last message. Could you edit that message to remove the text dump (to tidy up the thread) and attach the dump as a text attachment? |
Sorry, that is maybe due to replying within the email platform. MaslowVerbozeOutput.Compile-Upload2.txt |
Searching online for 'arduino avrdude: stk500v2_ReceiveMessage() timeout' brings up some things that might apply.
|
Wow, Scott that was the -!!!- problem! Thank you so much! I could upload after finding "!!!" and replaced all to one "!". Thank again Mate, hope I can help in some way soon. Istvan Toth |
🎉👍 That sure was a strange one! Glad it’s solved. |
Nice work!!! |
Hi, I have just downloaded the latest (2 days old) new version of "cnc_ctrl_v1" Maslow firmware. I have an AT Mega 2560 Chinese board. While uploading the sketch, the diodes flashing for 1 second, then long after (<15 sec) the message "An error occurred while uploading the sketch".
I have successfully uploaded the Exaplesample/Basic/Blink sketch from the file menu of my Arduino Ver. 1.8 9 and my USB port used is #9.
Thank you in advance for any ideas on the above error.
The text was updated successfully, but these errors were encountered: