DLP-FLASH2 LEAD-FREE USB-BASED FLASH PROGRAMMER/DEBUGGER USB-BASED FLASH PROGRAMMER/DEBUGGER 1.0 INTRODUCTION The DLP-FLASH2 is a complete in-circuit debugging and programming solution for Microchip s PIC16Fxx and PIC18Fxx PIC MCUs. The DLP-FLASH2 can debug all PIC16 and PIC18 targets that support debug mode. It also provides in-circuit serial programming (ICSP) support for FLASH- based PIC microcontrollers. The DLP-FLASH2 unit is compatible with the CCS PCW debugger or the standalone ICD control software. The PCW debugger is integrated into the IDE of the PCW and PCWH compilers and provides very detailed debugging information at the C level. The standalone ICD control software ships with CCS compilers and allows you to quickly program target chips using ICSP. The ICD control software also facilitates updating the DLP-FLASH2 s firmware without having to connect to a device programmer. The DLP-FLASH2 allows in-circuit programming of target microcontrollers. All that is needed for device programming on user target designs is a 6-pin header plus a few support components and power isolation if the target electronics draw in excess of 300mA at 5 volts or operate at a voltage other than 5 volts. The microcontroller can be soldered in place during the manufacturing process and programmed at a later date to ensure that the final product is shipped with the most recent firmware version. NOTE: The DLP-FLASH2 only works with CCS Software. The MPLAB IDE is not supported. 2.0 DLP-FLASH2 FEATURES The DLP-FLASH2 is compatible with over 200 PIC microcontrollers. For a complete list of supported devices, visit the CCS website: The DLP-FLASH2 programmer is compatible with the family of CCS C compilers. The DLP-FLASH2 is directly supported by the IDE programming environment as well as by the ICD programming software available from CCS. 3.0 POWER CONSIDERATIONS The DLP-FLASH2 programmer board has the ability to supply 5-volt powervia the programming headerto the target microcontroller for programming and debug. The circuitry that is connected to Pin 5 of the DLP-FLASH2 programmer must not draw more than 300mA. If the target electronics draw more than 300mA on the 5-volt line or the target operates at a voltage other than 5 volts, then they must be externally powered and electrically isolated from the DLP-FLASH2 by removing the TPWR jumper. NOTE: If programming a microcontroller that is installed in target electronics, it will most likely be necessary to apply power to the targets circuitry before programming. The DLP-FLASH2 programmer can supply a minimal amount of 5-volt power for either a circuit that requires very little power or for just a microcontroller. As a rule of thumb, if the microcontroller to be programmed is connected to target electronics, always apply power to the microcontroller and remove the TPWR jumper before connecting to the DLP-FLASH2. 4.0 QUICK-START GUIDE This guide requires the use of a Windows 2000/XP PC that is equipped with a USB port. If the DLP- FLASH board is connected to your PC, unplug it at this time. 1. Download the CDM drivers from this page: www.dlpdesign.com/flash2/. Unzip the drivers into a folder on the hard drive. (Be sure to Extract the files from the archive so as to maintain the folder structure.) 2. Connect the DLP-FLASH programmer board to the PC. A USB extension cable of 10 feet or less in length can be used to allow more freedom of movement with the DLP-FLASH2. 3. This action initiates the loading of the USB drivers. When prompted, select the folder where the device drivers were stored in Step 1. Windows will then complete the installation of the device drivers for the DLP-FLASH2 board. The next time the DLP-FLASH2 module is attached, the host PC will immediately load the correct drivers without any prompting. Reboot the PC if prompted to do so. 4. At this point, the DLP-FLASH2 is ready for use. Run the CCS IDE software or the ICD control software. For additional information on how to use the CCS debugger, visit the CCS website: