electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

0001h error while trying to program PIC16F877


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> 0001h error while trying to program PIC16F877
Author Message
fanir



Joined: 02 Oct 2005
Posts: 23


Post12 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. Neutral

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


Post12 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


Post12 Oct 2005 14:33   

error 0001h en icprog


Done that but it gives me 0001h error again. Neutral
Back to top
swapgo



Joined: 24 Jun 2004
Posts: 127
Helped: 2


Post12 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


Post12 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


Post13 Oct 2005 17:20   

Re: 0001h error while trying to program PIC16F877


Help.. Crying or Very sad

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


Post14 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
Google Adsense




Post14 Oct 2005 0:35   

Ads




Back to top
sxianz



Joined: 12 Oct 2005
Posts: 2


Post14 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
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> 0001h error while trying to program PIC16F877
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Wrong output while trying to use module repeatedly..Help! (3)
ic5141 error-icfb.exe: error while loading shared libraries (5)
problem trying to program 16f818 (1)
Problem with IC-Prog trying to program PIC16FXXX (16)
Trying to program the PIC10F222, some help needed (20)
BLINK.BAS - Trying to program PIC16F84A.. Please help!! (3)
Error trying to map design in Xilinx Proj. Navigator (4)
PIC16f877 C program (7)
Error while programming pic18f4550 . (2)
ERROR while loading design in modelsim 5.6 (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS