Microchip Technology MCP46XXEV User Manual

Page of 44
MCP46XXEV Evaluation Board User’s Guide
DS51929A-page 20
© 2010 Microchip Technology Inc.
2.5
CONFIGURING THE PICkit™ SERIAL ANALYZER
2.5.1
Modifying the “CommScripts.txt” file
Example 2-1 shows the User Scripts that need to be added to the PICkit serial’s 
CommScripts.txt
 file. The default install location of this file is: 
C:\Program Files\Microchip\PICkit Serial Analyzer
Once these are saved in the CommScripts.txt file and the Master SPI mode is 
selected as the communication mode, these User Scripts will be available to select 
from.
    
EXAMPLE 2-1: 
MCP46XX SCRIPT FILE (COMMSCRIPTS.TXT)
NOTICE
Note 1:
It is recommended that you make a backup of your CommScripts.txt 
file before making any edits with a text editor.
2:
It has been observed that copying the text from this PDF and pasting into 
the PICkit serial’s CommScripts.txt file will cause errors due to the 
blank spacing used in the PDF file. Please copy from the MCP46XX 
CommScript.txt
 file available from the Microchip web site 
(MCP46XXEV Evaluation Board Product Page).
MCP4661W0WR      I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x00  0x7F  I2CSTOP
MCP4661W1WR      I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x10  0x7F  I2CSTOP
MCP4661NVW0WR    I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x20  0x7F  I2CSTOP
MCP4661NVW1WR    I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x30  0x7F  I2CSTOP
MCP4661TCON0WR   I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x40  0x7F  I2CSTOP
MCP4661EEWR      I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x60  0x7F  I2CSTOP
MCP4661W0RD      I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x0C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661W1RD      I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x1C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661NVW0RD    I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x2C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661NVW1RD    I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x3C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661TCON0RD   I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x4C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661STATUSRD  I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x5C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661EERD      I2C    I2CSTART  I2CWRTBYT  0x02  0x5E  0x6C  I2CRESTART  I2CWRTBYT 
                                             0x01  0x5F  I2CRDBYTNLB  0x02  I2CSTOP
MCP4661W0INC     I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x04  0x7F  I2CSTOP
MCP4661W0DEC     I2C    I2CSTART  I2CWRTBYT  0x03  0x5E  0x08  0x7F  I2CSTOP