Date: Thu, 28 Mar 2024 20:05:01 +0000 (UTC) Message-ID: <1303879269.25.1711656301647@259b65570506> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_24_1526922834.1711656301647" ------=_Part_24_1526922834.1711656301647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This page gives an overview of t= he bare-metal driver support for the System Watchdog Timer= .
The source code for the driver i= s included with the Vitis Unified Software Platform installation, as well a= s being available in the Xilinx Github repository.
Driver Name | Path in vitis | Path in Git Hub |
---|---|---|
wdtps |
<Vitis Install Directory>/data/embedded/XilinxProcessorIPLib/drive= rs/wdtps |
https://gi= thub.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/wdtps= a> |
Note: To view the sources for a particular release, use the rel-version = tag in github. For example, for the 2020.1 release, the proper versio= n of the code is: https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/= drivers/wdtps
The driver source code is organized into different folders. The table be= low shows the wdtps driver source organization.
Directory | Description |
---|---|
src | Driver source files, make and cmakelists file |
examples | Example applications that show how to use the dr= iver features |
doc | Provides the API and data structure details |
data | Driver .= tcl , .mdd and .yaml files |
Note: A= MD Xilinx embeddedsw build flow is changed from 2023.2 release to adapt to = the new system device tree based flow. For further information, refer to th= e wiki page Porting embeddedsw components to system devic= e tree (SDT) based flow - Xilinx Wiki - Confluence (atlassian.net).
The .yaml(in data folder) and CMakeLi= sts.txt(in src folder) files are needed for the System Device Tree based fl= ow. The Driver .tcl and .mdd files are for the older build flow which will = be deprecated in the future.
For a full list of features supp= orted by this IP, please refer Chapter 14: Timers and clocks in <= a class=3D"external-link" href=3D"https://www.xilinx.com/support/documentat= ion/user_guides/ug1085-zynq-ultrascale-trm.pdf" rel=3D"nofollow">Zynqmp Trm=
The Axi watchdog =
timer Standalone driver supports the below things.
All Cont=
roller Features supported.
Examples Path:
h= ttps://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/driver= s/wdtps/examples
Test name | Example source | Description |
---|---|---|
basic test |
xwdtps_selftest_example.c |
This example does a minimal=
test on the System Watchdog Timer device. |
Polled |
xwdtps_polled_example.c |
This example tests the functioning of the System= WatchDog Timer driver in the polled mode |
Interrupt | xwdtps_intr_example.c | This example tests the functioning of the System= WatchDog Timer driver in the Interrupt mode |
WDT Self= Test Example Test Successfully ran WDT SelfTest Example Test
WDT Poll= ed Mode Example Test Successfully ran WDT Polled Mode Example Test
WDT Inte= rrupt Example Test Successfully ran WDT Interrupt Example Test
NA
https://github.c= om/Xilinx/embeddedsw/blob/xlnx_rel_v2023.2/doc/ChangeLog#L615
https://github.= com/Xilinx/embeddedsw/blob/xlnx_rel_v2023.1/doc/ChangeLog#L3586
https://github.com/Xilinx/embeddedsw/blo= b/xlnx_rel_v2021.2/doc/ChangeLog#L251
https://github.com/Xilinx/embeddedsw/blo= b/xlnx_rel_v2021.1/doc/ChangeLog#L363
https://github.com/Xilinx/embeddedsw/blob/= release-2020.2/doc/ChangeLog#L248
https://github.com/Xilinx/embeddedsw/blob/= release-2020.1/doc/ChangeLog#L560
https://github.com/Xilinx/embeddedsw/blob/= release-2019.2/doc/ChangeLog#L101
None
https://github.com/Xilinx/embeddedsw/blob/= release-2018.3/doc/ChangeLog#L430