![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
First off let me say that this is my first time using the pic. I have 2 pic16f84a and would like to build a programmer for them. I went through the Newcomers, please read! (PIC regarded) post and am getting confused. Seems to be alot of options and Im wondering which way to go. What in your opion is the best route to take. I downloaded the mplab and installed it. This seems to be a pretty good looking piece of software, I would like to use it if possible (can it be used with any pic programmer?) but am open to suggestions.
|
|
|
|
|
|
|
(permalink) |
|
If someone has built more then one of the pics listed in the help post then please let me know which of them you would recomend. Or if you know of a better one no listed then send me a link. Thanks again....
|
|
|
|
|
|
|
(permalink) |
|
First see the sticky posts for this forum for a lot of how to get started info.
For a first time PICer I suggest you buy your first programmer. It will save you a lot of time and headache. Maybe the PIC-PG2. With shipping about $15. You will not be able to use MPLAB with it, but since the 16F84A does not have any breakpoints there is no real downside. SparkFun provides the schematics for the PIC-PG2 and other programmers so you could build one from scratch if you like. In time you will want to move up to an In Circuit Debugger like the Inchworm ICD2 clone kit that was designed by one of the regulars on this forum. 3v0 |
|
|
|
|
|
|
(permalink) | |
|
Quote:
I think 3v0 means that you can't programme a PIC from MPLAB with this PIC Programmer. However, you can use MPLAB to write, test and compile your programmes. MPLAB will produce a Hex file that you can then load into the PIC via the programmer using software such as icprog.
__________________
Len |
||
|
|
|
|
|
(permalink) | |
|
Quote:
I looked at building my own programmer too, but decided it was far easier to order the inchworm kit. My only regret is I didn't get the firefly companion board at the same time. As soon as I get some extra cash i'm gonna send for one. |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
--------------------------------------------------------------------- |
||
|
|
|
|
|
(permalink) | |
|
Quote:
here is the original link http://www.talkingelectronics.com/Fr...ipPgmr-P1.html |
||
|
|
|
|
|
(permalink) |
|
I recommend Sparkfun's $99 ICD2 programmer/debugger. It's a cheap clone of Microchip's ICD2 and is supported with Microchip's ICD2 software releases. It's a do-it-all device and probably the last programmer you'll ever need. I mean the new dsPIC series came out after this thing and the all program just fine with it, but few other programmers can work with them. ICD2 is a tremendous help in code development.
Also very very fast. I just think getting into PICs is enough work in itself, and programmers are so touchy from one setup to another that it's not worth the hassle.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes. Last edited by Oznog; 2nd February 2007 at 04:41 AM. |
|
|
|
|
|
|
(permalink) |
|
Ok I just finished putting it together on a proto board.
I built the following: JDM Programmer (Ludipipo) http://www.ic-prog.com/index1.htm I have hooked it up straight to my com1 port on the computer. Now how the heck do I check to see if it is working? |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Your programmer is working if you can read the ID and flash content of the PIC, erase it and re-program it with the HEX file that you have made previously using MPLAB.
__________________
L.Chung |
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
Just do a READ operation on the PIC to see if one can read back the PIC ID correctly. If you can't no point trying to program it with a HEX file. For most programming softwares, there are options inside the software to check the hardware connections by turning ON/OFF the voltage on MCLR pin, VDD pin & PGD and PGC pins to verify the actual connection of the programmer to the PC.
__________________
L.Chung |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| programmer! | 4electros | Micro Controllers | 8 | 12th November 2007 07:47 PM |
| PIC Programmer using C | burg | General Electronics Chat | 2 | 24th January 2007 07:26 AM |
| PIC programmer & WinPicProg: my findings | eblc1388 | Micro Controllers | 5 | 27th August 2005 11:13 AM |
| PIC Programmer through COM and ICSP (JDM ??) | test1 | Micro Controllers | 6 | 12th October 2004 08:06 AM |