-
Notifications
You must be signed in to change notification settings - Fork 585
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
Fix wrong PinCount evaluation for FT232H #2116
Conversation
FT4232H has 8 pins per channel, both FT2232H and FT232H have 16 pins per channel
@Ellerbach may you have a look at this fix? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the fix!
Is there anything i need to do to get the |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
The pipeline failed with the following error:
I guess thats not a code problem and another run may be necesarry? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There is probably a different issue in the pipeline right now, but I am not sure retrying will suffice. |
Currently it is not possible to open pins 8-15 on a FT232H board using the Ft232HGpio driver, because the pin count checked against is the pin count of the device, which is set to 8 instead of 16.
This is caused because the type of the device is checked, but the assignment of the pin count is actually the wrong way around, e.g. FT4232H is assigned 16 pins per channel (instead of 8) and both FT232H and FT2232H are assigned 8 pins per channel (instead of 16).
Microsoft Reviewers: Open in CodeFlow