1 programming – Velleman К8048 User Manual

Page 11

Advertising
background image

Programming Procedure

9

K8048 © 2003 Velleman Components

6.3.1

Programming

·

Make sure that SW5 is placed in the central position (standby)

·

Put the controller in the appropriate IC socket:

o insert the 8-pin PIC in socket IC1
o insert the 14-pin PIC in socket IC2
o insert the 18-pin PIC in socket IC3
o insert the 28-pin PIC in socket IC4

·

Now put SW5 in the 'PROG' position. The warning LED LD9 starts to flash. This means that no
controller can be connected with or disconnected from a socket with SW5 in this position.

·

Click on WRITE and the controller is programmed. You can monitor this process in the
'Activity' box. The 'READ/WRITE' indication lights (LED LD8).

·

Put SW5 in the central position (STANDBY) again when the programming is finished. Only then
can you remove the controller or switch to test mode (see test push buttons and diagnostics
LEDs under 'Experiments').
Put SW5 in the 'RUN' position to test the program (if it was written to be used with the test push
buttons and LEDs.

1. Press this button to read out a program and data from a controller provided the latter is not

code-protected. PIC's for which the code protection bit has been activated can no longer be
read out, only erased which automatically means that all code will also be erased. The
hexadecimal machine code is saved in a text file.

* Attention: Put SW5 in the 'PROG'-position to use this function !

2. The controller is programmed. You can monitor this process in the 'Activity' box. The

'READ/WRITE' indication lights (LD8).

3. This key enables you to check if the PIC has saved the program you programmed

correctly.Remember that the controller must NOT be code-protected; otherwise you will not be
able to perform your check. During programming every byte is checked automatically to verify
whether it's been saved correctly. Only then will the code protection be activated.

Advertising