Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

CIRCUITPY Drive incorrect on Feather STM32F405 Express
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Fri Aug 14, 2020 6:09 pm

When CircuitPython finishes installing (5.3.1 and 6.0.0 Alpha 2), firmware from https://circuitpython.org/board/feather_stm32f405_express/,
the CIRCUITPY Drive not appear in Windows file browser (and Linux also),
Adafruit Board Drivers installed:
Image

and Windows device manager appear strange device,

Image

I ensure the hardware configure correct, I try to install MicroPython 1.12 with Feather STM32F405 Express firmware, the pyboard Drive works fine on same computer,
and Windows device manager appear this device:

Image

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by tannewt on Sun Aug 16, 2020 11:25 pm

What version of Windows are you using?

tannewt
 
Posts: 1781
Joined: Thu Oct 06, 2016 8:48 pm

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Mon Aug 17, 2020 12:23 am

tannewt wrote:What version of Windows are you using?


I using Windows 8.1 Professional, but CIRCUITPY Drive can't show up in Linux also.
The REPL run correctly.

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Mon Aug 17, 2020 3:09 pm

>>>
Attachments
64355634.jpg
64355634.jpg (12.51 KiB) Viewed 48 times

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by tannewt on Mon Aug 17, 2020 3:55 pm

Sorry, I don't know Windows or STM very well. I believe the windows drivers are only for Windows 7 and may mess up Windows 8.

That wouldn't explain why Linux doesn't work though.

Does the status neopixel blink? What color is it?

tannewt
 
Posts: 1781
Joined: Thu Oct 06, 2016 8:48 pm

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Tue Aug 18, 2020 2:09 am

tannewt wrote:Sorry, I don't know Windows or STM very well. I believe the windows drivers are only for Windows 7 and may mess up Windows 8.

That wouldn't explain why Linux doesn't work though.

Does the status neopixel blink? What color is it?

neopixel blink in Green.
When in REPL via 'screen /dev/ttyACM0 115200' neopixel is white (not blink).

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Tue Aug 18, 2020 1:46 pm

And I try to list files on internal flash, but nothing on it, there should be have some files.

Code: Select all | TOGGLE FULL SIZE
import os
os.listdir('/')

[]

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by tannewt on Tue Aug 18, 2020 2:06 pm

Ah! Sometimes the filesystem can be corrupted. Please try erasing it from the REPL. See here for instructions: https://learn.adafruit.com/welcome-to-c ... 2978456-22

tannewt
 
Posts: 1781
Joined: Thu Oct 06, 2016 8:48 pm

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Tue Aug 18, 2020 4:53 pm

I think it is't filesystem corrupted, I try full chip erase and re-flash the firmware serveral times, this problem arise still.

Code: Select all | TOGGLE FULL SIZE
storage.erase_filesystem()

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Hardware busy, try alternative pins

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by danhalbert on Tue Aug 25, 2020 11:36 am

Windows 8.1 does need drivers, like Windows 7. The driver installer will work on Windows 8.1. There is some kind of bug or change in Windows 8.1 that causes the driver names to be incorrectly set, but the drivers are still present.

danhalbert
 
Posts: 2117
Joined: Tue Aug 08, 2017 12:37 pm

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by hierophect on Tue Aug 25, 2020 11:44 am

I'm unfortunately unable to replicate this issue on Windows 10, and I've asked another maintainer to try it on Linux (debian buster kernel 5.2.17) and they also do not report any issues. It also does not occur on my Mac OSX machine.

The much more concerning message is the
Code: Select all | TOGGLE FULL SIZE
ValueError: Hardware busy, try alternative pins
message you are receiving when you attempt to access the NOR flash. This may indicate that the flash chip is damaged or disconnected somehow, or that the pins on it were somehow re-defined or overwritten in software. Have you ever loaded a program successfully onto this feather before, that might have affected pin options? Otherwise, I would suspect a hardware issue.

hierophect
 
Posts: 11
Joined: Fri Jul 13, 2018 10:24 pm

Re: CIRCUITPY Drive incorrect on Feather STM32F405 Express

by water35 on Sat Aug 29, 2020 4:15 pm

hierophect wrote:The much more concerning message is the
Code: Select all | TOGGLE FULL SIZE
ValueError: Hardware busy, try alternative pins
message you are receiving when you attempt to access the NOR flash. This may indicate that the flash chip is damaged or disconnected somehow, or that the pins on it were somehow re-defined or overwritten in software. Have you ever loaded a program successfully onto this feather before, that might have affected pin options? Otherwise, I would suspect a hardware issue.


Thanks, solved, it's hardware issue.

water35
 
Posts: 22
Joined: Sun Mar 17, 2019 7:12 am

Please be positive and constructive with your questions and comments.