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.

AFE7950EVM: AFE7950EVM with ZCU102 - Basic Setup issue as per TI204c-Setup documentation

Part Number: AFE7950EVM
Other Parts Discussed in Thread: AFE7900, AFE7950

I am experimenting this with ZCU102 and using the documentation steps provided in the TI204c-Setup.docx

We got struck with the below step and we could not able to proceed. Please guide us how to solve this. : 

logfile_20230701.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#======
#Executing .. AFE79xx/bringup/setup.py
#Start Time 2023-07-01 17:23:47.824000
AFE79xxLibraryPG1p0
spi - USB Instrument created.
resetDevice
Purge
Kintex RegProgrammer - USB Instrument created.
Kintex RegProgrammer - USB Instrument created.
Kintex RegProgrammer - USB Instrument created.
#Done executing .. AFE79xx/bringup/setup.py
#End Time 2023-07-01 17:23:54.985000
#Execution Time = 7.16100001335 s
#================ ERRORS:0, WARNINGS:0 ================#
#======
#Executing .. selection
#Start Time 2023-07-01 17:23:56.998000
#Done executing .. selection
#End Time 2023-07-01 17:23:56.999000
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

if we say continue it stalls with below message:

Mismatch between Entered (0x20) and device Read Chip Version(0x12 or 0x13). Please select correct Chip Version.

#Error: exceptions must be old-style classes or derived from BaseException, not NoneType

# "AFE79xx/bringup/TI_IP_ConfigAfe.py", line 3, in

# File "C:\Users\KG\Documents\Texas Instruments\Afe79xxLatte\lib\\AFE79xxLibraries\\AFE79xxLibraryPG1p0\\resourceFiles\mFuncDecorator.py", line 88, in inDecorator

# a=func(*args,**kwargs)

# File "C:\Users\KG\Documents\Texas Instruments\Afe79xxLatte\lib\\AFE79xxLibraries\\AFE79xxLibraryPG1p0\mAfeLibrary.py", line 249, in deviceBringup

# self.softReset()

# File "C:\Users\KG\Documents\Texas Instruments\Afe79xxLatte\lib\\AFE79xxLibraries\\AFE79xxLibraryPG1p0\\resourceFiles\mFuncDecorator.py", line 88, in inDecorator

# a=func(*args,**kwargs)

# File "C:\Users\KG\Documents\Texas Instruments\Afe79xxLatte\lib\\AFE79xxLibraries\\AFE79xxLibraryPG1p0\mAfeLibrary.py", line 159, in softReset

# raise

# TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

#

#

#Done executing .. AFE79xx/bringup/TI_IP_ConfigAfe.py

#End Time 2023-07-01 17:38:03.314000

#Execution Time = 235.396999836 s

#================ ERRORS:1, WARNINGS:0 ================#

Attached Log file

We are really in a critical situation where our demo is totally relay on your reply.

  • Hi Krishna,

    This issue is occurring because of a mismatch in the chip version in the setup.py script. For all AFE795x devices in setup.py chipVersion=0x13. For all AFE790x devices in setup.py chipVersion=0x20. 

    Please note that this issue is taken care of when using the respective AFE7900 or AFE7950 folders in the AFE79xx secure folder. We recommend using the scripts from the folder of the device you plan to use. 

    Regards,

    David Chaparro