Dan Halbert

Results 226 comments of Dan Halbert

Please explain what this is for.

@JetForMe What is the behavior you're trying to get by this? Do you want to enter the bootloader on brownout, or only on multiple brownouts?

> @JetForMe What is the behavior you're trying to get by this? Do you want to enter the bootloader on brownout, or only on multiple brownouts? OK, I looked at...

Take a look at https://github.com/adafruit/uf2-samdx1/pull/111, which waits for 100ms for stable voltage. That was to solve a spurious flash write problem on SAMD51 due to low/erratic voltage.

Thanks, I missed the title reference. I put a "Fixes ..." in the OP so the issue will be linked. I will need to test this on a SAMD51, though...

> [adafruit#111](https://github.com/adafruit/uf2-samdx1/pull/111) may prevent it, but still seems like it's more correct to check for a double-tap of the actual reset button, not just any reset source. I agree, I...

Any low-level library like this will vary by the chip family. Which chip family are you targeting? Is this the library you are using? https://www.arduino.cc/reference/en/libraries/bitbang_i2c/. It supports AVR-style chips, but...

This is was merged from https://github.com/adafruit/uf2-samd21, so we (Adafruit) will look at this. This looks a debugging leftover.

AIDA64 has a beta that is supposed to fix this: https://forums.aida64.com/topic/4296-uf2-bootloader-usb-drive-and-aida64-cause-explorer-to-freeze/?do=findComment&comment=20455

Sure, happy to test. I'll try it on Adafruit boards, and I have an Arduino Zero.