![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) | |
| hey guys, i have built this PIC programmer: Trying to program an .hex file into the pic i get these errors: http://feng3.cool.ne.jp/en/pg5v2.html Quote:
| ||
| |
| | (permalink) |
| It could be that the software is trying to program a different PIC from the one that you are using. That could be why it is coming up with the "16F716" in the error file. It is also possible that it has simply failed to program at all, but it can read it OK. | |
| |
| | (permalink) |
| well this happends with ICProg and WinPIC... it reads ok (it sees it as empty..) its starts the programming.. looks like it finishes.. then it verify the data and the data comes out wrong.. what could cause this? i have checked my circuit.. its seems ok.. what could it be? | |
| |
| | (permalink) | ||
| Quote:
Quote:
Erase and read the chip before programming. See if the memory is all $3fff's. Then program it and read again. If it's still $3fff's then the programmer isn't working.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | |||
| |
| | (permalink) |
| Sounds to me like yes, as someone said, you are trying to program the wrong chip. That could be why it's seeing stuff where it wanted to see something else. Sorry, I can't help much. I normally use MPLAB with PICKit 2 to program.
__________________ If it is broken, let's fix it. If it is working, let's make it better. | |
| |
| | (permalink) | |
| Well, im pretty sure its the right pic its: PIC19F874A-I/P thats what the PIC has on it... and that IS what iv selected on WinPIC... i have built this circuit 3 times already: http://feng3.cool.ne.jp/en/pg5v2.html Quote:
please guys.. help me out here!! this is really important to me :-\ what should i do? the interface is identified with WinPIC.. the red led goes on.. will MPLAB work with this PIC programmer? | ||
| |
| | (permalink) | |
| Quote:
No, MPLAB will not work with a JDM. MPLAB will assemble or compile your asm or C code to hex files, but you have to use other software to program that hex file into the PIC with your JDM programmer.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | (permalink) |
| ok so u don't like JDM programmers :] understandable.. maybe i can try the RCD programmer? problem is, it only got 18pins... i don't really know which pins to connect to my PIC16F874A which has 40 pins...? | |
| |
| | (permalink) |
| Geesh, if you can buy PICs then you can buy a PICkit2. They come from the same supplier. Any place that can sell you a PIC should be able to get you a PICkit2. They're not expensive either. Even a Wisp648 is a big step up from a JDM. I have a Wisp628, and it's not so bad. But once I finally stepped up to using ICD2 and PICkit2 programmers I finally stopped fiddling with the programmers and started actually getting something done with PICs.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 7th March 2008 at 07:30 PM. | |
| |
| | (permalink) |
| well im from Israel, and a PICkit2 or any other PIC programmer is not available on any electronic store.. trust me, i have been to all of them.. :\ | |
| |
| | (permalink) | |
| Quote:
Here's a link to Microchip sales, rep and distributors in Israel: http://www.microchip.com/stellent/id...country=Israel
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 7th March 2008 at 10:04 PM. | ||
| |
| | (permalink) |
| i have been able to find something.. what do u say if i use this: http://www.olimex.com/dev/images/pic-pg1-sch.gif ?? will it work? | |
| |
| | (permalink) |
| That is a JDM programmer. Try ordering directly from Microchip. I think they'll ship to almost everywhere. | |
| |
| | (permalink) |
| Tomorrow im going to get a progammer from olimex.com.. should be a good one.. but for now im trying to make that JDM programmer work.. i'v emailed the dude who built the circuit and he said that this kind of PIC have a PGM pin for LVP(Low voltage programming). and if i want to program the PIC i need to PULL PGM pin to Vss. i have tried to connect PGM to VSS (both of the VSS pins.. ) but still got the same errors.. its seems like it doesnt even read from the PIC.. is there a software that monitors the RS-232 input and output? | |
| |
| | (permalink) |
| Why, when someone tells you that the olimex programmer is a JDM and you know that it doesn't work with your PC are you going to order one? Just order a Pickit2 from Microchip or a Junebug from Bill's site. Mike. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Question about Inchworm+ | Quan | Micro Controllers | 54 | 28th October 2007 01:21 AM |
| UNIT Committment solution using Dynamic programming | arijit18 | Electronic Projects | 1 | 18th October 2007 09:28 PM |
| my first 16F88 has me stumped | Hank Fletcher | Micro Controllers | 15 | 3rd August 2007 04:22 PM |
| Programming languages | sram | General Electronics Chat | 9 | 2nd March 2007 05:15 PM |
| Good Computer Programming Book | ThermalRunaway | Chit-Chat | 21 | 16th September 2005 11:05 PM |