Troubles programming Sparkfun Pro Micro from Ubuntu

09/11/2014 Posted by admin

It took me a while to figure out what was wrong with my ProMicro…

When trying to program it from Linux/Ubuntu, avrdude was not working, with the following error :

avrdude: ser_open(): can't open device "/dev/ttyACM0": Device or resource busy
Eavrdude: butterfly_recv(): programmer is not responding

The command I was using :

avrdude -v -P /dev/ttyACM0 -c avr109 -p atmega32u4 -U flash:w:program.hex:i

After some trials, I noticed that ModemManager was in fact stealing the access to ttyACM0, briefly when the ProMicro was reset, causing the problem.

The solution : sudo apt-get purge modemmanager

 

One Response to Troubles programming Sparkfun Pro Micro from Ubuntu

  1. Phil Willis says:

    Thanks very much, this solved the same problem with my BareConductive TouchBoard and Ubuntu 14.04

    http://www.bareconductive.com/make/setting-up-arduino-with-your-touch-board/

    Thanks again.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

*


× huit = 56

Vous pouvez utiliser ces balises et attributs HTML : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>