![]() | ![]() | ![]() |
| | |||||||
| 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) |
| The last one week i try to program a pic 16f628a, i'made a home built jdm programmer, and used icprog to program it, the first times it seemed to work, the burning was succesful, but after a few days nothing worked, i had the usual problem "Verify failed at address 0000h" (the address depends to the first nonzero address). I thought that maybe there was a problem with my programmer and i have rebuilt it 3 times... but there's still the same problem. So i concluded that the problem is with the software.. So i testes with both winpic800 an icprog and there's the same problem. Today i found that when i read the chip in the configuration byte it has the cp bit checked and i wonder what can i do now to remove it, I have tested 3 pics but all of them are code protected.. Any idea??? | |
| |
| | (permalink) |
| Try to Erase the pic first, it also erase the code protections | |
| |
| | (permalink) |
| Are you using the internal oscillator with /MCLR disabled? If that is the case, re-programming the 628A could be impossible because the JDM programmer can't control Vdd (it's always applied). I think that there is a modified version that overcomes that issue. Last edited by eng1; 12th January 2008 at 07:28 PM. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
But why it worked the first times i tested it? The programmer i built was found in this site: http://www.janson-soft.de/pic/pic.htm | ||
| |
| | (permalink) |
| I use this Paralelleport programmer and i like it very well http://www.lpilsley.co.uk/pdf/p16pro40.pdf | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
As these 'serial' port programmers don't even use the serial port, it's trival to add support for them in parallel port programmer software (as IC-Prog does). I made a deliberate decision NOT to support such progammers in WinPicProg because I didn't (and still don't) consider then a viable option. | ||
| |
| | (permalink) | |
| Quote:
Try to enable the Verify during programming mode in the settings of the programming software. then have a multimeter check of the Vpp on Capacitor C2 . if it is any thing less than 12V DC, perhaps you get the error "Verify failed at address 0000h". If possible try to increase the R1 (4K7) to 6K8. By this the Vpp LED will be Dim . Also try to , If possible increase R3 to 680
__________________ Regards, Sarma. Last edited by mvs sarma; 13th January 2008 at 02:56 PM. | ||
| |
| | (permalink) | |
| Quote:
I'll inform if i have further news | ||
| |
| | (permalink) |
| You are vasting your time building another not working JDM programmer, build instead the P16PRO40 programmer and you have a good programmer and it can program almost every pic | |
| |
| | (permalink) | |
| Quote:
Perhaps what i suggested is few Pennys worth the cost of 2 resistors and few cut & straps mods. he need not spend at all, hoping that these 2 resistors can be traces in his scrap box.
__________________ Regards, Sarma. | ||
| |
| | (permalink) |
| no solution found till now, it seems that the power provided by the serial port is not enough, and i have to build another programmer or a JDM programmer with external power supply. Does anyone have any suggestion or any schematic | |
| |
| | (permalink) |
| Like has been suggested multiple times in this thread, the P16PRO40 is a far more reliable programmer. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Quik PIC Programming kit | Krumlink | General Electronics Chat | 5 | 28th January 2008 12:27 AM |
| PIC Programming. | Joe McGivern | Electronic Projects Design/Ideas/Reviews | 4 | 1st December 2007 07:38 AM |
| Problems switchin relay with PIC | Andy1845c | General Electronics Chat | 5 | 17th November 2007 07:14 PM |
| Question about Inchworm+ | Quan | Micro Controllers | 54 | 28th October 2007 01:21 AM |
| Programming PIC to generate square wave | elec123 | Micro Controllers | 11 | 13th October 2007 02:15 PM |