From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 15 15:18:46 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 372D41065688 for ; Mon, 15 Sep 2008 15:18:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 25E458FC20 for ; Mon, 15 Sep 2008 15:18:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8FFIkBp018838 for ; Mon, 15 Sep 2008 15:18:46 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8FFIjRQ018834 for freebsd-embedded@FreeBSD.org; Mon, 15 Sep 2008 15:18:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Sep 2008 15:18:45 GMT Message-Id: <200809151518.m8FFIjRQ018834@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2008 15:18:46 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/15876 embedded [picobsd] PicoBSD message of the day problems 4 problems total. From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 16 17:26:18 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 888111065673 for ; Tue, 16 Sep 2008 17:26:18 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 01AE48FC12 for ; Tue, 16 Sep 2008 17:26:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m8GH6eC9023532 for ; Wed, 17 Sep 2008 03:06:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 17 Sep 2008 03:06:39 +1000 (EST) From: Ian Smith To: freebsd-embedded@freebsd.org Message-ID: <20080917011734.E439@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: snooping an external 400kHz+ i2cbus X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 17:26:18 -0000 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 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" > From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 17 17:20:22 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 CCDDC106566B for ; Wed, 17 Sep 2008 17:20:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2768FC08 for ; Wed, 17 Sep 2008 17:20:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m8HHKJ9t060369; Thu, 18 Sep 2008 03:20:19 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 18 Sep 2008 03:20:18 +1000 (EST) From: Ian Smith To: Karin Willers In-Reply-To: <1221631535.5729.6.camel@ratlos> Message-ID: <20080918012553.P439@sola.nimnet.asn.au> References: <20080917011734.E439@sola.nimnet.asn.au> <1221631535.5729.6.camel@ratlos> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 17:20:22 -0000 On Wed, 17 Sep 2008, Karin Willers wrote: > 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. Thanks Karin, nice site and all. That or perhaps even their Aardvark http://www.totalphase.com/products/aardvark_i2cspi/ might do the job, if there's any chance of their linux software working, or being made to, and then if it works with our usb (gulp?). The xml scripting looks interesting at first glance. Aardvark only snoops up to 125kHz but looks good for master or slave, and may be the only one to work with USB 1.1 ports, ie both my laptops. Grabbed everything in sight, so have days of reading ahead. If the code and hardware is up to the quality of the docs, it looks like a winner at those prices. Lots of other good links from there too. cheers, Ian