logo image - link to home page

Products | Support | Resources | PurchaseContact  | Basket  | Checkout

  Home
  What's New
  Products
  Distributors
  Purchasing Info
  Developer Resources
  Support
  Upgrades
  Site Index
  Contact Us
  Pb-Free Info (RoHS)
 

 

keyword search:
 


 

Home:
  Support home:
General Topics:
    FAQ
    MCU selector guide
    Developer's resources
    Downloads and patches
    Sample programs
Support by Product:
    melabs USB/U2 
Programmer
    melabs Serial 
Programmer
    EPIC™ Plus PICmicro®  
Programmer
    Programming Adapters
    PICBASIC PRO™ 
Compiler
    PICBASIC™ Compiler
    PICPROTO™ Boards
    LAB-X1 Experimenter Board
    LAB-X2 Experimenter Board
    LAB-X3 Experimenter Board
    LAB-X4 Experimenter Board
    LAB-X18 Experimenter Board
    LAB-X20 Experimenter Board
    LAB-XT Experimenter Board
    LAB-XUSB Experimenter 
Board
    melabs Loader
 

Modifying EPIC.INI for problems with FLASH MCUs

On some computers, you may encounter intermittent problems when attempting to program Microchip's FLASH devices with the EPIC™ Programmer using EPICWIN software.  Users of meProg software should not attempt these modifications.

These changes should only be made for the FLASH parts, which are denoted with an "F" in the device number (16F877, 18F452, etc.)

These parameters may be changed to suit your computer.  This is accomplished by editing a file called EPIC.INI, which is found in the directory where your EPIC software is installed.

Open the file in a text editor such as Wordpad.  If you use a word processor, make sure you save the file as plain text.  Depending on the software you use, you may have to select "plain text", "ASCII", "text only", "unformatted text", or other settings that won't add formatting information to the file.

The information in the file is grouped according to the device part number.  Each Microchip MCU has a group of parameters that represent its programming specification.  

The parameters that control the erasure and programming of the chip may be increased for slower, more reliable operation.  These parameters are named ProgTime and EraseTime.  Increase the value of these parameters, then save the file and restart the EPIC software.  Don't increase the values beyond 20000.

Below is an example of a change for the PIC16F877.  The EraseTime has been increased to 20000.

[PIC16F877]
CoreType=14
CodeSize=8192
DataSize=256
EEPROM=1
ProgCount=1
ProgMult=0
ProgTime=5000
EraseTime=20000
BaseConfig=0x3fff
ConfigMask=0x3bff
OscMask=0x0003
...
 

Copyright 2008
microEngineering Labs, Inc.
Box 60039
Colorado Springs CO 80960
(719) 520-5323
(719) 520-1867 fax
email: support@melabs.com

Last Updated: 01/04/2008

Home | What's New | Products | Support
Resources
| Purchase | Index Contact

PIC, PICmicro, dsPIC, and  MPLAB are registered trademarks of Microchip Technology Inc. in the USA and other countries.  PICBASIC, PICBASIC PRO, PICPROTO, and EPIC are trademarks of Microchip Technology Inc. in the USA and other countries.   BASIC Stamp is a trademark of Parallax, Inc.

Microchip third-party partner  Microchip Consultant Program Member