I'm a beginner on PIC world. I'm doing a project with PIC PIC18F04Q40 and I'm curious if I can use the programmer/debugger present in a Curiosity HPC board to program the PIC18F04Q40 through ICSP programming, soldering the pins PGD, PCG, MCLR and VDD present on curiosity board to my custom board.
-
\$\begingroup\$ Yes, that should work just fine. Just don't forget to connect GND as well, which you didn't mention. \$\endgroup\$Klas-Kenny– Klas-Kenny2023年10月11日 08:01:14 +00:00Commented Oct 11, 2023 at 8:01
-
\$\begingroup\$ Thanks! I didn't mention GND because I know that I have also to connect it. \$\endgroup\$noob_programmer– noob_programmer2023年10月11日 08:17:10 +00:00Commented Oct 11, 2023 at 8:17
1 Answer 1
Yes, that should work just fine.
The programmer/debugger on the Curiosity HPC board is a PICKit On-Board 3 (PKOB), which has about the same capabilities as a regular PICKit 3.
Only major difference that I am aware of, is the lack of high-voltage programming capability in the PKOB. But as long as LVP is not disabled in the target MCU, LVP usually works fine.
Just don't forget to connect GND as well, which you didn't mention.