ubuntu - Error uploading Arduino Mirco Sketch using Kubuntu -


i have arduino micro want program kubuntu 15.10 system. installed arduino software using apt-get, when try upload program (for test purpose use basics\bareminimum sketch) following error:

found programmer: id = "0.00 v1"; type =       software version = 0..; hardware version = 0.0 avrdude: error: buffered memory access not supported. maybe isn't butterfly/avr109 avr910 device? 

the proper device "arduino micro" selected , proper port "/tty/acm0". found people on internet have same error , solve using usb port or cable. tried 2 different cables , different ports , didn't manage working. tried on laptop running older version of kubuntu produced same error.

therefore tried newest version of arduino software arduino homepage. different error:

avrdude: ser_open(): can't open device "/dev/ttyacm0": device or resource busy avrdude: ser_send(): write error: bad file descriptor 

my user added dialout group, should have access port. right port port disappears arduino menu when unplug board.

the arduino shouldn't problem, can upload sketch windows laptop without problems.

edit: when plug in arduino, following added dmesg output:

[ 8390.293960] usb 1-2: new full-speed usb device number 6 using xhci_hcd [ 8390.424861] usb 1-2: new usb device found, idvendor=2341, idproduct=8037 [ 8390.424863] usb 1-2: new usb device strings: mfr=1, product=2, serialnumber=0 [ 8390.424864] usb 1-2: product: arduino micro [ 8390.424865] usb 1-2: manufacturer: arduino llc [ 8390.425283] cdc_acm 1-2:1.0: ttyacm0: usb acm device [ 8390.426815] input: arduino llc arduino micro /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:2341:8037.0007/input/input21 [ 8390.482163] hid-generic 0003:2341:8037.0007: input,hidraw4: usb hid v1.01 mouse [arduino llc arduino micro] on usb-0000:00:14.0-2/input2 

did flash arduino bootloader? can recognize glowing led when power board. glows few seconds , starts flashed sketch.

if don't see glowing led, need flash bootloader first.

in avrdude should use avr109 bootloader - correct.

you can observe dmesg command output see how board detected.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -