From owner-freebsd-questions@FreeBSD.ORG Mon May 14 15:02:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F08A8106566C for ; Mon, 14 May 2012 15:02:08 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6B1658FC0A for ; Mon, 14 May 2012 15:02:08 +0000 (UTC) Received: by lbon10 with SMTP id n10so4702011lbo.13 for ; Mon, 14 May 2012 08:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HjA6bMdNcw9Hnt04cKLj06HTabMDn0ASaZraIhURPS0=; b=tw3r2elBAr7JRTL6SF1QVxBspLNFx53/FkrFndUQSvW2lfOzGmb7q0lSdcIfWjuwAo 51XxkKDDg1g7YMl/VG6zew6iR3W7hOlZ8hdP6M720Z2XiVAkUZlQKiaNB6MOv0UF3ibw dPgPvBORDTqHBsMYg7f1xk7Wn7vgxdRnys/pIm2rpVxzm7E+hcJjc3C/a51BYGMi3h8D 0pDxeFLFqgaidPD6TTaVPFYMkhevb2vM2VG6zPTGMgniRLBp8ivJkY3z+e68EBwkHE9A lGcHt1D6dgNUwKk4TP3ij+NJynS415nA2kAogAGmNcG/2jMnJ20Y8owmmz7gbmzmYy8Q ExZg== MIME-Version: 1.0 Received: by 10.112.82.165 with SMTP id j5mr3323525lby.50.1337007727113; Mon, 14 May 2012 08:02:07 -0700 (PDT) Received: by 10.152.24.131 with HTTP; Mon, 14 May 2012 08:02:06 -0700 (PDT) In-Reply-To: References: <20120513182051.GA63499@hs1.VERBENA> Date: Mon, 14 May 2012 17:02:06 +0200 Message-ID: From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Wojciech Puchar Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions , Colin Barnabas Subject: Re: avrdude and arduino X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2012 15:02:09 -0000 On Mon, May 14, 2012 at 3:25 PM, Wojciech Puchar 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).