From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 17 06:30:57 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D910E106566B for ; Wed, 17 Sep 2008 06:30:56 +0000 (UTC) (envelope-from karin@visti.de) Received: from server342-han.de-nserver.de (server342-han.de-nserver.de [85.158.176.233]) by mx1.freebsd.org (Postfix) with ESMTP id E61C88FC2C for ; Wed, 17 Sep 2008 06:30:55 +0000 (UTC) (envelope-from karin@visti.de) Received: (qmail 27783 invoked from network); 17 Sep 2008 08:04:13 +0200 Received: from p5798BE9E.dip.t-dialin.net (HELO [192.168.0.1]) (87.152.190.158) (smtp-auth username karin@visti.de, mechanism plain) by server342-han.de-nserver.de (qpsmtpd/0.43rc1) with ESMTPA; Wed, 17 Sep 2008 08:04:13 +0200 From: Karin Willers To: Ian Smith In-Reply-To: <20080917011734.E439@sola.nimnet.asn.au> References: <20080917011734.E439@sola.nimnet.asn.au> Content-Type: text/plain Date: Wed, 17 Sep 2008 08:05:35 +0200 Message-Id: <1221631535.5729.6.camel@ratlos> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-User-Auth: Auth by karin@visti.de through 87.152.190.158 Cc: freebsd-embedded@freebsd.org Subject: Re: snooping an external 400kHz+ i2cbus X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karin@visti.de List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 06:30:57 -0000 Ian, you can have a look at the Beagle I2C/SPI/MDIO Protocol Analyzer at http://www.totalphase.com/products/beagle_usb12/ Although I never used that thingie myself, I would consider buying it when the need arises. Greetings, Karin ----- On Wed, 2008-09-17 at 03:06 +1000, Ian Smith wrote: > Hi, > > Maybe off topic here, being about using i386 laptop/s to both monitor > and configure custom embedded devices that are programmed in assembler, > but if anyone can help with this, I figure they're most likely here .. > > An engineer friend and I have designed a little system that has one AVR > Tiny processor on either side of an electrically-isolated board, > communicating over an optically-isolated i2c-(hardware)compatible bus. > > The bulk of the traffic is small packets of feedback data about once per > ms. Eventually using some multiplexing of i2c addressing to encode some > commands for compressed packets, but that's later; happy to run regular > I2C protocol during development and tuning. > > What we need is a device that can a) snoop and log bus traffic, from one > or the other side of the board, b) run in master mode for configuring > and dumping the AVRs while debugging and c) run in slave mode for > periodic data acquisition and monitoring, at 400Khz bursts at least. > > I dived into looking at iicbus system and drivers a couple of years ago, > thinking there must be a way to use lpbb at 400kHz, but the only master > and slave implementation found was then pcf for isabus at only 100kHz. I > know nowhere near enough about FreeBSD drivers (or even C) to write one, > though I may be able to hack on some existing code, with guidance. > > Are there perhaps now any pccard/cardbus or maybe USB adaptors that can > talk 400kHz or better I2C, that could conceivably be used for this job? > And more to the point, has anyone got it/them to work with FreeBSD? > > I'd be thankful for any pointers, or crumbs .. > > cheers, Ian > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" >