參數(shù)資料
型號: TriCore
廠商: SIEMENS AG
英文描述: 32-bit microcontrollers(32位微控制器)
中文描述: 32位微控制器(32位微控制器)
文件頁數(shù): 12/17頁
文件大?。?/td> 117K
代理商: TRICORE
How to use the
Watchdog Timer of the TriCore
12 of 17
AP3219 Rel.02
WDTPW:=14h
WDTPW:=12h
WDT Service 4
WDTPW:=13h
WDTPW:=12h
WDTPW:=13h
WDTPW:=14h
WDT Service 3
WDT Service 2
Subroutines
Subroutines
WDTPW:=00h
WDTPW:=12h
WDT Service 1
Subroutines
Init
WDT-4
Reset
6
To increase the security of the WDT functionality, there are different possibilities how to
handle these Watchdog services, described in the following sections. In the associated
figures, only the update of the password field WDTPW in register WDTCON0 is shown.
Extended Security Thoughts
6.1
One option is to place several service sequences inside the main code. In order to monitor
the program flow, one changes the WDT password within each of the service sequences,
as shown in Figure 2. Since at the beginning of each sequence, first the
old password
has
to be written to WDTCON0, a link to the previous service is performed. If due to an error,
one or more of the service sequences are skipped, WDTCON0 will not contain the
expected value at the beginning of the next service sequence: An Watchdog Timer Access
Error will occur and the bit WDTAE is set. This will also happen if a service sequence is
executed twice due to an erroneous loop. Of course, with this scheme, the service
sequences must be placed at points in the code, which are
always
executed during the
main loop. If you want to use this feature in your application you have to use the procedure
WDT_Pass_Secure(Oldpassword)
further below.
Multiple Service Sequences
Figure 2
Sequence of Watchdog Timer Services
相關(guān)PDF資料
PDF描述
TRR-8A33 Connectorized High-speed GaAs PIN
TRS1722 KIT INSULATED TERMINAL
TRS1755 33+3/4X66FT PLSTC TAPE
TRS1766 HIGH SENSITIVITY REFLECTIVE COLOR SENSOR WITH LIGHTTOVOLTAGE CONVERTERS
TRU-600 TRU-600
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TRIDENT SAMPLE CASE 制造商:ITT Interconnect Solutions 功能描述:TRIDENT SAMPLE CASE / 192993-3000 / Trident
TRIG26362-I 制造商:Pass & Seymour/Legrand 功能描述:IG TR DECOR RECEPT 20A 125V IV
TRIG5362-REDSP 制造商:Pass & Seymour/Legrand 功能描述:IG SPD RECP TR 20A/125V ALARM RED
TRIG8300-RED 制造商:Pass & Seymour/Legrand 功能描述:HG IG TR DUP RECEPT 20A 125V RED
TRIG8300-W 制造商:Pass & Seymour/Legrand 功能描述:HG IG TR DUP RECEPT 20A 125V WH