Date: Thu, 21 Feb 2008 20:43:43 -0800 From: Garrett Cooper <yanefbsd@gmail.com> To: Mike Tancsa <mike@sentex.net> Cc: David Duchscher <daved@tamu.edu>, current@freebsd.org Subject: Re: Winbond IO chip driver Message-ID: <77944CFE-0BDB-433A-BA5C-6F776A5531AD@gmail.com> In-Reply-To: <200802220357.m1M3vt1u025891@lava.sentex.ca> References: <FDD42630-E378-48B4-8D3E-2E39DC89B67F@tamu.edu> <200802220357.m1M3vt1u025891@lava.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 21, 2008, at 7:57 PM, Mike Tancsa wrote: > At 10:21 PM 2/21/2008, David Duchscher wrote: >> I have started work on a WinBond chip driver (currently only the >> W83627HF chip) to provide access to the chips watchdog timer and > > Hi, > We have a similar one at > http://www.tancsa.com/watchdog/ > > its for the W83697UF/UG > > Not sure how different your chip is. I used the old ichwd driver as > a template > > ---Mike Looking at the relevant datasheets the pin config is different for all sides of the chip. Thus, you'll have to change the OP codes and methods used in read, writing, and polling operations. Plus the WDT setting procedure may be different... I too haven't written drivers for FreeBSD, but given my [limited] experience with C and PLDs (PICs to be exact), you may want to see whether or not the timing specs aren't being met as shown in the datasheet (assuming you're running into some level of deterministic errors). Using NOPs or verifying via readback for write operations (although inefficient) would most likely work to your advantage. May also want to try hackers@ instead of current@ Cheers, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77944CFE-0BDB-433A-BA5C-6F776A5531AD>