I'm wondering how a pic16f819 would be programmed. Assuming I put the PIC into the 20 pin socket on the PCB how does the programming of this chip work? The programming pins on the 16f819 are PGC pin 12 (clock) and PGD pin 13 (data). Which pins on your board would I need to connect to the PIC16F819 in order to program it.Would RB5(U3) connect to PGD(pin 13) and RB6(U3) connect to PGC (pin 12) on the PIC?Which pins on the PIC18F2550 are used as master clear,clock and data pins when programming the target PIC? Just trying to clarify how fitting different PICs in the socket would work. Also what does VPPU and VDDU do? Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are describing the schematic diagram: yes, it works this way.
VPPU and VDDU are actively controlled by the 18F2550 to provide proper supply and high programming voltage.
A more in-depth description is provided on the project website.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now I have the problem of trying to get the target PIC16F819 programmed. I keep getting
Communication timeout
USB voltage too low (VUSB<4.5V)
unknown device
It seems to have problems reading the target device. I've confirmed that VDDU is active during programming (with an LED and resistor).
It's on breadboard at the moment.
Which connections are required on the PIC socket for the 16f819? I'm used to only using the 5 connections for ICSP (which I used to program the 18f2550 using an ICD4). There are 2 sets of connections to RB5 and RB6 on the PIC socket that go to the 18f2550. Which ones do I use? Do I have to connect to RB7?
What voltage should be present on VDDU and VPPU during programming?
Also, I'm using BC183L (NPN) and BC212L(PNP) transistors. Does this make a difference?
I normally use RB7(PGD) and RB6(PGC), MCLR and VDD/VCC to program the 819 using an ICD3/4. In what way does your programmer differ? Also, should I change any config fuses in my target device. I hope you can help. Thanks.
David.
PS Thanks for the latest Kicad files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First thing to do after assembly is the hardware test: if voltages are correct you most probably won't have any problem.
Unknown device means that the target is not in program mode.
Which connections are required on the PIC socket for the 16f819? I'm used to only using the 5 connections for ICSP (which I used to program the 18f2550 using an ICD4). There are 2 sets of connections to RB5 and RB6 on the PIC socket that go to the 18f2550. Which ones do I use? Do I have to connect to RB7?
Looking at the schematic, U3 supports target devices of 8-14-18-20 pin by replicating the same ICSP lines in different locations: PGC,PGD,PGM corresponding to RB6,RB5,RB7. PGM is only for low voltage programming which is supported in hardware but never used, so RB7 can be left unconnected.
The 16F819 requires VDDU=5V and VPPU=13V
Any transistor is fine as long as you keep emitter, base, collector as in the schematic.
I normally use RB7(PGD) and RB6(PGC), MCLR and VDD/VCC to program the 819 using an ICD3/4. In what way does your programmer differ? Also, should I change any config fuses in my target device.
What schematic are you referring to? Any PIC16 device requires PGD/PGC/VPP/VCC/GND for high voltage programming. The notation RBX refers to a schematic (which one?) or to port assignments of you target 16F819?
Any programmer follows the programming specifications, including ICD3/4.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm wondering how a pic16f819 would be programmed. Assuming I put the PIC into the 20 pin socket on the PCB how does the programming of this chip work? The programming pins on the 16f819 are PGC pin 12 (clock) and PGD pin 13 (data). Which pins on your board would I need to connect to the PIC16F819 in order to program it.Would RB5(U3) connect to PGD(pin 13) and RB6(U3) connect to PGC (pin 12) on the PIC?Which pins on the PIC18F2550 are used as master clear,clock and data pins when programming the target PIC? Just trying to clarify how fitting different PICs in the socket would work. Also what does VPPU and VDDU do? Thanks.
You are describing the schematic diagram: yes, it works this way.
VPPU and VDDU are actively controlled by the 18F2550 to provide proper supply and high programming voltage.
A more in-depth description is provided on the project website.
I've got the PIC18F2550 firmware programmed OK. Opgui reports
Programmer detected
VID=0x1209 PID=0x5432
Firmware version 0.11.2
Hardware ID: 0.0.1 (18F2550)
Now I have the problem of trying to get the target PIC16F819 programmed. I keep getting
Communication timeout
USB voltage too low (VUSB<4.5V)
unknown device
It seems to have problems reading the target device. I've confirmed that VDDU is active during programming (with an LED and resistor).
It's on breadboard at the moment.
Which connections are required on the PIC socket for the 16f819? I'm used to only using the 5 connections for ICSP (which I used to program the 18f2550 using an ICD4). There are 2 sets of connections to RB5 and RB6 on the PIC socket that go to the 18f2550. Which ones do I use? Do I have to connect to RB7?
What voltage should be present on VDDU and VPPU during programming?
Also, I'm using BC183L (NPN) and BC212L(PNP) transistors. Does this make a difference?
I normally use RB7(PGD) and RB6(PGC), MCLR and VDD/VCC to program the 819 using an ICD3/4. In what way does your programmer differ? Also, should I change any config fuses in my target device. I hope you can help. Thanks.
David.
PS Thanks for the latest Kicad files.
First thing to do after assembly is the hardware test: if voltages are correct you most probably won't have any problem.
Unknown device means that the target is not in program mode.
Looking at the schematic, U3 supports target devices of 8-14-18-20 pin by replicating the same ICSP lines in different locations: PGC,PGD,PGM corresponding to RB6,RB5,RB7. PGM is only for low voltage programming which is supported in hardware but never used, so RB7 can be left unconnected.
The 16F819 requires VDDU=5V and VPPU=13V
Any transistor is fine as long as you keep emitter, base, collector as in the schematic.
What schematic are you referring to? Any PIC16 device requires PGD/PGC/VPP/VCC/GND for high voltage programming. The notation RBX refers to a schematic (which one?) or to port assignments of you target 16F819?
Any programmer follows the programming specifications, including ICD3/4.