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

C6 makes the board boot into DFU mode when not powered for a while #9

Open
andershedberg opened this issue Oct 17, 2021 · 1 comment

Comments

@andershedberg
Copy link

Hi, and a big thanks for the design!

I have now build a few (with USB micro connector instead of the USB-C ) and noticed that all boards when not powered for a while, boots into the DFU mode (i.e where it expects code to be downloaded to it) as if the BOOT button is pressed. The same effect happens if the board is removed from USB power, boot button is pressed to empty the C6 charge, releasing the boot button and then connecting the board to USB (power) again.

Removing the C6 100nF capacitor solves the problem and the board boots into the flashed program. as expected.

@eggsampler
Copy link
Owner

No problem at all, I'm glad to hear it!

You make a very good point actually and in hindsight that is definitely a mistake on my part. I normally add a little capacitor with buttons like these to act as a bit of cheap and easy hardware debouncing. My guess is it's something to do with a combination of the capacitor retaining charge and the state of this IO pin on boot.

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

No branches or pull requests

2 participants