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

prompt for bootloader trigger keys #22

Closed
wants to merge 3 commits into from

Conversation

tlyu
Copy link

@tlyu tlyu commented May 31, 2022

Prompt the user to press the bootloader trigger keys, both in
the serial monitor and by lighting up the right LEDs (assuming
there's already firmware that understands that.)

Based on #21.

tlyu added 3 commits May 29, 2022 20:34
Respond immediately when we get a STOP or repeated START while
still selected. Otherwise, a START condition immediately
preceded by a STOP could be missed.

This probably will result in more clock stretching, but the
ATmega firmware doesn't seem to handle retries, so it probably
implicitly depends on the keyscanner doing clock stretching anyway.

Anyway, the ATmega firmware seems to only issue STOPs when reading,
so it's probably not too important in practice. (I only noticed when
trying to do back-to-back LED commands that ended in STOPs.)

Signed-off-by: Taylor Yu <[email protected]>
Adjust includes so it builds in the Arduino IDE.

Signed-off-by: Taylor Yu <[email protected]>
Prompt the user to press the bootloader trigger keys, both in
the serial monitor and by lighting up the right LEDs (assuming
there's already firmware that understands that.)

Signed-off-by: Taylor Yu <[email protected]>
@obra
Copy link
Member

obra commented May 31, 2022

Cherry picked this commit as 4f88e80

@obra obra closed this May 31, 2022
@tlyu tlyu deleted the flasher-prompt branch July 27, 2022 01:05
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.

2 participants