commit | ca1abd11608eb7d5f6e41e489bc9519f8bdcf4b7 | [log] [tgz] |
---|---|---|
author | Michael Munday <mike.munday@lowrisc.org> | Thu Jan 20 12:47:33 2022 +0000 |
committer | Michael Munday <mike.munday@lowrisc.org> | Fri Jan 21 16:07:46 2022 +0000 |
tree | 2efcea629ea980a93d72428762220d8f8d653d0d | |
parent | 830b071031de6420a822eb1c823549930aff55cf [diff] |
[rom] Setup watchdog timer in assembly before entropy setup This new code enables the watchdog timer right at the start of mask ROM execution (before entropy setup and SRAM scrambling). This means that unless the watchdog timer is 'petted' (i.e. the aon_timer.WDOG_COUNT register is reset to 0 periodically) the device will eventually reset itself. The timeout value is currently the maximum possible (~6 hours assuming a clock of 200KHz). This value should be reduced to something lower, issue #10215 tracks this. This change has been manually tested by setting the timer value to 0 and checking that the device is quickly reset. Signed-off-by: Michael Munday <mike.munday@lowrisc.org>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).