Velleman VM134 User Manual

VM134
(K8076)
QUICK GUIDE
1
instructional programmer, aimed at programming a selection of
Microchip ® PIC™ FLASH microcontrollers
. These FLASH controllers can be reprogrammed
many times, making them an appropriate tool for teaching a PIC programming language. Another
advantage of reprogrammable controllers is that software of a device where it is implemented can
easily be updated.
The VM134 PIC programmer is a ready-to-use version of our unassembled K8076 programmer.
Hence, the VM134 can also be referred as the K8076 in this manual and software.
There are 2 important stadiums in the use of this programmer. First, a programme code needs to
be written, usually in a graphic environment (IDE). For PICs that is MPLAB(™) by Microchip. This
complete software package can be downloaded for free from the website
www.microchip.com
. An
easier method is writing a programme in an ASCII word processing programm like e.g. Notepad,
installed on every Windows PC.
Information concerning the commands used in the assembler language for every controller type
can be found in data sheets on the Microchip website. An exemple programme is included on CD.
Connect your programmer to a free serial RS232 port of your PC. This serial port must be 100%
IBM compatible and 16550 UART compatible. This kit does not use the RS232 protocol but an
emulated I2C protocol via handshaking.
A
UART
,
universal asynchronous receiver / transmitter
executes the main tasks in the serial
communication of computers. The chip converts incoming parallel information into serial data
which can be sent through a communication line. A second
UART
will be used to receive the
information. The
UART
executes all necessary tasks like e.g. timing, parity control etc. needed for
the communication. The only extra chips needed are the line drivers converting the TLL-level
signals into line voltages and vice versa.
======>
======>
PicProg2006 helpmanual

1 General information

1.1 Introduction

1.2 Connection cable

© 2007 Velleman Components

1.3 connection & test

·
Make sure there is no controller in the ZIF socket.
·
Connect the serial connector to the serial port.
·
Connect a 15VDC power supply. This voltage may or may not be regulated since the PCB is
equipped with a voltage regulator (a 12VDC non regulated adapter will work since the terminal
voltage is about 15 to 16V).
·
When switching on the power supply, LD1 or "Power Good" LED will light. This LED indicates
that the programmer is live and that the controller is provided with +5V
.·Start the "PICprog2006" software and click the icon on the upper right, viz "Hardware
connections"
(Fig 1.0)
FIG. 1.0
·
By clicking the LD3, LD2 and LD4 LEDs with your mouse they should light on the PCB (see
PIC2)
(Fig 2.0)
FIG. 2.0
·
Press "Run hardware datalines test" to start an automatic LED lighting sequence. These LEDs
must light synchronous with the screen
(see PIC3)
. Press the button again to stop the testing
procedure. Attention: make sure there is no PIC in the socket
!.·You are ready testing the programmer when the test went well. If not, find the hardware error on
the print or the incompatibility to the PC to avoid irreversible damage the PIC controllers
.
General information
2
© 2007 Velleman Components
3
ATTENTION:
When a communication problem between the PC and the
VM134 or a hardware problem with the VM134 occurs, clicking on the test
button or the LEDs will not be possible. The following message can appear
If there is communication in the programmer socket between the VM134 and the
PIC, following message will appear:
Velleman Components NV and the software designer cannot be held responsible for any hardware
and/or software failure or damage caused by the use of it
"Load File"
:
load a Hex file
"Save File"
:
save a Hex file
"End"
:
end the programme
PicProg2006 helpmanual

1.4 Disclaimer

2 Menu bar

2.1 File

© 2007 Velleman Components

2.2 Function

"Read PIC"
"Read All"
"Read Program"
"Read Data"
"Read Configuration"
::::read all available
data
read programme
data only
read EEProm data
only
read configuration
bits
"Write PIC"
"Write All"
"Write Program"
"Write Data"
"Write
Configuration"
:::
:
write available data
only
write programme data
write EEProm data
write the configuration
"Erase PIC"
"Erase All"
"Erase Program"
"Erase Data"
:::
delete all available data
delete programme data only
delete EEProm data only
Menu bar
4
© 2007 Velleman Components
Loading...
+ 11 hidden pages