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

Can't flash Arduino Mega 2560 #47

Open
yayomora opened this issue Oct 23, 2020 · 0 comments
Open

Can't flash Arduino Mega 2560 #47

yayomora opened this issue Oct 23, 2020 · 0 comments

Comments

@yayomora
Copy link

Hi.
I apologize if this is a newbie question but I tried to figure out and search everywhere to find an answer to solve this problem. I'm trying to use my Arduino Mega 2560 as midi controller using Control Surface Master. However I could not get to flash my Arduino Mega 2560 using avrdude on Mac OS Mojave. I always get stuck and get this error: stk500v2_command(): command failed
I'm using this commands to do so: avrdude -p at90usb82 -F -P /myusbport -c avrispmkii -U flash:w:arduino_midi.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

After hitting enter I get this:

**avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9801
avrdude: Expected signature for AT90USB82 is 1E 93 82
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: stk500v2_command(): command failed

avrdude done. Thank you.**

What am I doing wrong? I follower step by step Hiduino's documentation. Installed latest Crosspack and running IDE 1.8.13

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

1 participant