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] Program error via genius g840

Status
Not open for further replies.

haiderusman

Newbie level 3
Joined
Apr 1, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
26
I am getting "program error" while burning code in 16f877a via genius g840 programmer
 

kanni1303

Full Member level 3
Joined
Jun 29, 2012
Messages
164
Helped
12
Reputation
24
Reaction score
11
Trophy points
1,298
Location
Chennai, Tamil Nadu, India
Activity points
2,701
there are lot problems may occur
Improper Voltage set
Improper CONFIG bits
wiring problem
IC problem
Programmer problem
Kindly elaborate your question to identify the problem, Are you to detect the PIC?
 

haiderusman

Newbie level 3
Joined
Apr 1, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
26
PIC16f877a is being detected by Genius G840 programmer.
I am trying to test an example code of LED Blinking,
the code is as follows.
void main() {
PORTC = 0;
TRISC = 0;

while(1) {
PORTC = ~PORTC;
Delay_ms(1000);
}
}

I am trying to burn the hex file of above mentioned code compiled in MikroC. where I have set the oscillator frequency as 20 Mhz and device is selected as PIC16F877A

Now where can I set the proper voltage ?
and what should be the configuration bits values to program.

At the moment the programmer is erasing, doing blank check but when it comes to programming its gives
"Program Error"

Where I am going wrong?
 

haiderusman

Newbie level 3
Joined
Apr 1, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
26
I have not another PIC available.
and can you please tell where I can get driver for Genius G840 IC Programmer for windows 7, 8, 8.1 ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top