ctr

SPIC - Software V2.x.x

Manual


Contents

0.0.0 SPIC-Adapter / Software-Installation 1.0.0 Installation
    1.1.0 Pulldown-Menu "CommPort"
    1.2.0 Button "Installation" 2.0.0 Button "PicPROM" / PIC-Programmer
    2.1.0 Memory Occupation
    2.2.0 µC-Configuration
    2.3.0 Programming Options
        2.3.1 Verify Processor Type
        2.3.2 Verify Processor Revision
        2.3.3 Begin / End Programming at xxxxx
        2.3.4 Program / Verify xxxxx Memory
        2.3.5 Speaker alert on xxxxx
        2.3.6 Next Serial Number
        2.3.7 Fill ID-Locations with Serial Number
        2.3.8 Increment S-N after Program / Verify
    2.4.0 Operation
        2.4.1 AutoProg
        2.4.2 DisableCP
        2.4.3 Dump
        2.4.4 Identify
        2.4.5 Exit

0.0.0 SPIC-Adapter

The SPIC-hardware has to be built according to the schematics you downloaded (SPIC.GIF) and the SPIC-firmware (SPIC.hex) must be programmed into the SPIC-microcontroller (PIC16F84).

Extract the contents from file "SPIC.ZIP" and install the Windows software by starting "SETUP.EXE".


1.0.0 Installation

1.1.0 Pulldown-Menu "CommPort"

First select the serial Port at which the SPIC-hardware is connected to your computer.

1.2.0 Button "Installation"

The levels of the /MCLR-, DATA-, CLOCK-, and VDD-outputs may be altered and tested using a voltmeter or logic-tester. When installing the SPIC-hardware for the first time, you have to adjust the voltage of the /MCLR-output to 13Volts using the potentiometer on your SPIC-board after selecting the corresponding option ("MCLR" / "13V").


2.0.0 PIC-Programmer

2.1.0 Memory Occupation

Displays the percentage of occupied memory locations.
If the "Auto"-Option ist selected, these Values are updated automatically - you can invoke this update manually with the "Update"-button. Whenever the "Memory Occupation"-values are updated the decoded Configuration Word is displayed depending on the content of the selected hex-file.

2.2.0 µC-Configuration

The decoded Configuration Word from the selected hex-file is displayed here and may be altered manually.

ATTENTION! Due to the various features of the supported microcontrollers these values are filtered by the microcontroller-hardware what may result in a "verify error at 2007h", especially if the "code protection"-feature is altered. On principle it is not recommended to alter the CW generated by the assembler.

Whenever the "Update" button is clicked, the valid CW is loaded from the selected hex-file and decoded. When the "Dump"-button is used to display the microcontroller's memory, the valid CW will be displayed depending on the read contents.

2.3.0 Programming Options

2.3.1 Verify Processor Type

If you select this option, the selected processor type (µC-Configuration) and the device connected to the programmer are verified before a programming-action starts. No match generates an error message and programming is cancelled.

The selected processor type has to support the "autoselect"-function to activate this option (not supported by 16F8x).

2.3.2 Verify Processor Revision

In addition to verifying the processor-type you may wish to check the processor's revision value. After activating this option the desired revision number may be entered in the "#"-textfield. As well as for the "Verify Processor Type"-function the selected device has to support the "autoselect"-value.

2.3.3 Begin / End Programming at xxxxx

Programming of the User Memory starts / ends at the hex-addresses specified here.

2.3.4 Program Verify xxxxx Memory

Only the selected memory-types are programmed / verified when executing a programming action.

2.3.5 Speaker alert on xxxxx

Activates / deactivates the acoustic signals output by the soundcard on the corresponding events.

2.3.6 Next Serial Number

This value specifies the serial number used on the next programming-action.

2.3.7 Fill ID-Locations with Serial Number

By activating this option, the ID-locations of the device are automatically filled with the serial-number value specified in the "Next Serial Number"-field.

2.3.8 Increment S-N after Program / Verify

The serial number may be incremented automatically after a programming-action.

2.4.0 Operation

2.4.1 AutoProg

1. The processor-type and -revision are verified depending on if these options are selected in the "Programming Options"

2. Code Protection of the device is disabled

3. Depending on the "Programming Options" User/Data/Config-memory areas are programmed and verified.

2.4.2 DisableCP

Code Protection of the device is disabled (program memory is erased, if device was code protected).

2.4.3 Dump

User/Data/Config-memory is read and afterwards dumped to the screen.

2.4.4 Identify

The device is identified using the autoselect-value (not supported by 16F8x).

2.4.5 Exit

Closes SPIC.

 

© 07/2004 M.Schmoll * www.controller-designs.de