5

When trying to flash my sketch, I see many errors such as:

 ***failed; 
 ***failed; 
 ***failed; 
avrdude: Error: butterfly programmer uses avr_write_page() but does not 
provide a cmd() method. 
 *** page 127 (addresses 0x7400 - 0x747f) failed to write

And also:

avrdude: error: programmer did not respond to command: set addr

How can I successfully flash my sketch?

asked Feb 7, 2019 at 13:12

1 Answer 1

13

After much frustration in trying things, I came across this forum post which advised:

sudo systemctl stop ModemManager.service

If this works, disable the service from starting next boot:

sudo systemctl disable ModemManager.service

It seems like setting ENV{ID_MM_DEVICE_IGNORE}="1" in a udev rule is insufficient.

answered Feb 7, 2019 at 13:12

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.