Programming PIC18F via Serial with USB to TTL Converter
Posted: Mon Apr 14, 2025 6:51 pm
Hi there!
I built a DIY board using a USB to TTL converter and would like to know if there's a method/bootloader available to program a PIC18F microcontroller via serial communication. I have a PICkit3 to program my PIC18F, but it's a bit inconvenient to keep it connected to my prototypes all the time.
Thanks for reading.
Ttelmah
Joined: 11 Mar 2010 Posts: 19786
Posted: Tue Apr 15, 2025 4:43 am
Just use the bootloader. Comes with the compiler.
However you have to program this into the chip with your PicKiut3, and
write your code to support the bootloader (look at ex_bootload.c).
In your compiler directory, there is a basic program to do the actual
programming ccdloader.exe
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum