- Intel® NUC Watchdog Timer Utility
- Available Downloads
- Intel WatchDog Timer Utility_2.0.21.0.zip
- Intel WatchDog Timer.msi
- Detailed Description
- Download Documentation
- This download is valid for the product(s) listed below.
- Intel Software License Agreement
- Watch Dog Timer — друг оверклокера 🙂
- Аппаратный «watchdog» или незаменимый помощник в борьбе с зависанием
Intel® NUC Watchdog Timer Utility
Available Downloads
Intel WatchDog Timer Utility_2.0.21.0.zip
Windows 10*
Windows 10 IoT Enterprise*
Language: Multi language
Intel WatchDog Timer.msi
Windows 10, 64-bit*
Language: Multi language
Detailed Description
Purpose
The Intel® Watchdog Timer Utility allows an Intel® NUC Mini PC, Kit, or board to leverage the platform’s hardware watchdog timer to monitor if an application is still running. If the monitored application stops responding, the Intel® Watchdog Timer Utility can help resolve this problem by automatically restarting a failed instance of an application, logging the activity for troubleshooting.
Installation Instructions
Install the Intel® Watchdog Timer driver
Download the Intel WatchDog Timer.msi
For installation instructions refer to the User Guide (section 3.2 Driver installation))
Install the Intel® Watchdog Timer Utility application
Before manually installing the application on Windows® 10 20H1 or 20H2, connect to the internet and enable Windows Developer Mode. Instructions can be found here.
Second extract the ZIP, then right-click on the appxbundle and select Install.
If you need to use a DISM install method, please refer to instructions found here to learn how to DISM install the appxbundle using an administrator PowerShell.
How to use this utility
See the Intel® Watchdog Timer Utility User Guide.
Supported operating systems:
Windows® 10 Pro
Windows® 10 Enterprise
Windows® 10 IOT Enterprise
Download Documentation
This download is valid for the product(s) listed below.
Intel Software License Agreement
The terms of the software license agreement included with any software you download will control your use of the software.
INTEL SOFTWARE LICENSE AGREEMENT
IMPORTANT — READ BEFORE COPYING, INSTALLING OR USING.
Do not use or load this software and any associated materials (collectively,
the «Software») until you have carefully read the following terms and
conditions. By loading or using the Software, you agree to the terms of this
Agreement. If you do not wish to so agree, do not install or use the Software.
LICENSES: Please Note:
— If you are a network administrator, the «Site License» below shall
— If you are an end user, the «Single User License» shall apply to you.
— If you are an original equipment manufacturer (OEM), the «OEM License»
shall apply to you.
SITE LICENSE. You may copy the Software onto your organization’s computers
for your organization’s use, and you may make a reasonable number of
back-up copies of the Software, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
SINGLE USER LICENSE. You may copy the Software onto a single computer for
your personal, noncommercial use, and you may make one back-up copy of the
Software, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may not sublicense or permit simultaneous use of the Software by
more than one user.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
OEM LICENSE: You may reproduce and distribute the Software only as an
integral part of or incorporated in Your product or as a standalone
Software maintenance update for existing end users of Your products,
excluding any other standalone products, subject to these conditions:
1. This Software is licensed for use only in conjunction with Intel
component products. Use of the Software in conjunction with non-Intel
component products is not licensed hereunder.
2. You may not copy, modify, rent, sell, distribute or transfer any part
of the Software except as provided in this Agreement, and you agree to
prevent unauthorized copying of the Software.
3. You may not reverse engineer, decompile, or disassemble the Software.
4. You may only distribute the Software to your customers pursuant to a
written license agreement. Such license agreement may be a «break-the-
seal» license agreement. At a minimum such license shall safeguard
Intel’s ownership rights to the Software.
5. The Software may include portions offered on terms in addition to those
set out here, as set out in a license accompanying those portions.
NO OTHER RIGHTS. No rights or licenses are granted by Intel to You, expressly
or by implication, with respect to any proprietary information or patent,
copyright, mask work, trademark, trade secret, or other intellectual property
right owned or controlled by Intel, except as expressly provided in this
OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
remains with Intel or its suppliers. The Software is copyrighted and
protected by the laws of the United States and other countries, and
international treaty provisions. You may not remove any copyright notices
from the Software. Intel may make changes to the Software, or to items
referenced therein, at any time without notice, but is not obligated to
support or update the Software. Except as otherwise expressly provided, Intel
grants no express or implied right under Intel patents, copyrights,
trademarks, or other intellectual property rights. You may transfer the
Software only if the recipient agrees to be fully bound by these terms and if
you retain no copies of the Software.
LIMITED MEDIA WARRANTY. If the Software has been delivered by Intel on
physical media, Intel warrants the media to be free from material physical
defects for a period of ninety days after delivery by Intel. If such a defect
is found, return the media to Intel for replacement or alternate delivery of
the Software as Intel may select.
EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
PROVIDED «AS IS» WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND
INCLUDING WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A
PARTICULAR PURPOSE. Intel does not warrant or assume responsibility for the
accuracy or completeness of any information, text, graphics, links or other
items contained within the Software.
LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE
FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS,
BUSINESS INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR
INABILITY TO USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR
LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL
DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.
TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
if you violate its terms. Upon termination, you will immediately destroy the
Software or return all copies of the Software to Intel.
APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
laws of California, excluding its principles of conflict of laws and the
United Nations Convention on Contracts for the Sale of Goods. You may not
export the Software in violation of applicable export laws and regulations.
Intel is not obligated under any other agreements unless they are in writing
and signed by an authorized representative of Intel.
GOVERNMENT RESTRICTED RIGHTS. The Software is provided with «RESTRICTED
RIGHTS.» Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or its
successor. Use of the Software by the Government constitutes acknowledgment
of Intel’s proprietary rights therein. Contractor or Manufacturer is Intel
2200 Mission College Blvd., Santa Clara, CA 95052.
Your file download has started. If your download did not start, please click here to initiate again.
Watch Dog Timer — друг оверклокера 🙂
Сторожевой таймер — друг оверклокера.
Сторожевой таймер — друг оверклокера.
Эта статья должна заинтересовать прежде всего тех, кто надолго оставляет без присмотра компьютер, выполняющий какую-то ответственную работу: будь то обслуживание сети, перекодирование видео, ночное тестирование железа в автоматическом режиме и т.п.
В ходе обсуждения одной из моих предыдущих статей было высказано мнение, что производители часто не афишируют всех возможностей выпускаемого ими железа. Почему — не совсем понятно. В этой статье речь пойдет как раз об одной такой завуалированной фишке. Владельцы многих материнских плат не только не знают, но даже и не догадываются о ее существовании. Имя этой фишке Watch Dog Timer ( WDT). Он присутствует практически во всех современных микросхемах Super I/O (и не только).
- N.B. Последнее время слово WatchDog стало довольно популярно. Под WD обычно понимают класс устройств или программм, в обязанности которым вменяется слежение за значениями какого-либо параметра (или сразу нескольких). При выходе значений параметра за допустимые пределы, устройство/программма должна произвести какие-либо действия: включение/отключение каких-либо дополнительных устройств, звуковой/световой/прочей сигнализации.
В этой статье я хотел бы рассмотреть более узкий класс устройств: WatchDog Timer. В переводе на русский: «сторожевой таймер». Это довольно примитивное аппаратное устройство, состоящее как минимум из:
- N.B. Необходимо сразу сделать важное замечание: WDT функционирует независимо от центрального процессора. Поэтому WDT продолжает работать даже при зависании CPU !
Алгоритм работы:
- В счетчик программым образом может быть записано некоторое число.
- Сразу же содержимое счетчика начинает уменьшаться.
- В момент, когда оно станет равным нулю, управляющее устройство производит некоторые действия, например, ресетит компьютер.
Таким образом, чтобы предотвратить перезагрузку, программа должна переодически обновлять содержимое счетчика. Если она этого не сможет сделать (например, если компьютер завис), то по истечении некоторого времени, когда содержимое счетчика достигнет нуля, WDT перезагрузит систему.
Конкретные реализация WDT может немного отличаться от описанной выше.
Например, сам счетчик может быть недоступен программе для непосредственного изменения. Вместо этого она заносит значение в дополнительный регистр, содержимое которого устройство управления сразу же переносит в счетчик, и счетчик начинает обратный отсчет.
В случае использования доп. регистра возможно использование счетчика, ведущего прямой отсчет. В этом случае его содержимое постоянно сравнивается устройством управления с содержимым доп.регистра. Если значения совпадают, то УУ производит соответствующие действия (ресет).
У устройства управления может быть гораздо больше функций, чем просто перезагрузка системы по достижению счетчиком нуля. Оно может, например, сигнализировать об истечении заданного интервала времени генерированием прерывания (SMI) или изменением состояния битов определенных регистров.
В общем, конкретная реализация WDT зависит от фантазии разработчика и задач, которые предполагается решать.
Настало время перейти к практике.
Рассмотрим работу WDT, являющегося неотъемлемой частью микросхемы IT8712F (Super I/O от фирмы ITE). Эта микросхема встречается на огромном количестве материнских плат таких фирм, как Gigabyte, EliteGroup и др. В то же время она отсутствует практически на всех материнских платах фирмы EPoX.
- N.B. Напомню, что уточнить, какая микросхема установлена на той или иной материнской плате, можно на официальном сайте MBM.
- Имитация нажатия кнопок POWER и RESET;
- Управление питанием USB-устройством (при условии, что у него нет отдельного источника);
- Управление гальванически развязанной контактной группой (реле). Можно поставить в разрез цепи питания;
- Индикаторные светодиоды (одним можно управлять, второй показывает режимы работы).
Узнать, какая микросхема стоит в вашей материнской плате, можно еще проще. Запустите SpeedFan (он умеет определять этот чип) и в окне отчета увидите нечто похожее:
В данном случае строение WDT несколько отличается от рассмотренного выше в сторону расширения возможностей за счет некоторого усложнения. Его основные составные части:
цитата:
What is a watchdog timer?
A «watchdog» is a piece of hardware that counts down a timer.
If the timer reaches zero, it hard-resets the computer (like pushing
the reset button). So the software must reset this timer too avoid
rebooting.
The good thing is: If the computer hangs, the software
can’t reset the timer and it (should) reboot automatically.
Аппаратный «watchdog» или незаменимый помощник в борьбе с зависанием
В одной компании было много терминалов, и одна из неблагодарных задач для техподдержки — ездить по точкам и перезапускать операционную систему внутри терминалов. Было решено бросить вызов этой проблеме в виде разработки аппаратного сторожевого таймера.
В итоге мы получили устройство, которое подключается к расширительному спаренному USB-разъему на материнской плате.
Данное устройство имеет следующие возможности:
Алгоритм работы прост: внутри находятся два настраиваемых таймера, которые постоянно отсчитывают заданное время, по истечению которого имитируется нажатие соответствующих кнопок (POWER и RESET). Чтобы предотвратить случайную перезагрузку, необходимо периодически послать команду сброса таймера.
Лучше, чтобы за процедуру сброса таймеров отвечало целевое приложение, а не стороннее или системное (Cron, служба расписаний) по причине того, что вероятность сбоя в системе меньше, чем в приложении (хотя, у кого как).
Обмен информацией аналогичен консольному.
команда | Описание | Пример |
---|---|---|
help | Краткая справка по командам | help |
LED1 | Управление светодиодом, по умолчанию выключен | LED1 ON LED1 OFF |
RELAY | Управление реле, по умолчанию включено | RELAY ON RELAY OFF |
KEY1 | Имитация нажатия кнопки 1, по умолчанию не нажата | KEY1 ON KEY1 OFF |
KEY2 | Имитация нажатия кнопки 2, по умолчанию не нажата | KEY2 ON KEY2 OFF |
C1 | Управление таймером 1, связанным с кнопкой 1. Установка времени в секундах, максимальное значение 32767. Для отключения функции таймера, необходимо задать время равное 0. | C1 RES C1 SET 60 C1 SET 0 |
C2 | Управление таймером 2, связанным с кнопкой 2. Установка времени в секундах, максимальное значение 32767. Для отключения функции таймера, необходимо задать время равное 0. | C2 RES C2 SET 60 C2 SET 0 |
USB | Управление питанием USB, по умолчанию включено | USB ON USB OFF |
В случае удачного выполнения команды возвращает «OK».
В случае некорректных данных возвращает «ERROR».
Признаком конца строки служит символ возврата каретки «\r». Также поддерживается режим «\r\n».
Устройство выполнено на базе контроллера STM32F103CA с аппаратной поддержкой USB. Библиотека работы с USB версии V4.0.0. Напряжение работы 3.3В получаем с помощью линейного стабилизатора из 5В на USB. Во всех управляющих цепях используются транзисторы в ключевом режиме. Также не забываем про защитный диод от токов самоиндукции в катушки реле (в моем случае он оказался встроенным).