Skip to content
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

Problem w/ Sketch Upload #8

Closed
roacher opened this issue Apr 25, 2013 · 4 comments
Closed

Problem w/ Sketch Upload #8

roacher opened this issue Apr 25, 2013 · 4 comments

Comments

@roacher
Copy link

roacher commented Apr 25, 2013

After creating a .h file with a wave table, in python, my sketch compiles with no errors in the arduino environment, but when I upload to the arduino board I get an error:

Binary sketch size: 19,340 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: verification error, first mismatch at byte 0x4135
0x01 != 0xff
avrdude: verification error; content mismatch

Have you seen this before, or know what could be going on?
Thanks,

r

@sensorium
Copy link
Owner

Hi roacher,
this might be a dumb answer first up, but have you tried unplugging your usb, restarting arduino, etc.?
Otherwise, do you want to post the code, including the table? Paste it here, or send it to faveflave@gmail.com.
Tim

@roacher
Copy link
Author

roacher commented Apr 26, 2013

Thanks for responding so quickly. I have tried unplugging and restarting.
Im attempting to run this on the MEGA 2560. Very quickly, I uploaded it
to an UNO and there were no errors- I didn't have time to test it with an
amp and speaker hooked up tho.

Attached are the files: arduino w/ mozzi code & and the wavetable.

Thanks!

On Thu, Apr 25, 2013 at 10:00 PM, Mr Sensorium notifications@github.comwrote:

Hi roacher,
this might be a dumb answer first up, but have you tried unplugging your
usb, restarting arduino, etc.?
Otherwise, do you want to post the code, including the table? Paste it
here, or send it to faveflave@gmail.com.
Tim


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-17054446
.

@sensorium
Copy link
Owner

Hey there,
I didn't see the files attached - maybe it doesn't work on github. But the MEGA 2560 is a clue.
Someone identified a bug at upload time on the MEGA 2560, where if the compiler sees 3 !!! exclamation marks in a row (or 33, 33, 33 in decimal) it enters serial mode and the board freezes.
I thought I changed the python scripts to dither any occurence of 33, 33, 33, but if you wrote your own or used one I didn't check, this might be worth looking at. Feel free to email the code if that's not the problem.
Tim

@tfry-git
Copy link
Collaborator

This report has not seen any activity in a long time, and is very unlikely to be specific to Mozzi. So I'll close it.

For reference, in case it is the tripple exclamation mark problem, the relevant upstream ticket is here: https://code.google.com/archive/p/arduino/issues/392 . Solution is to upload an updated firmware to the 2560.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants