Intel MB900-R user manual Watchdog Timer Configuration, Sample Code

Page 24

INSTALLATIONS

Watchdog Timer Configuration

The WDT is used to generate a variety of output signal s after a user programmable count. The WDT is suitable for use in the prevention of system lock-up, such as when software becomes trapped in a deadlock. Under these sorts of circumstances, the timer will count to zero and the selected outputs will be driven. Under normal circumstance, the user will restart the WDT at regular intervals before the timer counts to zero.

SAMPLE CODE:

//===========================================================================

//

//THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY

//KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE

//IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR

//PURPOSE.

//

//=========================================================================== #include <stdio.h>

#include <stdlib.h> #include "W627EHF.H" //=========================================================================== int main (int argc, char *argv[]);

void copyright(void); void EnableWDT(int); void DisableWDT(void);

//=================================== ========================================

int main (int argc, char *argv[])

{

unsigned char bBuf; unsigned char bTime; char **endptr;

copyright();

if (argc != 2)

{

printf(" Parameter incorrect!!\n"); return 1;

}

if (Init_W627EHF() == 0)

{

printf(" Winbond 83627HF is not detected, program abort. \n"); return 1;

}

bTime = strtol (argv[1], endptr, 10);

printf("System will reset after %d seconds \n", bTime);

EnableWDT(bTime);

return 0;

}

//============================================= ==============================

 

 

20

MB900-R User’s Manual

Image 24
Contents USER’S Manual VersionAcknowledgments Table of Contents This page is intentionally left blank Checklist IntroductionMB900-R Specifications CPU FSBBoard Dimensions Installations Installing the CPU ATX Power Installation Installing the MemorySetting the Jumpers Jumper Locations on MB900-R JP4 IDE DMA Mode Setting JP6 Clear Cmos ContentsJP1, JP2, JP3 RS232/422/485 COM2 Selection JP7 CF Socket Master / Slave Selection Connectors on MB900-R Connector Locations on MB900 -R ATX1 24-pin ATX Power Connector ATX2 ATX 12V Power ConnectorCN1 PS/2 Keyboard and PS/2 Mouse Connectors CN2, J2, J7, J8 COM1/2/3/4 Serial PortsCN3 Parallel Port Connector CN4 VGA CRT ConnectorTX+ J1 Digital I/O Connector 4 in, 4 out J5 USB4/USB5 ConnectorJ6 USB6/USB7 Connector J3 Audio Front HeaderJ9 Wake On LAN Connector J10 System Function ConnectorJ11 IrDA Connector FAN1 CPU Fan Power ConnectorFAN2, FAN3, FAN4 Fan Power Connectors IDE1 Primary IDE ConnectorsWatchdog Timer Configuration Sample CodeSetW627EHFLD0x08 UnlockW627EHF OutportbW627EHFINDEXPORT, REG OutportbW627EHFDATAPORT, Data LockW627EHF Switch to logic device Bios Setup Bios Introduction Bios SetupPhoenix AwardBIOS Cmos Setup Utility Standard Cmos Setup DateTime IDE Channel Master/SlaveDrive a / Drive B Video Halt OnAdvanced Bios Features CPU FeatureHard Disk Boot Priority Virus WarningQuick Power On Self Test First/Second/Third Boot DeviceBoot Other Device Boot Up Floppy SeekTypematic Delay Msec Apic ModeSecurity Option MPS Version Control for OSAdvanced Chipset Features Dram RAS# to CAS# DelayDram Timing Selectable CAS Latency TimePrecharge Delay tRAS System Bios CacheableVideo Bios Cacheable On-Chip VGA SettingIntegrated Peripherals OnChip IDE DeviceIDE HDD Block Mode IDE DMA Transfer AccessOn-chip Primary PCI IDE Enabled OnChip Primary/Secondary PCI IDEOn-Chip Serial ATA Setting Power on FunctionKB Power on Password Hot Key Power onUart Mode Select Onboard Serial PortPwron After PWR-Fail Power Management Setup RUN Vgabios if S3 ResumePower Management Acpi FunctionSuspend Mode HDD Power DownPower On by Ring Resume by AlarmReload Global Timer Events PNP/PCI Configurations CPU Warning Temperature Temperatures/VoltagesPC Health Status Frequency/Voltage Control CPU Clock RatioAuto Detect PCI Clk Spread Spectrum ModulatedLoad Fail-Safe Defaults Load Optimized DefaultsSet Supervisor Password Save & Exit SetupDrivers Installation Intel 945G Chipset Software Installation Utility Drivers Installation Intel 945G Chipset Graphics Driver Realtek Codec Audio Driver Installation Marvell 88E8052 LAN Drivers Installation Intel PRO LAN Drivers Installation This page is intentionally left blank Appendix O Port Address MapInterrupt Request Lines IRQ Level Function

MB900-R specifications

The Intel MB900-R is an advanced embedded microcontroller designed for a variety of applications that require high performance, low power consumption, and robust connectivity options. Specifically built to cater to the needs of industrial automation, motor control, and IoT devices, the MB900-R series boasts a range of features that enhance its versatility and usability.

One of the standout characteristics of the MB900-R is its powerful multi-core architecture. It often integrates several cores, enabling it to handle simultaneous tasks efficiently. This feature is particularly beneficial in applications that require real-time processing and quick responsiveness.

The device is built on Intel's modern manufacturing processes, which ensure exceptional energy efficiency. This makes the MB900-R suitable for battery-operated devices and applications where power conservation is critical. Its low thermal output contributes to reliability, even under heavy loads, which is essential for long-term deployment in industrial environments.

In terms of connectivity, the MB900-R offers a variety of interfaces, including SPI, I2C, UART, and Ethernet. Such capabilities facilitate seamless integration with numerous sensors and other peripherals, making it highly adaptable to different use cases. Furthermore, the microcontroller supports various wireless communication protocols, such as Bluetooth and Wi-Fi, enabling developers to create connected applications for the Internet of Things.

Moreover, the MB900-R series includes advanced security features, which are increasingly important in today’s connected landscape. With built-in encryption and secure boot processes, the device ensures data integrity and protection against unauthorized access, catering to sectors where data security is paramount.

The robust toolchain and software compatibility provided by Intel makes it easier for developers to create, debug, and deploy applications quickly. With support for multiple programming languages and development environments, the MB900-R allows for flexibility in coding, ensuring that developers can utilize the best tools for their specific needs.

Overall, the Intel MB900-R microcontroller exemplifies cutting-edge design and technology in embedded systems, making it an ideal choice for a wide range of high-performance, low-power applications across industries, including automotive, industrial, and consumer electronics. Its efficient architecture, extensive connectivity options, security features, and developer-friendly ecosystem position it as a vital component in the smart devices of tomorrow.