Problem with PIC18F2550 ICSP
Posted: Thu Feb 14, 2008 5:06 am
Hey guys,
I have (almost) successfully built my Megadrum. I'm having a really hard time to programm the PIC18F2550. Programming the Atmega 32 was really easy. But I just couldn't do the same with the USB CI. I read a topic where estregan was facing a similar problem. I tried all the suggestions that dimitri sent and still couldn't get the WinPic to recognize properly the IC.
I know that it may sound like a really dumb question, but should I connect the terminals 1 and 2 of the ICSP somewhere? In the diagram they are shown not connected to anything so I assumed that they had no use. But after watching more carefully the PIC18F2550 connections, I have the feeling that they should be connected to something. And that may be the reason of all my problems.
With WinPic, I'm getting the following readings for pins 26, 26 and 28 of the PIC18F2550:
Vpp checked -> pin 26 = +5.79
Vpp unchecked -> pin 26 = -0.59V
Clock checked -> pin 27 = +5.86
Clock unchecked -> pin 27 = -0.61v
Data (to PC) checked -> pin 28 = +3.83V
Data (to PC) unchecked -> pin 28 = -0.60V
which is pretty close to dimitri's readings.
So, if anyone could help, I'd appreciate it!
I have (almost) successfully built my Megadrum. I'm having a really hard time to programm the PIC18F2550. Programming the Atmega 32 was really easy. But I just couldn't do the same with the USB CI. I read a topic where estregan was facing a similar problem. I tried all the suggestions that dimitri sent and still couldn't get the WinPic to recognize properly the IC.
I know that it may sound like a really dumb question, but should I connect the terminals 1 and 2 of the ICSP somewhere? In the diagram they are shown not connected to anything so I assumed that they had no use. But after watching more carefully the PIC18F2550 connections, I have the feeling that they should be connected to something. And that may be the reason of all my problems.
With WinPic, I'm getting the following readings for pins 26, 26 and 28 of the PIC18F2550:
Vpp checked -> pin 26 = +5.79
Vpp unchecked -> pin 26 = -0.59V
Clock checked -> pin 27 = +5.86
Clock unchecked -> pin 27 = -0.61v
Data (to PC) checked -> pin 28 = +3.83V
Data (to PC) unchecked -> pin 28 = -0.60V
which is pretty close to dimitri's readings.
So, if anyone could help, I'd appreciate it!