Why does the watchdog need to be turned off when the arm is powered on?

Publisher:自由思考Latest update time:2016-04-14 Source: eefocusKeywords:arm  watchdog Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
1. This happened during the uboot initialization process

2.

Watchdog is generally a hardware module. Its function is to automatically restart the system for you in many embedded operating systems where the system runs for a long time without anyone watching over it. Therefore, it is inevitable or feared that the system will freeze.

 

 

So how does it achieve this function? Then we need to briefly explain its implementation principle.

The logic of the watchdog hardware is that it has a record timeout function, and then requires the user to perform certain operations on it at regular intervals (this time can be configured according to your needs), such as writing some fixed values ​​into it, commonly known as "feeding the dog", then I find that the timeout has occurred, that is, you have not fed me after such a long time, then I will think that your system is frozen and there is a problem, and I will help you restart the system. To put it simply, it is like getting a watchdog dog, you have to feed it regularly, if you do not feed it within the timeout, then the dog will think that you, its owner, your system, is frozen, and it will help you reset the system.

3.

After understanding the principle of watchdog, this problem is easy to understand.

If you do not disable the watchdog, you will have to write a separate program to "feed the dog" regularly, which is so troublesome and boring.

After all, we are only using uboot to initialize the necessary hardware and system resources here, and we don't need the watchdog mechanism at all. If you need to use it, it's because your Linux kernel is running, which is your system's concern, and has nothing to do with my uboot, so you must turn off the watchdog (reset function) here.

Keywords:arm  watchdog Reference address:Why does the watchdog need to be turned off when the arm is powered on?

Previous article:Why does arm9 need to change the system clock when it is powered on?
Next article:Compile the linux-3.0.1 kernel with arm-linux-gcc.4.3.2 cross compiler

Recommended ReadingLatest update time:2024-11-15 13:26

ARM-based system components optimize the entire MCU development cycle
To meet application requirements, microcontrollers have been evolving in terms of functionality, various types and densities of on-chip and off-chip memory, and high-level system integration. This article proposes a strategy to address these requirements by developing a modular architecture to optimize all aspects of
[Microcontroller]
ARM-based system components optimize the entire MCU development cycle
How to make Keil MDK v5 support ARM7/9 devices
Recently, a colleague of mine encountered a problem when taking a private job. He could use Keil-5 to open the project given by the client, but there were errors in simulation and downloading. According to the reported error, the problem was found. It turned out that Keil 5 does not support the LPC2368 device. As show
[Microcontroller]
How to make Keil MDK v5 support ARM7/9 devices
ARM architecture and programming series blog - ARM system version
ARM system version introduction Many people know that ARM has many versions, and the most commonly mentioned ones are ARM7\ARM9\ARM11. Admittedly, these are indeed versions of ARM processors, but they are definitely not versions of ARM. In fact, ARM has gone through 6 generations so far. With the changes of the times,
[Microcontroller]
Introduction to ARM program optimization and its application in embedded TCP/IP protocol implementation
    With the development of embedded technology, people have higher and higher requirements for the intelligence and miniaturization of systems. Microprocessors based on ARM structure are widely used in various electronic products with their advantages of high performance, low power consumption and low price, especial
[Microcontroller]
Introduction to ARM program optimization and its application in embedded TCP/IP protocol implementation
Nvidia's $54 billion acquisition of ARM faces EU opposition
Nvidia’s planned $54 billion acquisition of British chip designer Arm is again facing opposition, this time from European Union officials who say concessions offered by the U.S. chipmaker are not enough to mitigate potential damage to rivals.    Just last month, the UK Competition and Markets Authority (CMA) said that
[Semiconductor design/manufacturing]
Program and data storage of ARM processors (von Neumann and Harvard architecture)
The content stored in the memory can be programs or data. Programs are instruction codes that can be run by the ARM processor, and data are operands or variables used by instructions during operation. 1. Program storage       ARM processors support two types of instructions, one is ARM assembly instructions and the o
[Microcontroller]
Design of digital microwave monitoring system based on ARM chip LPC2214 and μC/OS-II
With the popularization and deepening of embedded system development, traditional software development methods are difficult to meet the needs of more complex applications. Embedded operating systems play an increasingly important role in development and have been widely used in mobile phones and mobile computers. Equ
[Microcontroller]
Design of digital microwave monitoring system based on ARM chip LPC2214 and μC/OS-II
ARM Getting Started Notes (10)
USB device experiment I. Background The ATMEL official website provides USB application examples (for details, please refer to the "BasicUSB Application" description), which contains source code (compiled with IAR, and needs to be slightly modified before it can be used on ADS) and two different USB drivers. Two
[Microcontroller]
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号