CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Help me Can't programm PIC16F877 with ICD-S

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
xav27
Guest







Help me Can't programm PIC16F877 with ICD-S
PostPosted: Wed Apr 14, 2004 4:03 am     Reply with quote

Hello everybody,

I'm using PCW V3.187, ICD-S and PIC16F877-20/L

I just can't programm the chip using ICD-S :
After a "Download to Target" a window popup and says "Verification Result" all address are read 3FFF.
Configuration Fuse Actual : 7E 3E and should be 7E 3F !?
CPD is unchanged.
If I erase the chip and then Read Device Configuration the result is FF 3E
( RC,WDT,NOPUT,NOPROTECT,BROWNOUT,LVP,CPD,NOWRT,NODEBUG)

Here is my little test programm :

#if defined(__PCM__)
#include <16F877.h>
#fuses HS,NOLVP,NOCPD
#use delay(clock=20000000)
#use rs232(baud=115200, xmit=PIN_C6, rcv=PIN_C7, PARITY=N)
#endif

main() {

puts("\r\n");
printf("Test PIC16F877 Date : ");
puts(__DATE__);
while(TRUE);
}

What is goin wrong ?
Can anyone help me ?

Thanks in advance
Xavier
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Wed Apr 14, 2004 6:31 am     Reply with quote

3FFF indicates a blank chip. Make sure all the connections from the ICD to your chip are correct.
xav27
Guest







PostPosted: Wed Apr 14, 2004 7:12 am     Reply with quote

Thanks Haplo,

It was just because I had Vcc too low ....

Sorry for all

Xavier
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group