Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 15:25:03 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        =?ISO-8859-15?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, Colin Barnabas <colin.barnabas@gmail.com>
Subject:   Re: avrdude and arduino
Message-ID:  <alpine.BSF.2.00.1205141523420.1921@wojtek.tensor.gdynia.pl>
In-Reply-To: <CAGwOe2ahP-4UHyLwmGLMaaUZKRvALb=cuVgkSP9sqthdro4fRw@mail.gmail.com>
References:  <20120513182051.GA63499@hs1.VERBENA> <CAGwOe2ahP-4UHyLwmGLMaaUZKRvALb=cuVgkSP9sqthdro4fRw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> This is the command I'm using:
>>
>> %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U flash:w:flash.hex
>
> This is what I use for Duemilanove
> sudo avrdude -V -F -c stk500v1 -p m168 -b 19200 -P /dev/cuaU0 -U
> flash:w:flash.hex (Arduino)

maybe stupid question but why do you use sudo for it? 
can't you just set up devd.conf to set right owner to /dev/cuaU0, or even 
better make link like /dev/atmel -> /dev/yourdevice - so no matter how 
many usb serial devices you connect it will always have same name?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205141523420.1921>