From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 20:21:35 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A56106566C; Wed, 4 Aug 2010 20:21:35 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 098CB8FC1A; Wed, 4 Aug 2010 20:21:34 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o74KLXxR097644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 20:21:33 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with ESMTP id o74KLXoE097641; Wed, 4 Aug 2010 20:21:33 GMT (envelope-from saper@saper.info) X-Authentication-Warning: k.saper.info: saper owned process doing -bs Date: Wed, 4 Aug 2010 20:21:32 +0000 From: Marcin Cieslak To: Joerg Wunsch In-Reply-To: <20100804181429.GA45362@uriah.heep.sax.de> Message-ID: References: <201008041626.o74GQMDL098191@radziecki.saper.info> <20100804181429.GA45362@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 20:21:35 -0000 On Wed, 4 Aug 2010, Joerg Wunsch wrote: > As Marcin Cieslak wrote: > >> Checked with the same hardware (dual-boot) and Microsoft >> Vista (with arduino-0018 IDE) and the board can be >> contacted and programmed without any problems. > > Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR > compilation), too? Or another tool? On Windows I have used arduino Java IDE. Arduino IDE distribution actually includes a whole WinAVR stack including avrdude.exe, but I didn't pay attention what is actually used. I will reboot to Windows now and check the commandline invocation. On FreeBSD arduino the Java IDE tries to use avrdude and fails the same was as from commandline. > IIRC, the Arduino bootloader requires some special tricks in order to > talk to it. I think AVRDUDE v5.10 still lacks that feature. Could > you try the SVN version of AVRDUDE? AVRDUDE is mentioned for example here http://www.arduino.cc/playground/FreeBSD/CLI as the tool to use. I have tried "-c arduino" or "-c stk500v1" with trunk and I get still the same affect as with 5.10 (Programmer timeout). What maybe important: TX/RX LED on the board don't react at all when trying to use avrdude (there is only a single blink on firmware LED - which means bootloader start). With Windows - TX/RX indicated clearly some activity. > (I don't see a GNATS ID in the subject. Has this been actually filed > via send-pr?) Hm, yes, sorry... You were copied on the original send-pr. --Marcin