[HELP NEEDED] Programming failed at program memory address

Programmer, In-Circuit Debugger, PIC Start-Up Kit, Memory Interface...

[HELP NEEDED] Programming failed at program memory address

Postby mooookoooo » Mon Mar 15, 2010 4:36 pm

Hi all....
I'm using UIC00A+UIC00A Socket to program PIC18f4331 but it give me the error message of Programming failed at program memory address 0x000000. The simple program is wrote using mikroC.

void main(){
TRISB=0x00;

while(1){
portb.f0==1;
delay_ms(500);
portb.f0==0;
delay_ms(500);
}
}
mooookoooo
Greenhorn
 
Posts: 3
Joined: Wed Mar 10, 2010 12:52 am

Re: [HELP NEEDED] Programming failed at program memory address

Postby ober » Mon Mar 15, 2010 6:29 pm

Have you detected the PIC successfully?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: [HELP NEEDED] Programming failed at program memory address

Postby mooookoooo » Mon Mar 15, 2010 9:03 pm

yup... the programming kit detect my PIC, only failed to burn it inside.
mooookoooo
Greenhorn
 
Posts: 3
Joined: Wed Mar 10, 2010 12:52 am

Re: [HELP NEEDED] Programming failed at program memory address

Postby ober » Tue Mar 16, 2010 9:30 am

Is the hex code being compiled for correct model of PIC?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: [HELP NEEDED] Programming failed at program memory address

Postby gbb » Tue Apr 06, 2010 2:54 pm

the sk40c needs to be powered up when being loaded with the program. connect an adaptor to the power input. Must be at least 9VDc.
gbb
Freshie
 
Posts: 4
Joined: Tue Apr 06, 2010 2:43 pm


Return to PIC Development Tool

Who is online

Users browsing this forum: No registered users and 19 guests