[OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet)

guilin.wang guilin.wang at gl-inet.com
Fri Apr 10 07:23:44 EDT 2020


Hi , Paul
    Sorry, I misread the mail contact.
 Our watchdog uses two GPIO to control, one is to use pulse to switch the watchdog, one GPIO is used to feed the dog, specifically the external single-chip to feed the dog, now the external single-chip cannot detect the level change of GPIO I now suspect that the wdt-gpio delay is too short, and the microcontroller part has not detected a falling edge change. I tried both toggle and level, but unfortunately both failed, and I will continue to test.
 
------------------ Original ------------------
From:  "guilin.wang"<guilin.wang at gl-inet.com>;
Date:  Fri, Apr 10, 2020 07:22 PM
To:  "Paul Fertser"<fercerpav at gmail.com>; 
Cc:  "Martin Blumenstingl"<martin.blumenstingl at googlemail.com>; "openwrt-devel"<openwrt-devel at lists.openwrt.org>; 
Subject:  Re: [OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet)

 

Hi , MartinOur 
       Watchdog uses two GPIO to control, one is to use pulse to switch the watchdog, one GPIO is used to feed the dog, specifically the external single-chip to feed the dog, now the external single-chip cannot detect the level change of GPIO I now suspect that the wdt-gpio delay is too short, and the microcontroller part has not detected a falling edge change. I tried both toggle and level, but unfortunately both failed, and I will continue to test.

  ------------------ Original ------------------From:  "Paul Fertser"<fercerpav at gmail.com>;Date:  Fri, Apr 10, 2020 07:10 PMTo:  "guilin.wang"<guilin.wang at gl-inet.com>; Cc:  "Martin Blumenstingl"<martin.blumenstingl at googlemail.com>; "openwrt-devel"<openwrt-devel at lists.openwrt.org>; Subject:  Re: [OpenWrt-Devel] [PATCH] om-watchdog: Add support for GL-X1200 (GL.iNet) Hi,

On Fri, Apr 10, 2020 at 06:55:59PM +0800, guilin.wang wrote:
> but found that the dog could not be fed successfully.

Why exactly?

> Our external microcontroller feeds the dog. The cpu just gives the
> microcontroller a trigger signal, but I tested that the
> microcontroller cannot detect the level change using this method

How is it able to detect the level change using another method then,
what exactly makes them different?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200410/aafe9571/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list