The cpldupgradetool shows the CPLD version that is being used to upgrade the CPLD.
There are no defined tests with cpldupgradetool.
root@dellemc-diag-os:~# cpldupgradetool
DellEmc Diag - CPLD Upgrade Tool
version 1.1, x.xx.x.x-x
build, 2022/05/20,
Syntax: cpldupgradetool <option>
Print the Help-Text:=
cpldupgradetool --h (or)
cpldupgradetool -h
Print the CPLD versions:=
cpldupgradetool --cpldver (or)
cpldupgradetool -c
Program a new CPLD image into CPLD's by specified index:=
cpldupgradetool --write [--index=-1] [--image=<file>] (or)
cpldupgradetool -w [-i -1] [-m <file>]
Usage:=
-h, --h Show the help text
-c, --cpldver CPLD version
-w, --write Write operation
-i, --index= Index
-m, --image= CPLD image
root@dell-diag-os:/# cpldupgradetool --h Dell Diag - CPLD Upgrade Tool version 1.1, x.xx.x.x build, 2022/05/20, Syntax: cpldupgradetool <option> Print the Help-Text:= cpldupgradetool --h (or) cpldupgradetool -h Print the CPLD versions:= cpldupgradetool --cpldver (or) cpldupgradetool -c Program a new CPLD image into CPLD's by specified index:= cpldupgradetool --write [--index=-1] [--image=<file>] (or) cpldupgradetool -w [-i -1] [-m <file>] Usage:= -h, --h Show the help text -c, --cpldver CPLD version -w, --write Write operation -i, --index= Index -m, --image= CPLD image root@dell-diag-os:/# root@dell-diag-os:/# cpldupgradetool --cpldver CPLD1 Version 0x00 CPLD2 Version 0x01 CPLD3 Version 0x01 CPLD4 Version 0x01 root@dell-diag-os:/# root@dell-diag-os:cpldupgradetool--write --image=<platform>_cpld_v01.vme Lattice Semiconductor Corp. ispVME(tm) V12.2 Copyright 1998-2011. For daisy chain programming of all in-system programmable devices Invalid Format: CPLD_WE assertion level TDI:39,TCK:35,TMS:36,WE:57,TRST:58,TDO:49,SelPin:0, Freq:2400 g_CoresiIspPins Init= 30000 g_SussiIspPins Init= 2000134 g_WEAssertLevel= 0 Processing virtual machine file (./<platform>_cpld_v01.vme)...... CREATED BY: ispVM(R) System Version 18.0.1 CREATION DATE: 06/23/16 14:26:03 +=======+ | PASS! | +=======+