[U-Boot] xyz-modem: Change getc timeout loop waiting
Alexander Sverdlin
alexander.sverdlin at gmail.com
Thu Aug 2 14:47:19 UTC 2018
Hello Tomas,
On Wed, 1 Aug 2018 09:16:38 +0300
Tomas Melin <tomas.melin at vaisala.com> wrote:
> >> Is the timeout a watchdog timeout or some communication freeze?
> > I suppose, it reports false-positive timeout back to ymodem code.
> > Because all it does is terminating communication gracefully (with 'C'
> > and a bunch of CANs).
> If you are using omap_wdt then check the configured value of the timeout
> (WDT_HW_TIMEOUT).
> Time the y-modem loading, and if the reset happens just after that
> configured value, it would indicate that the watchdog is not kicked, for
> one reason or another.
Yes, I'm using omap_wdt with default 60 seconds timeout, but as I mentioned
already, it's not WDT kicking in, but your patch breaking YMODEM protocol
reporting false timeout back to YMODEM code.
--
Alexander Sverdlin.
More information about the U-Boot
mailing list