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.

OPT4001DTSEVM: Error Initializing GUI TI-Latte - 0.8.4

Part Number: OPT4001DTSEVM
Other Parts Discussed in Thread: OPT4001

Tool/software:

Hello,

I purchased the EVM OPT4001DTSEVM and encountered the following error when opening the GUI TI-Latte:

#Executing .. OPT4001/OPT4001DTS_EVM/devInit.py
#Start Time 2025-02-28 13:51:50.446000
#Error:
# "OPT4001/OPT4001DTS_EVM/devInit.py", line 41, in
# File "C:\TexasInstruments_Projeto\projects\OPT4001/OPT4001DTS_EVM/mEVMSelector.py", line 83, in __init__
# assert z[2] == '00'
# AssertionError
#
# Done executing .. OPT4001/OPT4001DTS_EVM/devInit.py
#End Time 2025-02-28 13:51:50.626000
#Execution Time = 0.179999828339 s
#================ ERRORS:1, WARNINGS:0 ================#

The USB drivers were installed correctly by Windows (COM6 and COM7):

Python version:


Could you assist me?

Thank you!

  • I was using GUI version 1.0.2 and updated to version 1.0.3. After the update, the issue changed to the following error:

    #======

    #Executing .. OPT4001/OPT4001DTS_EVM/devInit.py

    #Start Time 2025-02-28 16:40:52.801000

    Device detected: OPT4001DTSEVM

    Device detected: OPT4001DTSEVM

    Number of Control and Data ports not matched. Unlock all COM ports

    #Error: index 0 is out of bounds for axis 0 with size 0

    # "OPT4001/OPT4001DTS_EVM/devInit.py", line 67, in

    # IndexError: index 0 is out of bounds for axis 0 with size 0

    #

    #

    #Done executing .. OPT4001/OPT4001DTS_EVM/devInit.py

    #End Time 2025-02-28 16:40:53.677000

    #Execution Time = 0.875999927521 s

    #================ ERRORS:2, WARNINGS:0 ================#

  • Hello Paulo, 

    Thank you for using the E2E forum. I'm sorry your encountering difficulties and am looking into this issue. 

    Please comment out(#)  lines 83-89 in the file nEVMSelector.py that comes as part of the GUI download save that file then exit Latte and try to open GUI again. 

    Please let me know if this makes a difference for you. 

    Thank you for your time,

    Joseph Scherphorn 

  • Hello.

    The problem persists:


    Thank you.

  • Hi,

    I changed the values ​​on lines 35 and 36 from HEX to decimal and it worked:



    Thank you!