User manual
PICkit™ SERIAL ANALYZER
USER’S GUIDE
© 2007 Microchip Technology Inc. DS51647A-page 95
Chapter 10. PICkit™ Serial Analyzer DLL
10.1 INTRODUCTION
Custom software programs can be created by accessing the Dynamically Linked
Library (DLL), PICkitS.dll, with the software language of your choice. All of the function-
ality to create tag byte scripts that will be converted to protocol scripts is built into the
DLL and is very easy to use. Any programming language that can access functions
from a DLL can be used. All that is needed is a list of the built-in functions and the
arguments they require.
The name of the DLL is PickitS.dll. The functions used to create custom GUI apps are
in a subsection of the dll called “basic”. The function calls are listed in the Summary of
Functions section below.
10.2 HIGHLIGHTS
This chapter discusses:
• Summary of Functions
• Programming Example
10.3 SUMMARY OF FUNCTIONS
PickitS.Basic.function(argument1, argument2,...)
A table of the functions and their definitions is below:
TABLE 10-1: FUNCTIONS
10.3.1 PICkitS.Basic.Cleanup()
Returns:Void
Inputs:None
Description: Shuts down communication threads and closes file handles. Must be
performed prior to closing host application.
PICkitS.Basic.Cleanup
PICkitS.Basic.Configure_PICkitSerial
PICkitS.Basic.There_Is_A_Status_Error
PICkitS.Basic.Configure_PICkitSerial_For_I2C
PICkitS.Basic.Get_Status_Packet
PICkitS.Basic.Initialize_PICkitSerial
PICkitS.Basic.Reset_Control_Block
PICkitS.Basic.Retrieve_USART_Data
PICkitS.Basic.Send_I2CRead_Cmd
PICkitS.Basic.Send_I2CWrite_Cmd
PICkitS.Basic.Send_SPI_Receive_Cmd
PICkitS.Basic.Send_SPI_Send_Cmd
PICkitS.Basic.Send_USART_Cmd