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

Enable BOD33 protection for SAMD21 #198

Merged
merged 2 commits into from
Feb 28, 2023
Merged

Conversation

dhalbert
Copy link

@dhalbert dhalbert commented Feb 14, 2023

  • Enable BOD33 on SAMD21. Set brownout voltage to about 2.85V.
  • Remove 8 second delay before restarting in selfmain.c (update-bootloader). This was confusing on boards without an LED: users might reset the board before the BOOTPROT was set properly. Tested without delay on Windows, macOS, and Linux in case there was some remounting problem.

Original support thread about this: https://forums.adafruit.com/viewtopic.php?t=198035

This was confusing on boards that don't have simple LED's on board. There was an 8-second delay
for no apparent reason. I checked the update without a delay on Linux, macOS 13.1 (on an M1), and
Windows 10, and the hosts did not have a problem remounting the BOOT drive.
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@dhalbert dhalbert marked this pull request as ready for review February 28, 2023 13:04
@dhalbert dhalbert merged commit 979cad0 into adafruit:master Feb 28, 2023
@dhalbert dhalbert deleted the samd21-bod33 branch February 28, 2023 13:04
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