| Author |
Message |
fanir
Joined: 02 Oct 2005 Posts: 23
|
12 Oct 2005 8:17 error programming pic16f877 |
|
|
|
|
Hello all, I'm having a problem that is stalling my project's progress.
I'm trying to program my PIC using JDM's schematics [designed it with prototype board] with ICPROG software but when I try to program, it says "error 0001h".
Any ideas?
Here's what I thought might be the problem.
1. I'm using a serial port to my PC and a Yamaha CBX driver, I've installed it but how do I check that my PC is already connected to JDM's programmer?
2. Maybe my connections are wrong on the prototype board but I've done it twice and this time as slow as it goes to ensure everything goes the way it is done.
3. PIC wacked? For me, it's highly unlikely as it's still 2 days old.
Help.
Added after 36 minutes:
Also, even when my JDM circuit is not connected to my PC, it still gives the same error.
Added after 39 minutes:
I think now I'm convinced that my computer is not receiving any output. How do I check if my circuit is correct? Anyone used/installed Yamaha CBX driver?
|
|
| Back to top |
|
 |
janakiram.sistla
Joined: 21 Sep 2005 Posts: 45 Helped: 4
|
12 Oct 2005 12:27 ic prog 0001h error |
|
|
|
|
i have earlier worked on pic but on a different compiler and kit not that u have mentioned but by what u say there can possibilites like this
1)close all other serial port operations and restart ur pic and do the programming things .
2)the other is check the status of booting pins whether they in correct position or not when the device is getting booted connections to ground and vdd.
One thing is sure ur pic wont get damaged to check it
1)check connectivity between 11 and 32 and 12 and 31 ie common vdd ,common vss in 16f877 11 is interconnected to 32 and 12 with 31 if i m not wrong
2)if u have an CRO c the output of crystal osc pins of pic it should give the req frq output u have given in crystal oscillator.
Added after 1 minutes:
i have earlier worked on pic but on a different compiler and kit not that u have mentioned but by what u say there can possibilites like this
1)close all other serial port operations and restart ur pic and do the programming things .
2)the other is check the status of booting pins whether they in correct position or not when the device is getting booted connections to ground and vdd.
One thing is sure ur pic wont get damaged to check it
1)check connectivity between 11 and 32 and 12 and 31 ie common vdd ,common vss in 16f877 11 is interconnected to 32 and 12 with 31 if i m not wrong
2)if u have an CRO c the output of crystal osc pins of pic it should give the req frq output u have given in crystal oscillator.
|
|
| Back to top |
|
 |
fanir
Joined: 02 Oct 2005 Posts: 23
|
12 Oct 2005 14:33 error 0001h en icprog |
|
|
|
|
Done that but it gives me 0001h error again.
|
|
| Back to top |
|
 |
swapgo
Joined: 24 Jun 2004 Posts: 127 Helped: 2
|
12 Oct 2005 14:47 program with tht error |
|
|
|
|
Hai,
Scan you computer for viruses because the communications can be affected by some viruses.
I am not saying this is a reason but you can try it.
Regards
Gopi
|
|
| Back to top |
|
 |
fanir
Joined: 02 Oct 2005 Posts: 23
|
12 Oct 2005 15:36 0001h |
|
|
|
|
| Yeap, tried them. The problem is that my PC is not detecting any inputs from my circuit and I've checked it gazillion times.
|
|
| Back to top |
|
 |
fanir
Joined: 02 Oct 2005 Posts: 23
|
13 Oct 2005 17:20 Re: 0001h error while trying to program PIC16F877 |
|
|
|
|
Help..
Btw, is it better to build JDM on a PCB/Stripboard or an Breadboard?
|
|
| Back to top |
|
 |
sp
Joined: 01 Jan 2004 Posts: 420 Helped: 27 Location: Floating Garden
|
14 Oct 2005 0:35 0001h error while trying to program PIC16F877 |
|
|
|
|
i hav faced tht error many times n i can solve it by check whether u hav plug the chip upside down or most of the time... i reprogram it and it work...
regards,
sp
|
|
| Back to top |
|
 |
Google AdSense

|
14 Oct 2005 0:35 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
sxianz
Joined: 12 Oct 2005 Posts: 2
|
14 Oct 2005 8:26 0001h error while trying to program PIC16F877 |
|
|
|
|
hi guys,
If you have use macro such as "#define XX 0x0001",the compiler may say "0001h error" when the statements which use XX is error.
|
|
| Back to top |
|
 |