Jump to content

UF2 bootloader USB "drive" and AIDA64 cause Explorer to freeze


danhalbert
 Share

Recommended Posts

I work for Adafruit Industries LLC. We build microcontroller boards that use the Microsoft "UF2" bootloader for updating firmware on the boards. See https://github.com/Microsoft/uf2 and https://github.com/Microsoft/uf2-samdx1 for details. This bootloader presents as a simulated USB FAT drive, with a few fixed files. Copying a .uf2 file to the drive will update the firmware on the board.

AIDA64 somehow interacts badly with the UF2 drive. Trying to read or write a file to the drive when AIDA64 is running will cause Explorer to freeze up. Some reports:

https://forums.adafruit.com/viewtopic.php?f=60&t=135400

https://forums.adafruit.com/viewtopic.php?f=52&t=140056

https://forums.adafruit.com/viewtopic.php?f=52&t=140028

We can warn our users about this, but it would be nice if AIDA64 did not cause Explorer issues with these drives.

Let me know how we can work together further on this. Thanks.

Link to comment
Share on other sites

6 hours ago, danhalbert said:

I work for Adafruit Industries LLC. We build microcontroller boards that use the Microsoft "UF2" bootloader for updating firmware on the boards. See https://github.com/Microsoft/uf2 and https://github.com/Microsoft/uf2-samdx1 for details. This bootloader presents as a simulated USB FAT drive, with a few fixed files. Copying a .uf2 file to the drive will update the firmware on the board.

AIDA64 somehow interacts badly with the UF2 drive. Trying to read or write a file to the drive when AIDA64 is running will cause Explorer to freeze up. Some reports:

https://forums.adafruit.com/viewtopic.php?f=60&t=135400

https://forums.adafruit.com/viewtopic.php?f=52&t=140056

https://forums.adafruit.com/viewtopic.php?f=52&t=140028

We can warn our users about this, but it would be nice if AIDA64 did not cause Explorer issues with these drives.

Let me know how we can work together further on this. Thanks.

Thank you for contacting us.  Please let me know what Adafruit product can we order to diagnose this issue in our own labs.

Link to comment
Share on other sites

Thanks. Any of our boards designed for CircuitPython with a UF2 bootloader will be fine. Cheapest ones are listed first:

Trinket M0: https://www.adafruit.com/product/3500
Gemma M0: https://www.adafruit.com/product/3501
ItsyBitsy M0: https://www.adafruit.com/product/3727
ItsyBitsy M4: https://www.adafruit.com/product/3800
Feather M0 Express: https://www.adafruit.com/product/3403
Feather M4 Express: https://www.adafruit.com/product/3857
Circuit Playground Express: https://www.adafruit.com/product/3333
Metro M0 Express: https://www.adafruit.com/product/3505
Metro M4 Express: https://www.adafruit.com/product/3382

European distributors: https://www.adafruit.com/distributors

I've opened an issue on the UF2 side to track this as well: https://github.com/Microsoft/uf2-samdx1/issues/56

Link to comment
Share on other sites

On ‎8‎/‎23‎/‎2018 at 3:47 PM, danhalbert said:

Thanks. Any of our boards designed for CircuitPython with a UF2 bootloader will be fine. Cheapest ones are listed first:

Trinket M0: https://www.adafruit.com/product/3500
Gemma M0: https://www.adafruit.com/product/3501
ItsyBitsy M0: https://www.adafruit.com/product/3727
ItsyBitsy M4: https://www.adafruit.com/product/3800
Feather M0 Express: https://www.adafruit.com/product/3403
Feather M4 Express: https://www.adafruit.com/product/3857
Circuit Playground Express: https://www.adafruit.com/product/3333
Metro M0 Express: https://www.adafruit.com/product/3505
Metro M4 Express: https://www.adafruit.com/product/3382

European distributors: https://www.adafruit.com/distributors

I've opened an issue on the UF2 side to track this as well: https://github.com/Microsoft/uf2-samdx1/issues/56

Thank you! We've ordered an ItsyBitsy M0 as well as an ItsyBitsy M4 to help us track down this issue.  I'll let you know once we have the fix ready.

Link to comment
Share on other sites

On ‎8‎/‎23‎/‎2018 at 3:47 PM, danhalbert said:

Thanks. Any of our boards designed for CircuitPython with a UF2 bootloader will be fine. Cheapest ones are listed first:

...

Meanwhile, we've made a change to AIDA64 to exclude Adafruit UF2 bootloader equipped USB devices from the external storage device scan.  It may or may not help though.  We'll only be able to check it out once our device arrives.  If you or one of your customers can test the new build, and report us back whether it makes any difference, it would be appreciated.

https://www.aida64.com/downloads/latesta64xebeta

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...