VM134 (K8076) QUICK GUIDE
1 PicProg2006 helpmanual 1 General information 1.1 Introduction Thank you using the Velleman produkts. The VM134 (K8076 kit version) us a multifunctional and 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.
General information 1.3 2 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.
3 PicProg2006 helpmanual 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: 1.
Menu bar 2.
5 PicProg2006 helpmanual "Disable Code Protection" Make the PIC available after it was programmed with a code protection (all data is deleted). "Hardware Configuratie" "Comm Settings" "Hardware Delay" : : selection of all available RS232 ports if the communication speed is to high. "K8048 Compatibility" Lets you use (where possible) the K8048. Not possible with all PICs.
Menu bar 2.
7 PicProg2006 helpmanual 3 Button Bar 3.1 Button Bar Click on the button for further information 1. Save data as HEX file Save the controllers content and save it as INHX8M file onto the hard disk. Attention: controllers with an activated "code protect" bit cannot be read because of the copyright by the manufacturers. Memory dump HEX files of the 18Fxxxx family will be written as INHX32 files. 2. Load a HEX file Reading of a file from a storage device to the software memory.
Button Bar 8 9. Hardware configuration Visual representation of how to connect the PIC cable in order to program the desired controller 4 Windows 4.1 Program Here you can find the programme code. This is the hexadecimal upcode the controller will execute. You can also see the data code. These are the values in the EEPROM memory of the controller. This window only appears with controllers with an EEPROM memory (e.g. PIC16F627).
9 4.2 PicProg2006 helpmanual Configuration Consult and modify if necessary the programming options. We recommend executing these configurations directly in the assembler programme through the "__CONFIG" compiler directive. See "BLINKLED.ASM" for an example. Enable or disable the PIC controller options. You can also set them via the __CONFIG compiler directive in the assembler programme.
Use 10 3. Click the "Hardware connections" icon · You can see a picture showing how to connect the PIC configuration patch-cable with the pins from the ZIF socket. When using the included cables, the cable colour code will correspond to the colour code on the display.
11 PicProg2006 helpmanual · The ICSP1 and ICSP2 connectors can be used arbitrarily since they are identical on the hardware level. Hint: The ICSP connectors can also be used to program controllers external to the PCB. The cables leading to the print need to be as short as possible (+/- 20cm) Hint: The picture shows how the ICSP connector SK3 and SK4 (1) is connected to the pins of the ZIF socket (2) and the PIC controller (3).
Use 5.2 12 Programming the PIC controller A simple explanatory application will explain how to program and to test a PIC. The application is simply a blinking LED. The used controller in the example is a PIC10F200. STEP 1: Compiling your code · · · Start PICprog2006 Click the "MPASM" icon. Read the ".ASM" file. 1. The file to compile is generally of the ".ASM" type. 2. Set the radix that will be standard accepted (setting the radix in the .ASM file will have priority over this setting) 3.
13 PicProg2006 helpmanual Before programming the controller, make sure there are no errors in the assembler code (Errors => 0) Causes of a communication breakdown: · PIC controller type does not correspond with the chosen software type · power supply of the VM134 is too low (15V) · incorrect PIC selection through patch cables · defective PIC controller · PIC controller status cannot be put in program mode Remark: This PIC programmer will not be able to program controllers which simultaneously use the inte
Use 14 · Click the desired HEX file (e.g. BLINKLED.HEX) In case of a hardware error, following message can appear. Check the VM134 and/or the controller selection · Click the "WRITE ALL DATA TO PIC" icon. The programme will ask for a confirmation: Click "YES" when you are sure to overwrite the controller. · You will see the progress of all kinds of actions like e.g. deleting, programming, controlling and setting the controller parameters.
15 PicProg2006 helpmanual 1. 2. 3. 4. The HEX code that will be saved into the controller. Address counter: indicates where in the memory the device is reading or writing. The ASCII version of the code. Progress bar: Visualize the percentage of the programming or the reading process. · When the programming process is finished, push the lever of the ZIF socket and remove the controller. The controller can irrevocably be damaged if something goes wrong during the programming process (e.g.