Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client based system reset #200

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

secworks
Copy link
Contributor

@secworks secworks commented Apr 3, 2024

This feature adds the ability for the application FPGA to receive an external request to perform an internal HW reset, thereby return to FW mode and reboot. The feature also includes a reset persistent reset status, allowing the FW to determine the reason for the boot - cold boot or externally triggered boot.

The external signal is connected to the CH552 which, with an updated FW, will be able to receive a reset request from the client, and send it to the FPGA.

This fixes issue #199.

@secworks secworks self-assigned this Apr 3, 2024
@secworks secworks linked an issue Apr 3, 2024 that may be closed by this pull request
@secworks secworks changed the title First attempt at supporting host based reset Client based system reset Apr 5, 2024
@secworks secworks added enhancement New feature or request fpga Related to the FPGA design labels Apr 9, 2024
The feature enables the interface_rts signal from the CH552 MCU in
constraints as well as inte FPGA interface. The signal is routed into
the clk_reset_gen block where it is sampled. If the sampled signal is
set, a system reset is triggered

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
Add comments to explain function and clean up heade, footer

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
The tk1 core is now able to handle external and internal reset
request, trigger a system and store reset status that persists
the reset. The reset status is exposed to SW as bits 17..16 in the
FW_APP register. The fw_app status is now bound to bit 0.

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
@mchack-work mchack-work force-pushed the 199-add-support-for-host-based-device-reset branch from 92a419e to bd45d3b Compare April 22, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fpga Related to the FPGA design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for client based device reset
1 participant