Copyright: Helpfile Generated by HelpWriter!


ProPic
Introduction

Buttom Bar Commands

Menu commands

Command Line Interface

SQTP - Serialized Quick Turn Programming

Help file generated by VB HelpWriter.


Introduction

ProPic 2 is a printer port PIC programmer. It can program almost all PICs and 24CXX

EEPROM as well.

It can be bought assembled and tested or can be built by yourself.

Help file generated by VB HelpWriter.


Buttom Bar Commands

Help file generated by VB HelpWriter.


Menu commands

File

Load Hex

Open and load a HEX file from disk

Save Hex

Save a HEX file to disk

Load Calibration Data

Load a PIC14000 calibration data from disk

Save Calibration data

Save a PIC14000 calibration data to disk

Config

Prototype mode

Compare the chip at 5V only

Production mode

Compare the chip at VDD min and VDD max

LPT1 on 378h

Set the programmer on port 1

LPT2 on 278h

Set the programmer on port 2

LPT? on 3BCh

Set the programmer on port 3

SQTP

Help

Help

Open the help screen

About

Show Copyright notice and version informations

Help file generated by VB HelpWriter.


Command Line Interface

You can use a command line interface with ProPic 2 like this:

ProPic2.exe commad

command can be:

/D:[pic]  - select [pic] to work on

/F:[finelame] - load the file HEX [filename]

/W - write the HEX file to PIC

/R  - read a PIC

/Q  - quit after executing previous command

Example: To load a TEST.HEX file and write it to a 16C71 and exit:

PROPIC2.EXE /D:16C71 /F:TEST.HEX /Q

Help file generated by VB HelpWriter.


Open

Load a HEX file from disk


Save

Save a HEX file to disk


Write

Write the buffer and the fuse to the chip


Writefuse

Write the fuse to the chip


Read

Read the chip content to buffer


Blank

Test if the chip is erased


Compare

Compare buffer content and chip content


Erasebuffer

Erase the buffer content


Erase

Erase a 16C84 or 16F84 chip


Test

Open the test screen


Config

Open the configuration screen


Help

Open the help file


Exit

End the program


SQTP

Serialization is a method of programming PIC16/17 microcontrollers whereby each chip is programmed with a slightly different code. Typically, all locations are programmed with the same basic code except for a few contiguous bytes which are programmed with a different number (referred to as 'key'  or 'ID number'  or 'serial number' ) in each member. Typical applications of such programming are remote transmitters for car alarms or garage door openers where each unit must have a different access code.

The serial number must reside in contiguous locations with up to eighteen locations used. Furthermore these locations must be coded as RETLW NN, where NN= 8-bit code, in the finished product. For details on how the RETLM instruction is typically used for serialization purposes, please see bellow. The customer code must be supplied without the serial code in these locations. These locations must be blank or the assembled value of RETLW H'FF'  instruction in the customer code. The ProPic 2 programmer will insert the serial code at these locations during programming.

Numbering scheme:

Sequential numbers are generated. User specifies the "Starting number"  and an increment value. In sequential numbering, the last significant digit is in the lowest memory location. The increment value must be between 1 and 255.

Numbers are slways in hex and not in BCD or any other format.

Example code:

This example code shows how a serial number may reside at any location:

main_prog	ORG XYZ	; this is main program

    .

    .

    .

MOVLW   byte_num	; byte_num=0 for 1st byte

CALL        get_1byte

get_1byte  ADDWF,PC	; W=offset

RETLW  0xFF

RETLW  0xFF

RETLW  0xFF

RETLW  0xFF	; END OF SERIAL NUMBER

    .

    .

end

Help file generated by VB HelpWriter.


SQTPnum
SQTP Starting number

The first number to generate


Start
SQTP Starting Address

Starting address of the serial number


Size
SQTP Size

Number of bytes used by the serial number (max of 8 bytes)


Increment
SQTP Increment

Increment for the serial number


OK

Accept the settings


Cancel

Discart all changes