Random Enumeration Behaviour

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
Markus Gritsch
Posts: 41
Joined: Fri May 16, 2014 9:04 pm

Random Enumeration Behaviour

Post by Markus Gritsch » Thu Jun 12, 2014 6:01 pm

Hi,

when I have the pyboard connected to the PC and have no SD card inserted, every time I press the reset button, the board enumerates fine and the virtual drive shows up in Windows Explorer.

When I do the same with an SD card inserted, I get one of the following three situations after pressing the reset button:
1. The device enumerates and the internal flash is shown as a drive in the Explorer.
2. The device enumerates and the SD card appears as a drive in the Explorer.
3. The device does not enumerate correctly and no drive shows up in the Explorer.

Which of the three results I get seems to be random.

This behaviour does still occure with an updated firmware version (pybv10-2014-06-11-v1.0.1-211-g58cbb4d.dfu).

I get this on two different Windows 7 machines I use, and with two SD cards (both 2 GB, one SanDisk, one no-name).

fma
Posts: 164
Joined: Wed Jan 01, 2014 5:38 pm
Location: France

Re: Random Enumeration Behaviour

Post by fma » Fri Jun 13, 2014 8:11 am

I have the same behaviour under linux (I think I have the same firmware as you). I tried with a 1GB SD, and a 8GB SD.
Frédéric

User avatar
Markus Gritsch
Posts: 41
Joined: Fri May 16, 2014 9:04 pm

Re: Random Enumeration Behaviour

Post by Markus Gritsch » Fri Jun 13, 2014 10:09 am


User avatar
Markus Gritsch
Posts: 41
Joined: Fri May 16, 2014 9:04 pm

Re: Random Enumeration Behaviour

Post by Markus Gritsch » Sun Jun 15, 2014 6:46 pm

This thread discusses probably the same problem: http://forum.micropython.org/viewtopic.php?f=2&t=95

User avatar
Markus Gritsch
Posts: 41
Joined: Fri May 16, 2014 9:04 pm

Re: Random Enumeration Behaviour

Post by Markus Gritsch » Mon Nov 03, 2014 12:26 pm

Markus Gritsch wrote:I filed a bug report: https://github.com/micropython/micropython/issues/687
This issue seems to be fixed in recent Micro Python versions.

Post Reply