View Issue Details

IDProjectCategoryView StatusLast Update
0002788FSiMX6NI2Cpublic2015-11-02 11:38
Reporterfroelich Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionV1.60 
Target VersionV1.70Fixed in VersionV1.70 
Summary0002788: Function I2CBusCheck and ClkToggleNumber not working
DescriptionBoth function uses wrong index in array m_NI2CDevArray[].
Additional Informationstatic BOOL ToggleClock(PNI2CDeviceBuffer pDev, DWORD* pdwRes, DWORD dwLowTime)
{
    TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex]; // NOK
    TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex-1]; // OK


static BOOL CheckI2CLines(PNI2CDeviceBuffer pDev)
{
    DWORD dwRes;
    DWORD dwSDAState;
    WORD wCounter;
    BOOL bRetVal = TRUE;
    TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex]; // NOK
    TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex-1]; // OK


Forum Link
Found Driver Version0.1
Fixed Driver Version0.2

Activities

There are no notes attached to this issue.