Closed pelikhan closed 4 years ago
Thanks -- I had tested this but something's going wrong. I've made 3.8.0 be a pre-release while I investigate. It seems to work fine with SAMD51.
The SAMD21 fuses are getting set to 0xffffffff
, which is enabling a very short WDT (watchdog timer).
To get the board up again, write these values to the fuses (from my .gdbinit).
define fusefix-samd21
# sets BOOTPROT to protect 8kB
set *0x00804000 = 0xD8E0C7FA
set *0x00804004 = 0xFFFFFC5D
end
Also set 0x2000 and 0x2004 to all zeros, to prevent the updater from running again.
Fix doesn't work, checking further. I'll stop rushing.
No worries!
From: Dan Halbert notifications@github.com Sent: Wednesday, April 8, 2020 11:58:55 AM To: adafruit/uf2-samdx1 uf2-samdx1@noreply.github.com Cc: Peli de Halleux jhalleux@microsoft.com; Author author@noreply.github.com Subject: Re: [adafruit/uf2-samdx1] Drive dissapears on v3.8.0 - circuitplayground - m0 (#112)
Fix doesn't work, checking further. I'll stop rushing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fadafruit%2Fuf2-samdx1%2Fissues%2F112%23issuecomment-611133380&data=02%7C01%7Cjhalleux%40microsoft.com%7Cf06b0af4494e45ae766408d7dbeee382%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637219691370372458&sdata=JDpxl6foZMEJwsRu9lcFXzFq2LBpEdQQ%2FImI4IsFw54%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKMBTGFYBN55MFMXVRTRLTCO7ANCNFSM4MEDWEIQ&data=02%7C01%7Cjhalleux%40microsoft.com%7Cf06b0af4494e45ae766408d7dbeee382%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637219691370377439&sdata=YTli5Ppr9iloeHw37HQGNepswBH%2FCp44qRjMQVoz08Y%3D&reserved=0.
I dropped the v3.8.0 bootloader on a CPX M0. The device enters bootloader mode (all leds green) but it fails to show the drive: