This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV10983: DRV109xx EVM GUI does not receive response packets

Part Number: DRV10983
Other Parts Discussed in Thread: USB2ANY,

I am getting "Notifier Timed Out
Device GUI.lvlib:GUI Wait for GUI Response via Notifier.vi:5770006:\DRV10983.lvlib:Export " message and not able to program the motor controller. 

The forums did not have a fix. I confirmed 24V, tried different plug-in sequences, launched as admin, tried 2 PCs, tried 2 USB2ANY programmers, confirmed I2C cabling.

The GUI will not accept a device change from the DRV10983 to any of the others in the dropdown when launching the GUI. This may be a useful clue. I have Labview 2014 SP1 run time installed, but cannot tell which runtime is being called by the GUI. 

Attached is a snip from the API debug log showing the resulting errors.:

2023-01-10 10:53:45.898 DebugLogging is Enabled
2023-01-10 10:53:45.898 PacketLogging is Disabled
2023-01-10 10:53:45.898 Profiling is Disabled
2023-01-10 10:53:45.898
2023-01-10 10:53:45.898 ################################ SESSION START ################################
2023-01-10 10:53:45.898 Loading C:\Program Files (x86)\Texas Instruments\DRV109xx EVM\USB2ANY.dll (v2.7.0.0)
2023-01-10 10:53:45.898 Loaded by C:\Program Files (x86)\Texas Instruments\DRV109xx EVM\DRV109xx EVM.exe)
2023-01-10 10:53:45.899 SDK path is 'C:\Program Files (x86)\TI USB2ANY SDK'
2023-01-10 10:53:48.267
2023-01-10 10:53:48.313 Found controller S/N 4E7E6A5127002800 [932, TI_USB2ANY.cpp]
2023-01-10 10:53:48.313 Returning value 1 [941, TI_USB2ANY.cpp]
2023-01-10 10:53:48.313 Returning value 1 [952, TI_USB2ANY.cpp]
2023-01-10 10:53:48.313
2023-01-10 10:53:48.313 u2aGetSerialNumber(index=0, szSerialNumber=0x0EE1ACE4) [1054, TI_USB2ANY.cpp]
2023-01-10 10:53:48.314 Returning serial number 4E7E6A5127002800 [1070, TI_USB2ANY.cpp]
2023-01-10 10:53:48.314 Return code set to 0 [1071, TI_USB2ANY.cpp]
2023-01-10 10:53:48.314 Returning value 0 [1074, TI_USB2ANY.cpp]
2023-01-10 10:53:48.314
2023-01-10 10:53:48.314 u2aOpen(szSerialNumber='4E7E6A5127002800') [1123, TI_USB2ANY.cpp]
2023-01-10 10:53:48.314 Splash screen is disabled [225, TI_USB2ANY.cpp]
2023-01-10 10:53:48.317 HIDReceiverThreadProc thread starting... [463, U2A_ApiClass.cpp]
2023-01-10 10:53:48.317 CallbackThreadProc thread starting... [309, U2A_ApiClass.cpp]
2023-01-10 10:53:48.343 Return code set to 5 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.343 Return code set to 4 [454, TI_USB2ANY.cpp]
2023-01-10 10:53:48.343 Firmware Version is 2.7.0.0 [1203, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356 Return code set to 2 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356 Return code set to 1 [691, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356 Returning value 1 [698, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356 Controller type is USB2ANY [1224, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356 Return code set to 12304 [1285, TI_USB2ANY.cpp]
2023-01-10 10:53:48.356
2023-01-10 10:53:48.357 u2aLED_SetState(handle=0x00003010, LEDState=2, BlinkCode=0) [3334, TI_USB2ANY.cpp]
2023-01-10 10:53:48.359 Return code set to 0 [3345, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Return code set to 3 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Return code set to 0 [3347, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Returning value 0 [3348, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Returning value 12304 [1298, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370
2023-01-10 10:53:48.370 u2aOpen(szSerialNumber='4E7E6A5127002800') [1123, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Error: variable 'retHandle' set to -8 (Communications port is open) [1154, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370 Exiting function u2aOpen with code 12304 (Success) [1155, TI_USB2ANY.cpp]
2023-01-10 10:53:48.370
2023-01-10 10:53:48.371 u2aFirmwareVersion_Read(handle=0x00003010, szVersion=0x0CA82AAC, bufsize=5) [3493, TI_USB2ANY.cpp]
2023-01-10 10:53:48.384 Return code set to 5 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.384 Return code set to 4 [454, TI_USB2ANY.cpp]
2023-01-10 10:53:48.384 Return code set to 4 [3496, TI_USB2ANY.cpp]
2023-01-10 10:53:48.384 Returning value 4 [3497, TI_USB2ANY.cpp]
2023-01-10 10:53:48.384
2023-01-10 10:53:48.384 u2aPower_Enable(handle=0x00003010, Enable3V3=1, Enable5v0=1, EnableAdj=0) [3256, TI_USB2ANY.cpp]
2023-01-10 10:53:48.386 Return code set to 0 [3267, TI_USB2ANY.cpp]
2023-01-10 10:53:48.397 Return code set to 5 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.397 Return code set to 0 [3269, TI_USB2ANY.cpp]
2023-01-10 10:53:48.397 Returning value 0 [3270, TI_USB2ANY.cpp]
2023-01-10 10:53:48.397
2023-01-10 10:53:48.397 u2aPower_ReadStatus(handle=0x00003010) [3275, TI_USB2ANY.cpp]
2023-01-10 10:53:48.410 Return code set to 5 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.410 Return code set to 0 [3302, TI_USB2ANY.cpp]
2023-01-10 10:53:48.410 Returning value 0 [3310, TI_USB2ANY.cpp]
2023-01-10 10:53:48.410
2023-01-10 10:53:48.410 u2aI2C_Control(handle=0x00003010, Speed=0, AddressLength=0, PullUps=1) [1934, TI_USB2ANY.cpp]
2023-01-10 10:53:48.412 Return code set to 0 [1945, TI_USB2ANY.cpp]
2023-01-10 10:53:48.423 Return code set to 4 [397, TI_USB2ANY.cpp]
2023-01-10 10:53:48.423 Return code set to 0 [1947, TI_USB2ANY.cpp]
2023-01-10 10:53:48.423 Returning value 0 [1948, TI_USB2ANY.cpp]
2023-01-10 10:53:48.702
2023-01-10 10:53:48.702 u2aI2C_RegisterRead(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x00) [1972, TI_USB2ANY.cpp]
2023-01-10 10:53:48.792 Timeout waiting for response packet [1237, U2A_ApiClass.cpp]
2023-01-10 10:53:48.792 Error: variable 'err' set to -2 (Receive buffer is empty) [1242, U2A_ApiClass.cpp]
2023-01-10 10:53:48.792 GetResponse(buffer=0x0019F578, size=8, command=100) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:53:48.792 Error: variable 'ret' set to -2 (Receive buffer is empty) [402, TI_USB2ANY.cpp]
2023-01-10 10:53:48.792 Error: variable 'ret' set to -2 (Receive buffer is empty) [1996, TI_USB2ANY.cpp]
2023-01-10 10:53:48.792 Returning value -2 [2015, TI_USB2ANY.cpp]
2023-01-10 10:53:48.887
2023-01-10 10:53:48.887 u2aStatus_GetText(code=-2, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:53:48.887 *buffer = "Receive buffer is empty" [855, TI_USB2ANY.cpp]
2023-01-10 10:53:48.887 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:53:58.721
2023-01-10 10:53:58.721 u2aI2C_RegisterWrite(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x03, Value=0x00) [1953, TI_USB2ANY.cpp]
2023-01-10 10:53:58.723 Return code set to 0 [1964, TI_USB2ANY.cpp]
2023-01-10 10:53:58.778 Error: variable 'err' set to -49 (Write timeout) [1200, U2A_ApiClass.cpp]
2023-01-10 10:53:58.778 GetResponse(buffer=0x0019F524, size=64, command=-1) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:53:58.778 Error: variable 'ret' set to -49 (Write timeout) [402, TI_USB2ANY.cpp]
2023-01-10 10:53:58.778 Return code set to -49 [1966, TI_USB2ANY.cpp]
2023-01-10 10:53:58.778 Returning value -49 [1967, TI_USB2ANY.cpp]
2023-01-10 10:53:58.779
2023-01-10 10:53:58.779 u2aStatus_GetText(code=-49, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:53:58.779 *buffer = "Write timeout" [855, TI_USB2ANY.cpp]
2023-01-10 10:53:58.779 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:53:58.783
2023-01-10 10:53:58.783 u2aI2C_RegisterRead(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x03) [1972, TI_USB2ANY.cpp]
2023-01-10 10:53:58.865 Orphaned packet removed: Cmd=100 [659, U2A_ApiClass.cpp]
2023-01-10 10:53:58.873 Timeout waiting for response packet [1237, U2A_ApiClass.cpp]
2023-01-10 10:53:58.873 Error: variable 'err' set to -2 (Receive buffer is empty) [1242, U2A_ApiClass.cpp]
2023-01-10 10:53:58.873 GetResponse(buffer=0x0019F578, size=8, command=100) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:53:58.873 Error: variable 'ret' set to -2 (Receive buffer is empty) [402, TI_USB2ANY.cpp]
2023-01-10 10:53:58.873 Error: variable 'ret' set to -2 (Receive buffer is empty) [1996, TI_USB2ANY.cpp]
2023-01-10 10:53:58.873 Returning value -2 [2015, TI_USB2ANY.cpp]
2023-01-10 10:53:58.873
2023-01-10 10:53:58.873 u2aStatus_GetText(code=-2, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:53:58.874 *buffer = "Receive buffer is empty" [855, TI_USB2ANY.cpp]
2023-01-10 10:53:58.874 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:57:27.910
2023-01-10 10:57:27.910 u2aI2C_RegisterWrite(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x02, Value=0xB6) [1953, TI_USB2ANY.cpp]
2023-01-10 10:57:27.912 Return code set to 0 [1964, TI_USB2ANY.cpp]
2023-01-10 10:57:27.967 Error: variable 'err' set to -49 (Write timeout) [1200, U2A_ApiClass.cpp]
2023-01-10 10:57:27.967 GetResponse(buffer=0x0019E858, size=64, command=-1) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:57:27.967 Error: variable 'ret' set to -49 (Write timeout) [402, TI_USB2ANY.cpp]
2023-01-10 10:57:27.967 Return code set to -49 [1966, TI_USB2ANY.cpp]
2023-01-10 10:57:27.967 Returning value -49 [1967, TI_USB2ANY.cpp]
2023-01-10 10:57:27.968
2023-01-10 10:57:27.968 u2aStatus_GetText(code=-49, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:57:27.968 *buffer = "Write timeout" [855, TI_USB2ANY.cpp]
2023-01-10 10:57:27.968 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:57:33.758
2023-01-10 10:57:33.758 u2aI2C_RegisterWrite(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x20, Value=0xBD) [1953, TI_USB2ANY.cpp]
2023-01-10 10:57:33.761 Return code set to 0 [1964, TI_USB2ANY.cpp]
2023-01-10 10:57:33.816 Error: variable 'err' set to -49 (Write timeout) [1200, U2A_ApiClass.cpp]
2023-01-10 10:57:33.816 GetResponse(buffer=0x0019F524, size=64, command=-1) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:57:33.816 Error: variable 'ret' set to -49 (Write timeout) [402, TI_USB2ANY.cpp]
2023-01-10 10:57:33.816 Return code set to -49 [1966, TI_USB2ANY.cpp]
2023-01-10 10:57:33.816 Returning value -49 [1967, TI_USB2ANY.cpp]
2023-01-10 10:57:33.817
2023-01-10 10:57:33.817 u2aStatus_GetText(code=-49, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:57:33.817 *buffer = "Write timeout" [855, TI_USB2ANY.cpp]
2023-01-10 10:57:33.817 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:57:35.591
2023-01-10 10:57:35.591 u2aI2C_RegisterWrite(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x03, Value=0x40) [1953, TI_USB2ANY.cpp]
2023-01-10 10:57:35.593 Return code set to 0 [1964, TI_USB2ANY.cpp]
2023-01-10 10:57:35.648 Error: variable 'err' set to -49 (Write timeout) [1200, U2A_ApiClass.cpp]
2023-01-10 10:57:35.648 GetResponse(buffer=0x0019F524, size=64, command=-1) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:57:35.648 Error: variable 'ret' set to -49 (Write timeout) [402, TI_USB2ANY.cpp]
2023-01-10 10:57:35.648 Return code set to -49 [1966, TI_USB2ANY.cpp]
2023-01-10 10:57:35.648 Returning value -49 [1967, TI_USB2ANY.cpp]
2023-01-10 10:57:35.648
2023-01-10 10:57:35.648 u2aStatus_GetText(code=-49, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:57:35.649 *buffer = "Write timeout" [855, TI_USB2ANY.cpp]
2023-01-10 10:57:35.649 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:57:35.659
2023-01-10 10:57:35.659 u2aI2C_RegisterRead(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x03) [1972, TI_USB2ANY.cpp]
2023-01-10 10:57:35.742 Orphaned packet removed: Cmd=100 [659, U2A_ApiClass.cpp]
2023-01-10 10:57:35.748 Timeout waiting for response packet [1237, U2A_ApiClass.cpp]
2023-01-10 10:57:35.748 Error: variable 'err' set to -2 (Receive buffer is empty) [1242, U2A_ApiClass.cpp]
2023-01-10 10:57:35.748 GetResponse(buffer=0x0019F578, size=8, command=100) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:57:35.748 Error: variable 'ret' set to -2 (Receive buffer is empty) [402, TI_USB2ANY.cpp]
2023-01-10 10:57:35.748 Error: variable 'ret' set to -2 (Receive buffer is empty) [1996, TI_USB2ANY.cpp]
2023-01-10 10:57:35.748 Returning value -2 [2015, TI_USB2ANY.cpp]
2023-01-10 10:57:35.749
2023-01-10 10:57:35.749 u2aStatus_GetText(code=-2, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:57:35.749 *buffer = "Receive buffer is empty" [855, TI_USB2ANY.cpp]
2023-01-10 10:57:35.749 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:57:45.130
2023-01-10 10:57:45.130 u2aI2C_RegisterWrite(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x03, Value=0x10) [1953, TI_USB2ANY.cpp]
2023-01-10 10:57:45.134 Return code set to 0 [1964, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 Error: variable 'err' set to -49 (Write timeout) [1200, U2A_ApiClass.cpp]
2023-01-10 10:57:45.189 GetResponse(buffer=0x0019F524, size=64, command=-1) failed [401, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 Error: variable 'ret' set to -49 (Write timeout) [402, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 Return code set to -49 [1966, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 Returning value -49 [1967, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189
2023-01-10 10:57:45.189 u2aStatus_GetText(code=-49, buffer=0x0DDFDD54, bufsize=256) [843, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 *buffer = "Write timeout" [855, TI_USB2ANY.cpp]
2023-01-10 10:57:45.189 Returning pointer value 0x0DDFDD54 [857, TI_USB2ANY.cpp]
2023-01-10 10:58:10.824
2023-01-10 10:58:10.824 u2aClose(handle=0x00003010) [1311, TI_USB2ANY.cpp]
2023-01-10 10:58:10.836 HIDReceiverThreadProc thread terminating... [697, U2A_ApiClass.cpp]
2023-01-10 10:58:10.886 CallbackThreadProc thread terminating... [423, U2A_ApiClass.cpp]
2023-01-10 10:58:10.886 Returning value 0 [1336, TI_USB2ANY.cpp]
2023-01-10 10:58:10.956
2023-01-10 10:58:10.956 Unloading C:\Program Files (x86)\Texas Instruments\DRV109xx EVM\USB2ANY.dll
2023-01-10 10:58:10.956 ##################### SESSION END 2023-01-10 10:58:10.956 #####################

  • Hi Thomas, 

    Are you working on the DRV10983EVM or a custom board? 

    The GUI will not accept a device change from the DRV10983 to any of the others in the dropdown when launching the GUI.

    I don't quite understand the reason why you choose another device (other than DRV10983) in the dropdown if you wish to connect the GUI to the DRV10983EVM (assuming you are working on the DRV10983EVM). 

    Do you have any other LabVIEW runtime versions other than 2014 version installed in your computer? 

    Regards,

    Vishnu

  • Hi Thomas, 

    Please let us know if you require additional assistance or if the latest reply from our BLDC team members has helped resolve your questions.

    Thanks and Best Regards, 
    Andrew

  • Hi Vishnu, I have duplicated the error using both the DRV10983EVM and a custom design-in that has worked since 2015. Yes - I have LabView runtime 2014 installed. I also have ordered 3 USB2ANY programming dongles. All create the error regardless of which DRV chip is selected. 

    In the log above, the following section shows the error. There is a RegisterRead error happening. 

    2023-01-10 10:53:48.702 u2aI2C_RegisterRead(handle=0x00003010, I2C_Address=0x0052, RegisterAddress=0x00) [1972, TI_USB2ANY.cpp]
    2023-01-10 10:53:48.792 Timeout waiting for response packet [1237, U2A_ApiClass.cpp]
    2023-01-10 10:53:48.792 Error: variable 'err' set to -2 (Receive buffer is empty) [1242, U2A_ApiClass.cpp]
    2023-01-10 10:53:48.792 GetResponse(buffer=0x0019F578, size=8, command=100) failed [401, TI_USB2ANY.cpp]
    2023-01-10 10:53:48.792 Error: variable 'ret' set to -2 (Receive buffer is empty) [402, TI_USB2ANY.cpp]
    2023-01-10 10:53:48.792 Error: variable 'ret' set to -2 (Receive buffer is empty) [1996, TI_USB2ANY.cpp]
    2023-01-10 10:53:48.792 Returning value -2 [2015, TI_USB2ANY.cpp]

    What could cause this on multiple devices, multiple hardware designs, multiple computers, and multiple USB2ANY dongles? 

  • Hi Thomas,

    Just to be sure, are you using the DRV109xx EVM GUI to talk to the DRV10983EVM? From the error log it looks like the EVM is not responding to the GUI commands. But, since the same issue is seen on DRV10983EVM and the custom board, issue might be due to the USB2Any or GUI. I think firstly we need to understand if it is the EVM/custom board or the GUI/USB2Any which is failing here. Can you probe the SCL and SDA lines and share the scope screenshot?

    Regards,

    Vishnu