MCP2210 DLL (v2.0) - Exception in Mcp2210_GetConnectedDevCount() function

Why does the simple presence of another USB device on the PC make the Mcp2210_GetConnectedDevCount() function from the MCP2210 dll v2.0 crash? DLLs used: mcp2210_dll_m_dotnetv4_x86.dll / mcp2210_dll_m_dotnetv4_x64.dll.

This problem is caused by the hardware ID string of the other USB device (HID\\VID_046D&PID_C52B&REV_1201&MI_02&Qid_4003&WI_02&Class_0000001A&Col01), which has a length greater than 68 characters. Other functions affected: Mcp2210_OpenByIndex(), Mcp2210_OpenBySN().

The same issue is present in MCP2221 DLL v2.0. We recommend downloading the updated DLL from the MCP2210 / MCP2221 product page.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.