From: Wolfgang Denk Date: Thu, 17 Jul 2003 09:38:59 +0200 Subject: [U-Boot-Users] Re: probably bug in ds1621.c In-Reply-To: Your message of "Wed, 16 Jul 2003 22:18:20 EDT." Message-ID: <20030717073904.89296C6D82@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Erik, in message you wrote: > > I've been quite busy lately with several new hardware designs. Guess where I heard this before ;-) > Now to the issues: > > #1 - Yes it is a bug Thanks for the confirmation. > #2 - I believe the dlen of 0 is correct as it stands. The DS1621 has a > special start > and stop conversion "command". This has a data length of 0. This was what I thought from reading the code and the comments. > If someone is trying these routines on non 405 hardware, the code may > require > some adjustment due to minor differences in the low level I2C routines. Andrey - which hardware are you using? I understand that this code as is did not work for you, and your modification made it work? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Horses just naturally have mohawk haircuts.