ILI Tek - ITSConsoleTool V1.0.13.3

Release date: 2024/11/04
OS: Windows 10
Target: x64


Files list:
	*Windows_Console_ITS.exe - executable file
    	*FuncMethodCmd.dll - API controlled dynamic-link library file provided by ili tek.
	*Ilitek_HID.dll - USB controlled dynamic-link library file provided by ili tek.
	*CommonDefine.dll -
	*GDI_32.dll -
	*ITSToolLib.dll -
	*ThirdPartyTool.dll -
	*xxx.bat - batch file
	*Config/Setting.ini - a File is used to initial the system, don't remove it
	*readme.txt - help file

Parameter description:
	*/i: 		Show the IC informaiton.

	*/c: 		Checking the IC type and hex file match or not, if it doesn't match, the error code will return -13.

	*/s: 		Specify the firmware to update, this atcion only updates the different firmware blocks.

	*/f:		Force to update the firmware.

	*/c: 		Check what's different between IC fw and hex file.

	*/chkic=:  	Checking IC type match with the specified IC or not, ex: -chkic=2510, if running IC type is not ILI2510, console applications will terminate.

	*xxx.hex: 	Specify the firmware you want to update, it must include whole path and file name, if this path include space, please use double quotes to mark the whole path.

	*/log: 		Create a ILI_Tool_Log.txt to save about the processing information.

	*/path=: 	Specify a storage path of a log file, ex: -path=d:\, if this command doesn't exist, the default path of a log file is the current path.

	*/p: 		When the console application has been executed, the console window waits till we press enter key to close.

	*/show: 	Show the progress information in the console window.

	*/setmode=:	Set the switch mode, it supports 0~2

	*/getmode: 	Get the number of the current mode. 

	*/sw_rst: 	Software Reset

	*/touch=off:	Disable the touch mode

	*/touch=on: 	Enable the touch mode

	*/delay=: 	Unit is millisecond.

	*/cmd=: 	Execute the command, it must add "".

	*/cdc=:		Get the cdc data, format is /cdc="{frame_cnt} {type} {format} {record}"
				{frame_cnt}: 0~65535
				{type} : raw_bk / open / raw_nbk / se_bk / dac_p / dac_n / p2p / short / bg_bk
				{format} : ori/ max / min /delta / signal
				{record} : r / (n/a)

	*/nf=:		Scan the noise frequency, format is /nf="{Sine-params} {SWCAP-params} {Self-params}"
				{Sine-params}: start_frq end_frq gap minimun level; ex: 30 90 5 7
				{SWCAP-params}: start_frq end_frq gap minimun level; ex: 4 300 2 7
				{Self-params}: start_frq end_frq gap minimun level; ex: 4 30 2 7
	*/nf_cnt=:  	If the protocol is v6 version , it supports to set the frame count. 

	*/nf_type=: 	If the protocol is v6 version , it supports 3 types, maximum, average, frame count,
	
	*/pen=:		it is a sub-command of "Scan the noise frequency", specify the pen type, type: mpp, usi, wgp	
	
	*/pen_signal=:  it is a sub-command of "Scan the noise frequency", specify the threshold of the result.

	*/hide:		shrink the window to the minimum

Error Code:
	When Windows_Console_ITS.exe  has been executed, it will return a error code.
	*0: the result is successful.
	*-5: Update firmware failed
	*-13: IC version and Hex files mismatch
	*others: ambiguity error
	
How to use:
	Run the upgradeFW.bat as system administrator. 
    	1. Windows_Console_ITS.exe /log /path=d:\ /p
	2. Windows_Console_ITS.exe "D:\ParaData\ILI2520\v0.0.0.3\ILI2520_7.0.0.3_0.0.0.3.hex" /f /show /log
	3. Windows_Console_ITS.exe "D:\ParaData\ILI2520\v0.0.0.3\ILI2520_7.0.0.3_0.0.0.3.hex" /s /show
	4. Windows_Console_ITS.exe /show /log "/cmd=03 a3 08 07 F9 80 FF 00 64 00 C8 00" /p
	5. Windows_Console_ITS.exe /c "D:\Code\ITS\00.Standard\01.SourceCode\TP Test Studio\bin\Release\ParaData\ILI2312\v5.1.0.14\ILI2312_5.1.0.14_USB.hex" /log /show
	7. Windows_Console_ITS.exe chkic=2510 /show
	8. Windows_Console_ITS.exe /cdc="100 dac_p ori r" /show /log
	9. Windows_Console_ITS.exe /nf="30 90 5 7 4 300 2 7 4 30 2 7" /nf_cnt=10 /nf_type=5 /show /log
	10. Windows_Console_ITS.exe /nf="30 90 5 7 4 300 2 7 4 30 2 7" /pen=Mpp /pen_signal="10,10;300,10" /nf_cnt=10 /nf_type=7 /show /log /p  


	
	