|
|
View previous topic :: View next topic |
Author |
Message |
xav27 Guest
|
Help me Can't programm PIC16F877 with ICD-S |
Posted: Wed Apr 14, 2004 4:03 am |
|
|
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
|
|
Posted: Wed Apr 14, 2004 6:31 am |
|
|
3FFF indicates a blank chip. Make sure all the connections from the ICD to your chip are correct. |
|
|
xav27 Guest
|
|
Posted: Wed Apr 14, 2004 7:12 am |
|
|
Thanks Haplo,
It was just because I had Vcc too low ....
Sorry for all
Xavier |
|
|
|
|
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
|