[SOLVED] problem with PGM pin (15th pin ) of PIC4520

Status
Not open for further replies.

Raady Here

Full Member level 5
Joined
Jun 8, 2013
Messages
242
Helped
26
Reputation
52
Reaction score
26
Trophy points
28
Location
India
Activity points
1,571
PIC18F4520
MPLAB 8.8

Hi,

I working with 32 leds connected to 32 port pins. LEDs toggle according to the requirment.
For 15th pin of the MC (RB5/PGM), I am not able to use this.
I have probed at pin, even if I program the pin to be high it doesnt show any voltage and LED doesnt glow.
How can it be made digital i/O pin

Regards,
Raady
 

this is from the manual :

23.9 Single-Supply ICSP Programming
The LVP Configuration bit enables Single-Supply ICSP
Programming (formerly known as Low-Voltage ICSP
Programming or LVP). When Single-Supply Program-
ming is enabled, the microcontroller can be programmed
without requiring high voltage being applied to the
MCLR/VPP/RE3 pin, but the RB5/KBI1/PGM pin is then
dedicated to controlling Program mode entry and is not
available as a general purpose I/O
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…