Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] trouble while programming pic16f877

Status
Not open for further replies.

Ukd123

Newbie level 4
Joined
Jun 6, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Westbengal
Activity points
1,325
I am familiar with 51mcu.Just I have started with pic16f877. I had programmed one with a small led blink program and worked well. but further programming on that pic is not accecpting, programmer displaying 'program failed at address 0000h'. This happened on another 7 nos. pic mcus. I think that I am doing something wrong somewhere,please help.
My programmer is TOP3000 universal programmer.
 

Usually this message mean that the programming software is not able to communicate with the programmer or does not receive information from the programmer about the pic.

Triple check your connection to the programmer, and check if the programmes "sees" the pic.

Pigi
 

Ukd123,
If I'm not wrong you said that you have been able to program one pic, with a simple code, then you started having problems, and you had problem with 7 different pic.

If this is correct, I advise you to check for cable/programmer as I run into same problems when I was using some old-style programmers, and solved them definitivelly after I bought, for very few euros, an original Microchip programmer.

The problem was in the way those kind of programmer works.

BTW no problem, I told you my experiences, but YMMV.


Pigi
 

Do you select the corrent mcu? 877 o 877A?
Did you program ONE time only every NEW (unused) mcu and could not program them second time?

1) Does you programmer support low voltage and high voltage programming? If yes, select high voltage programming.

2) You should use a bulk erase first, in case you have lock your code with configuration bits.

Post images of the programming interface of the device you use to program and of the confuguration bits that you define in your source code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top