Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB C to I2C converter not being recognized in command prompt #909

Open
Duh-Inc opened this issue Nov 9, 2024 · 1 comment
Open

USB C to I2C converter not being recognized in command prompt #909

Duh-Inc opened this issue Nov 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Duh-Inc
Copy link

Duh-Inc commented Nov 9, 2024

Board Name

ft232h and win 11 pc

Steps

in this tuto I got all the way to the step where i install blinka. i had no errors. the tuto told me that i could permanently change a setting, so i decided to open up the system 32 cmd to run that specific command (i have no idea if that even would work tho) and closed out of it. i didnt read ahead, but when i did, irealized i shouldn't have done that. No matter, i just re-opened normal cmd, ran the command again to make sure it would be working, and ran import board. then i got this error:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users*\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\board.py", line 21, in
from adafruit_blinka.agnostic import board_id, detector
File "C:\Users*
\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\adafruit_blinka\agnostic_init_.py", line 21, in
chip_id = detector.chip.id
^^^^^^^^^^^^^^^^
File "C:\Users*****\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\adafruit_platformdetect\chip.py", line 95, in id
raise RuntimeError(
RuntimeError: BLINKA_MCP2221 environment variable set, but no MCP2221 device found

I then forcefullry re-installed blinka, but it didnt do anything.

i have the board plugged in with a usb a - c cable from my pc. what could i be doing wrong?

Description

No response

Additional information

I dont know if i did this correctly, im not very good with this sort of stuff (both cmd and explaining)

@Duh-Inc Duh-Inc added the bug Something isn't working label Nov 9, 2024
@FoamyGuy
Copy link
Contributor

FoamyGuy commented Nov 9, 2024

It looks like Blinka is not seeing the FT322H device, the tutorial you followed is for the MCP2221 which is a different albeit similarly capable device.

Try following this guide: https://learn.adafruit.com/circuitpython-on-any-computer-with-ft232h/windows it looks like the F2232H requires some extra setup steps for use with windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants