From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Ann Date: Fri, 13 May 2005 10:46:28 +0900 Subject: [U-Boot-Users] Watchdog timer reset In-Reply-To: <20050512133521.A19DDC1512@atlas.denx.de> References: <9b7ca657050512050554c9e1dd@mail.gmail.com> <20050512133521.A19DDC1512@atlas.denx.de> Message-ID: <9b7ca65705051218464db74e8b@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 5/12/05, Wolfgang Denk wrote: > watchdog_reset() for example? Thanks. I can see what's going on now. I wasnt really interested about how to reset watchdog itself, but rather continuously calling particular function in set interval. Having looked at how WATCHDOG_RESET() is called, I sort of see it now. > No, it does not. As mentioned before, there are no signals or tasks > or similar in U-Boot. Everything is strictly single-tasking. I'm not > sure waht you want, but you can problaby do something like > > for (;;) { > /* do something */ > usleep (10 * CFG_HZ); > } > > in C, but I don't understand what that would give you. Okay, I got you on U-Boot being single tasking process. And like you said, I wouldnt want to do something like above also :P Thanks again for putting me on the right track. Cheers, -- Daniel