Downloading the Hex Code into the PIC
Microcontroller
The following steps are required to download your code (now stored
as a .hex file) into the pic. Please observe proper
handling of static sensitive parts in this project.
- Connecting the programmer to a computer. You may use a
Picstart + or a Warp 13 programmer.
- plug into serial port of the computer
- Warning: Do Not Connect power to the programmer when a PIC
is installed. Damage to the PIC may result. (Always put
the chip into the programmer after power has been
applied.)
- plug into power
- install PIC into the Zif socket. Install the top of the Pic
(indicated by the dot) at the top of the Zif socket (the end
with the handle).
- Open MP Lab software on a pc and complete the following steps.
- 1.0 Open your Project - Menu Project, select Open Project
- change to the H drive (central server) and locate your
project directory
- select your project file
- 2.0 Enable the Programmer - Menu Picstart Plus, Select
Enable Programmer
- 3.0 Set the Configuration Bits
- Oscillator select XT (crystal)
- Watchdog Timer select OFF
- Power Up timer leave OFF
- Code Protect leave OFF (this is important)
- Check that Device is PIC16F84A if it is not make it
so.
- Click on Erase Flash Device
- Click on Program
- Click on Verify
- Remove Pic from the programmer. You are finmished.
Technological Design
Home