avrdude and arduino

Fernando Apesteguía fernando.apesteguia at gmail.com
Mon May 14 15:02:09 UTC 2012


On Mon, May 14, 2012 at 3:25 PM, Wojciech Puchar
<wojtek at wojtek.tensor.gdynia.pl> wrote:
>>> 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?

Yes,  I'll do it when I use the Arduino the next time (it's been a
while since the last time).


More information about the freebsd-questions mailing list