1

I am currently learning about using PIC18F4550 for my project. Is there any way that I can load the program into the PIC without using ICSP or PICKit? At the first time of using the PIC, can we use USB to load the program into the PIC?

2
  • You need some hardware to program the PIC. Velleman sells a cheap kit, which connects to the serial port. It's very practical, as it can program many different kinds of PICs. The one drawback is that it is really slow when using a USB to serial cable. But if you have a PC with a real serial port, it works quite well. Commented Aug 11, 2017 at 12:23
  • A few months ago, I needed to program some PICs (12F675 and 16F819) and decided to create my own programmer using a few components, an Arduino Uno and C++ software. See my project here Commented Jul 19, 2024 at 14:30

2 Answers 2

5

I had this question myself,

To program a PIC, many devices can be used. Microchips website gives couple of options . However, The PICKit can program and also do hardware debugging for PIC controllers. There is ICD3 which gives access to more in-depth analysis. There are many more third-party programmers for the PIC controller.

One of these programmers are needed for programming a PIC for the first time. your PIC can be initially programmed with bootloader code. Once you load bootloader you no longer need any programmer. You can send your Hex files over USB or UART and PIC will program itself with this new hex Code. ezbl from microchip has way to do it with USB but it only works with PIC24/dsPIC33

Microchip has very good documentation on bootloader AN851.

Sign up to request clarification or add additional context in comments.

2 Comments

Perhaps the only thing I'd add is that some vendors sell development kits that come with a pre-programmed PIC. Someone still used a hardware programmer to get a boat loader on there in the first place but as far as the end user is concerned, he programs it without extra hardware.
I could never get the PICKit, not the ICD3 to work reliably for debugging PICs in situ. They always ended up not working in debug mode before the end of the project...:( Programming with them works like a charm, though.
3

You can try the simple PIC programmer found on this page. It works with PICpgm, which is freeware. I've used this software before and it should work great with the 4550.

http://tomeko.net/misc.php

http://picpgm.picprojects.net/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.