From owner-freebsd-usb@FreeBSD.ORG Thu Feb 16 07:51:11 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BAC316A422 for ; Thu, 16 Feb 2006 07:51:11 +0000 (GMT) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAAC343D49 for ; Thu, 16 Feb 2006 07:51:09 +0000 (GMT) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1F9dus-0004GI-Uo for freebsd-usb@freebsd.org; Thu, 16 Feb 2006 08:51:07 +0100 Received: from h-68-164-219-99.cmbrmaor.covad.net ([68.164.219.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2006 08:51:06 +0100 Received: from mainland by h-68-164-219-99.cmbrmaor.covad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2006 08:51:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Geoffrey Mainland Date: Thu, 16 Feb 2006 02:41:14 -0500 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h-68-164-219-99.cmbrmaor.covad.net User-Agent: Thunderbird 1.5 (X11/20060112) X-Enigmail-Version: 0.94.0.0 Sender: news Subject: uftdi buffer problems with FT232BM? 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: Thu, 16 Feb 2006 07:51:11 -0000 I've been trying to get a tmote sky (http://www.moteiv.com/products-tmotesky.php) working with FreeBSD. This device uses an FT232BM chip and speaks a custom protocol to program a TI MSP430 chip (using a python program, pybsl, from http://mspgcc.sourceforge.net/tools.html). The device shows up as: ucom0: Moteiv tmote sky, rev 2.00/4.00, addr 2 and I get /dev/ttyU0 and /dev/cuaU0 as expected (I'm running 6.1-PRERELEASE). pybsl initially attempts to connect at 9600 baud. At this speed it would make some progress and then fall over. I found that if I lowered the speed to 2400 baud and inserted a couple sleep calls into the script it could program the device. However, at 9600 baud it never worked. I would love to get this thing fully working. I have no problems programming this exact same device under Linux or Windows, so the device itself does not seem to be the problem--there's clearly something weird going on with the uftdi driver, but I don't know where to start. I'm happy to hack on this, I just need someone to point me in the right direction :) Thanks, Geoff