Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Programmer for a PIC16F886?

Status
Not open for further replies.

pdfruth

New Member
I've been using a JDM interface, and IC-Prog, to program my 16F88's.... works great :)

I'm starting a new project, using a 16F886. Went to program one of em, and found out (the hard way) that IC-Prog doesn't support that device. Neither does WinPic.

Anyone using 16F886? What do you use to program it?

I'm thinking I'll bite the bullet and get me a PICKit 2. Well, not a huge bullet to bite, at $35.00... but I do hate the wait. I've got my code written and I really want to get to testing the 16F886 in my target application.
 
The PICkit 2 will do it, so will an ICD2

I like the 16F886, I've used it on the Dragonfly kit and and it can be used on the Mogoose kit instead of the 18F2525.
 
Pommie said:
While your waiting for your new programmer to arrive, you might want to read this page.

Mike.

Hmmmmm, interesting..... you mean I can configure WinPic to handle this device???? Cool :D
What a noob I am :rolleyes:

Thanks for the pointer Mike.
 
Last edited:
I've had one of those "Ah Ha" moments.
I'm realizing that there is more than one "WinPic" out there.

I was trying to use the WinPic at; www.winpic800.com.

Which is not the same as the WinPic at; http://freenet-homepage.de/dl4yhf/winpicpr.html

Using the later, I was able to configure my own devices.ini file (as per the instructions in the link Mike provided above). I am now able to program a 16F886 using my trusty little JDM programmer :D
Thanks again Mike
 
Well done. Can you post the section you added to the config file so that others may benefit in the future.

Mike.
 
It would appear I have declared victory too soon.
I was able to get my code programmed into the 16F886 successfully, the first time. However, now that I've made a code change, I'm having trouble getting the code to [re]program. It appears the bulk erase algorithm required for the 16F886 is different from any of those supported by WinPic. :(
Darn... so close, yet so far away :mad:
 
pdfruth said:
It would appear I have declared victory too soon.
I was able to get my code programmed into the 16F886 successfully, the first time. However, now that I've made a code change, I'm having trouble getting the code to [re]program.
It's more likely to be a problem with the JDM programmer that doesn't controll Vdd. Are you using the internal oscillator with MCLR disabled?
Google for "PICPgm programmer". It supports the 16f88x.
 
Last edited:
pdfruth said:
It would appear I have declared victory too soon.
I was able to get my code programmed into the 16F886 successfully, the first time. However, now that I've made a code change, I'm having trouble getting the code to [re]program. It appears the bulk erase algorithm required for the 16F886 is different from any of those supported by WinPic. :(
Darn... so close, yet so far away :mad:


I had a look at the WinPic source code.
Good news... It looks like there's an erase algorithm (undocumented), called "16F617" that appears to do exactly what the 16F886 programming spec says is necessary. I updated my device.ini to use "EraseAlgo=16F716", and voila.... now I'm able to erase, and re-program my 16F886.

The programming works, but the verify fails after the programming operation completes. If I then, program just the config words, a verify runs cleanly.

It's a bit of a kludge, but it works :)
 
Last edited:
Status
Not open for further replies.

Latest threads

Back
Top