Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

The way to open the watch dog on SAM9X5

Status
Not open for further replies.

MYIR

Banned
Joined
Jul 21, 2016
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
0
Some of the program section takes too much time when you start from u-boot or system. the system will be resetted if you haven't feed the dog, like MYD-SAM9X5. So, the internal watch dog won't be opened on SAM9X5 by default, if you want to get it opened, please refer to the follow steps.

1. Amend bootstrap
Amend file: AT91Bootstrap-5series_1.2/board/at91sam9x5ek/at91sam9x5ek.c
comment out
1

writel(AT91C_WDTC_WDDIS, AT91C_BASE_WDTC + WDTC_WDMR);

in hw_init function

2.Amend the core
Configuration of Linux core
1
2 Device Drivers --->
3
4 Watchdog Timer Support --->
<*> Software watchdog
<*> AT91SAM9X / AT91CAP9 watchdo

There will be a hybrid :/dev/watchdog on the systen if you have completed it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top