Jump to content
AIDA64 Discussion Forum
danhalbert

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

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.

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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...

  • Similar Content

    • By Wampo
      Hey Aida Team,
      i have some issues with this Adafruit LCD wich is recomended. On the two Pictures you can see what aida should do and what can i see on the Display. The First line is completely erased and the screen is flickering. The Adafruit Backpack is set to 20x4 LCD. When the Display is updating you can see the right setting for a millisecond.
      But if i change the LCD Setting in AIDA to 16x2, and leave the Backpack in 20x4 mode,  the Screen isn flickering and the first line is there. I think you got a little problem with the 20x4 Driver. I have Searched for the code but i cant find it, to edit it if i found the failure. 
       
      Please give me response for this BUG. I have extra ordert this overpriced 50€ LCD for it. 
      Greetings Daniel from Germany


      VID_20181129_160917.mp4
×
×
  • Create New...