|
|
View previous topic :: View next topic |
Author |
Message |
digitalfreak
Joined: 16 Feb 2005 Posts: 25
|
RB5/PGM, 18F452, ICD2 and ICSP |
Posted: Tue Jul 11, 2006 11:59 am |
|
|
Hi,
I am new to ICD2, I use for programming (ICSP) 18F452. I can program, verify, erase fine so I think I got ICD2 right!...The PIC is running good with couple of Steppers and a DC to drive and few sensors. Except the pin RB5/PGM.
I cannot get RB5 to work right!. I did a simple output_high to test, still it didnot work!. Is any there anything I have to do extra for this pin to work?.
I actually want this pin to work as an input.
While programming
I have :
1- MCLR
2- Vdd
3- Vss
4- PGD/RB7
5- PGC/RB6
6- Not Connected.
My fuses are:
Code: | #fuses HS, PUT, BROWNOUT, NOWDT, NOLVP, NOCPD, NOPROTECT, NOWRT |
Plase help,
Thanks |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jul 12, 2006 12:29 am |
|
|
This problem probably doesn't have anything to do with the ICD2.
You should post this question in the main forum.
http://www.ccsinfo.com/forum/viewforum.php?f=1
When you do that, post a very small test program that demonstrates the
problem. Show all #include, #use, and #fuses statements.
Post a complete program, not code fragments. Also, describe the
external components and circuits that you have connected to pin B5.
But do this in the main forum. |
|
|
|
|
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
|