Go Down

Topic: Arduino IDE uploads code but still displays error (Board: Arduino Pro Micro) (Read 116 times) previous topic - next topic

xAbh15h3kx

So i've recently gotten into linux and have been trying different distros.

Currently on Manjaro 18.0.4 KDE.

i download arduino 1.8.9 and the nightly version.
gave my user permission on the port ttyACM0 using sudo usermod -aG group username command

and then proceeded to upload a blank code (just with empty setup and loop)
i click comiple (completed succesfully)
then i click upload ( having selected arduino leonardo under boards and ttyACM0 : Arduino Leonardo under port in the tools menu)

lights start flashing on my arduino promicro (which usually means that its flashing the code onto the board). but then the IDE spits out this error

Arduino: 1.8.9 (Linux), Board: "Arduino Leonardo"

Sketch uses 3770 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 163 bytes (6%) of dynamic memory, leaving 2397 bytes for local variables. Maximum is 2560 bytes.


avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: error: programmer did not respond to command: set addr
avrdude: verification error, first mismatch at byte 0x0000
         0x0d != 0x0c
avrdude: verification error; content mismatch
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader
avrdude: error: programmer did not respond to command: exit bootloader

Then just for the heck of it i wrote a simple code to print "working" to the serial monitor every 250 milli seconds and uploaded it.

got the exact same error. but......
when i open the serial monitor "working" gets printed every 250 milli seconds or so.

so whats going on?

i googled this but nothing came up. just 100s of unrelated issues

spycatcher2k

Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

xAbh15h3kx

forgot to add....

the same versions of arduino ide gave no error while upload when i was using ubuntu or windows. it is just in manjaro so far.

and also in manjaro uploading to a arduino nano ( with old 328p bootloader ) also works without any error

xAbh15h3kx

If you have a pro-micro, why are you choosing Leonardo?
there is no option for choosing a pro micro in the boards menu under tools

in Windows and ubuntu i choose arduino leonardo in the boards menu and it works perfectly.
0 issues

Go Up