![]()
IntroductionThe µFlash/PICulator Driver is a Windows 95/98/ME utility program which accepts a PIC program in the form of an Intel Hex file (produced by a compiler or assembler) and downloads it to either a µFlash876/876B or PICulator target directly over the PC serial port. The bootstrap loader built into the target then burns this program into on chip FLASH memory. Once burned into FLASH your program is run automatically each time the target is reset. The µFlash/PICulator driver can be launched from a command line, by dragging the hex file and dropping it on the driver icon, or in some cases automatically from inside a compiler IDE. Because the same driver is used for the µFlash and PICulator, this manual should be read in conjunction with user manual for the appropriate target.
|
| ||||||||||
Where to get the µFlash/PICulator driverThe driver is available for download from the pond web site (www.pondelectronics.com). It is also supplied on CD with µFlash starter kits. The driver is supplied on the web in zip format. If you have downloaded from the web you must first unzip this file before installation. The driver is supplied on CD in both zip and standard file format. The file format can be copied directly to your hard disk for immediate use.
|
| ||||||||||
Installing the µFlash/PICulator DriverTo install the µFlash/PICulator driver:
|
| ||||||||||
Testing the DriverConnect the com1 serial port of your PC to your target hardware. Please see the µFlash or PICulator user manuals for connection details. Power up your target hardware. Launch the driver by double clicking on the shortcut icon on your desktop. A window should open as shown to the right. The window displays the following information:
This information is followed by a status text line and progress bar. If the driver is unable to establish contact with the target, an error window will open reporting the failure. Should this happen, check target power and serial connection to the target hardware.
|
| ||||||||||
Downloading a Hex fileThe simplest way to use the µFlash/PICulator driver is to drag the hex file (produced by your compiler or assembler) and drop it on the driver icon. Once launched in this manner the driver window will open and it will immediately start to download the hex file to the target hardware. Once the download is complete, the driver will reset the the target and the target program will run. To reprogram the target with a new program simply repeat the step above. Note that each time the chip is programmed the Program Count indicator is incremented. Once you have downloaded your program to the target you may (if you wish) disconnect the serial cable. Your target program will launch automatically each time the target is reset.
|
| ||||||||||
|
| ||||||||||
Launching PICulator from inside an IDESome IDEs (Integrated Development Environments) supplied with compilers allow you to launch a command line programming utility from inside the IDE. To support this option the PICulator driver may be launched using command line parameters. To launch the driver using a command line , use the command : uflash -comn filename Where: -comn: is an optional com port specifier (n=1 to
4) Please refer to your IDE setup manual for instructions on how to configure your compiler to take advantage of this feature.
|
| ||||||||||
Using the driver with other COM portsSometimes, you may wish to connect the µFlash/PICulator to a serial port other than the default COM1. To do this:
The driver will recognize com ports 1-4. |
|
Home | Products | Technical Info | How to Order | Contact Us | Links