Send AVR-chat mailing list submissions to
address@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/avr-chator, via email, send a message with subject or body 'help' to
address@hiddenYou can reach the person managing the list at
address@hiddenWhen replying, please edit your Subject line so it is more specific
than "Re: Contents of AVR-chat digest..."
Today's Topics:
1. arduino upload problem (Renato)
2. Re: arduino upload problem (Danilo Uccelli)
3. Re: arduino upload problem (Renato)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Sep 2010 11:34:33
+0200
From: Renato <
address@hidden>
Subject: [avr-chat] arduino upload problem
To:
address@hiddenMessage-ID: <
address@hidden>
Content-Type: text/plain; charset=US-ASCII
Hi, I'm trying to upload a sketch to an Arduino Duemilanove with
avrdude but I'm getting the error pasted below. I really don't have a
clue of the avrdude command syntax, it was generated by the Arduino
IDE - sorry for that. But I searched a lot for this error and couldn't
find an answer. The board is connected at /dev/ttuUSB0.
I'm on Archlinux, up to date. The uploading works ok with other systems so I think it isn't
a
hardware problem.
Also, this command returns nothing, so the board is not being used by
another process:
sudo lsof |grep ttyUSB
Any help is very much appreciated.
renato
$ avrdude -C/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build7961644783492409942.tmp/blink.cpp.hex:i
avrdude: Version 5.10, compiled on Apr 3 2010 at 18:48:10
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf"
User configuration file is "/home/renato/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude done. Thank you.
------------------------------
Message: 2
Date: Tue, 21 Sep 2010 12:06:52 +0200
From: Danilo Uccelli <
address@hidden>
Subject: Re: [avr-chat] arduino upload problem
To:
address@hiddenMessage-ID:
<AANLkTik79xe-SAq89f2gNjZ5zX9vNRdS=
address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
2010/9/21 Renato <
address@hidden>
>
> Hi, I'm trying to upload a sketch to an Arduino Duemilanove with
> avrdude but I'm getting the error pasted below. I really don't have a
> clue of the avrdude command syntax, it was generated by the Arduino
> IDE - sorry for that. But I searched a lot for this error and couldn't
> find an answer. The board is
connected at /dev/ttuUSB0.
>
> I'm on Archlinux, up to date. The uploading works ok with other systems so I think it isn't
> a hardware problem.
>
> Also, this command returns nothing, so the board is not being used by
> another process:
> sudo lsof |grep ttyUSB
>
> Any help is very much appreciated.
>
> renato
>
> $ avrdude -C/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D -Uflash:w:/tmp/build7961644783492409942.tmp/blink.cpp.hex:i
> avrdude: Version 5.10, compiled on Apr 3 2010 at 18:48:10
> Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/> Copyright (c) 2007-2009 Joerg Wunsch
>
> System wide configuration file is
"/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf"
> User configuration file is "/home/renato/.avrduderc"
> User configuration file does not exist or is not a regular file, skipping
>
> Using Port : /dev/ttyUSB0
> Using Programmer : stk500v1
> Overriding Baud Rate : 57600
> avrdude: Send: 0 [30] [20]
> avrdude: Send: 0 [30] [20]
> avrdude: Send: 0 [30] [20]
> avrdude: ser_recv(): programmer is not responding
> avrdude: stk500_recv(): programmer is not responding
>
> avrdude done. Thank you.
>
Hi,
Have you tried to use sudo in front of
your command ?
Danilo
P.S. Sorry for the private response, here is copy to the list...
------------------------------
Message: 3
Date: Tue, 21 Sep 2010 13:59:47 +0200
From: Renato <
address@hidden>
Subject: Re: [avr-chat] arduino upload problem
To:
address@hiddenMessage-ID: <
address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
On Tue, 21 Sep 2010 12:06:52 +0200
Danilo Uccelli <
address@hidden> wrote:
> 2010/9/21 Renato <
address@hidden>
> >
> > Hi, I'm trying to upload a sketch to an Arduino Duemilanove with
> > avrdude but I'm getting the error pasted below. I really don't have
> > a clue of the avrdude command syntax, it was generated by the
> > Arduino IDE - sorry for that. But I searched a lot for this error
> > and couldn't find an answer. The board is connected at /dev/ttuUSB0.
> >
> > I'm on Archlinux, up to date. The uploading works ok with other
> > systems so I think it isn't a hardware problem.
> >
> > Also, this command returns nothing, so the board is not being used
> > by another process:
> > sudo lsof |grep ttyUSB
> >
> > Any help is very much appreciated.
> >
> > renato
> >
> > $ avrdude
> >
-C/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf -v
> > -v -v -v -patmega328p -cstk500v1 -P/dev/ttyUSB0 -b57600 -D
> > -Uflash:w:/tmp/build7961644783492409942.tmp/blink.cpp.hex:i
> > avrdude: Version 5.10, compiled on Apr 3 2010 at 18:48:10
> > Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/> > Copyright (c) 2007-2009 Joerg Wunsch
> >
> > System wide configuration file is
> > "/home/renato/Desktop/arduino-0019/hardware/tools/avrdude.conf"
> > User configuration file is "/home/renato/.avrduderc" User
> > configuration file does not exist or is not a regular file, skipping
> >
> > Using Port : /dev/ttyUSB0
> >
Using Programmer : stk500v1
> > Overriding Baud Rate : 57600
> > avrdude: Send: 0 [30] [20]
> > avrdude: Send: 0 [30] [20]
> > avrdude: Send: 0 [30] [20]
> > avrdude: ser_recv(): programmer is not responding
> > avrdude: stk500_recv(): programmer is not responding
> >
> > avrdude done. Thank you.
> >
>
> Hi,
> Have you tried to use sudo in front of your command ?
>
hmm, strange: an hour ago adding sudo worked - the upload was
successful and immediately after I tried reuploading as a user and it
also worked. Now neither will work.
I've allready been experiencing this random behaviour before with this
problem, sometimes it will work, most of the time it won't. I still
haven't found any
corelation with things like rebooting, other
processes that use USB (and anyway the lsof command should exclude
this, right?) etc.
I do have permissions set ok:
$ ls -lh /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 0 Sep 21 13:53 /dev/ttyUSB0
$ groups renato |grep uucp
adm tty wheel ftp mail http games network video audio optical storage
scanner power users dbus hal pulse-access pulse-rt camera lpadmin uucp
vboxusers input renato
renato
------------------------------
_______________________________________________
AVR-chat mailing list
address@hiddenhttp://lists.nongnu.org/mailman/listinfo/avr-chatEnd of AVR-chat Digest, Vol 67, Issue
2
***************************************