• Pic® Basic


  • Choosing a Programmer

    A number of hardware programmers are available and some may be constructed by anyone reasonably competent with a soldering iron. The circuits for home construction usually access the parallel port on a computer.

    A common programmer from the early days is the P16Pro40, a kit based on the well known circuit by Bojan Dobaj. In association with the Winpic program it will still successfully program a wide range of chips in the 16F and the 18F series. Attach:P16Pro40.pdf

    Picall has parallel port programmers as kits and would be worth a look if you wish to build an inexpensive kit. The PicallW software works on a range of PICs and there is a reseller in the UK. http://picallw.feniks-pro.com/

    A common problem with Windows and parallel port programmers is that Windows will endeavour to prevent the programmer accessing the parallel port causing the programming to fail for the first few tries. This can be overcome by using a script file called XP_stop_polling.reg on the www.willem.org site. The script makes a change to the registry and prevents Windows polling the port.

    Many modern computers don’t have parallel or serial ports so if you are just starting out it would probably be wiser to buy a USB based programmer rather than one that needs a parallel or serial port on your computer.
    Some of the popular USB programmers are:
    PikKit2 from Microchip. This is a well regarded, inexpensive programmer. Reports on the Proton Forum suggest that this may your best choice. They are retailed by various companies and currently there is a UK magazine promotion for 10 UK pounds delivered. Here is the Digikey site:
    http://search.digikey.com/scripts/Dk...me=PG164120-ND

    ICD2, from Microchip, probably the best pic programmer there is, program any and all pics and comes with a lifetime guarantee.

    GTP-USB from the writer of Winpic800 at http://www.winpic800.com/index.php?lang=en

    Melabs U2 programmer and EPIC Plus Pic Microprogrammer from Melabs http://www.melabs.com/products/index.htm#Programmers

    USBprog from Embedinc at http://www.embedinc.com/products/usbprog/index.htm

    Choice of PICs

    If you are not familiar with the system of naming PICs, the “F” in the name represents Flash memory which may be programmed, erased and reprogrammed up to a 100,000 times. For industrial uses, such as use in a washing machine, factories will use the “C” series (CMOS burn once memory) but beginners should always buy the “F” series so that they can reprogram the code in case of mistakes. The Lite version of Proton supports just three flash PICs, the 12F675, 16F628A and the 16F877. Beginners should avoid the 12C508 as it has once only programming and is called in general an OTP (One Time Programmable).
  • Recent Activity

    teo-16018

    Microsoft security essentials blues

    Thread Starter: shantanu@india

    Hi, A strange thing happened just now.My Windows 7 Micrsoft Sercurity Essentials suddenly gave a warning that prplus.exe(Compiler) is a potential...

    teo Today, 19:23 Go to last post
    barak-1433

    SPI mssp

    Thread Starter: picprotonguy

    Just ordered Digital to Analog IC MCP4822 with SPI interface and immediately opened proton manual. I'm very disappointed, it looks like Proton...

    barak Today, 22:50 Go to last post
    David Barker-251

    UMC bootloader 18F46K22

    Thread Starter: shunt010

    Hi all. I am trying to build a UMC bootloader file for the 18F46K22, and it doesn't appear to work. It returns (in the error log) Error ...

    David Barker Today, 11:20 Go to last post