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

vfs: Force boot interface FW using start_if.act #1079

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

imi415
Copy link

@imi415 imi415 commented Aug 15, 2024

The current behavior of the start_if.act is resetting to the bootloader and assuming the bootloader will jump to the interface firmware, without doing anything specific. On certain targets (like Kinetis), the RST signal may be held down by the target due to buggy program being downloaded to the target, causing the probe enters bootloader mode in such condition.

This patch adds another settings entry which will be set by the MSD command, and will temporarily make the bootloader ignoring the state of the RST pin, force starting the interface firmware.

The current behavior of the start_if.act is resetting to the bootloader
and assuming the bootloader will jump to the interface firmware, without
doing anything specific. On certain targets (like Kinetis), the RST
signal may be held down by the target due to buggy program being
downloaded to the target, causing the probe enters bootloader mode in
such condition.

This patch adds another settings entry which will be set by the MSD
command, and will temporarily make the bootloader ignoring the state
of the RST pin, force starting the interface firmware.

Signed-off-by: Yilin Sun <imi415@imi.moe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant