1
\$\begingroup\$

I am hooking up a PIC16F676 to FT232. I already have power hooked and also OSC with 20 MHz and 22pF capacitor.

I am still trying to figure out the proper way to hook up the data/serial or something to program this chip using the FTDI FT232RL.

This is what I have so far: FTDI PIC hook

And my datasheets:

PIC- http://ww1.microchip.com/downloads/en/devicedoc/40039f.pdf

FTDI- https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf

Overall, I just need to know if it's possible to hook FTDI to PIC16F676 in order to program. If so, then please guide me and once it's done, then I'll try to use c# application to program it (basically a custom tool).

\$\endgroup\$
4
  • 1
    \$\begingroup\$ You won't be able to program this chip via serial, at least, initially. You'd have to use proprietary programming tools like Pickit. \$\endgroup\$ Commented Sep 7, 2019 at 4:19
  • \$\begingroup\$ franksteinberg.de/FT232-PIC-Programmer.htm \$\endgroup\$ Commented Sep 7, 2019 at 4:35
  • \$\begingroup\$ 20mHz seems a bit slow. You sure it isn't 20MHz? \$\endgroup\$
    – brhans
    Commented Sep 7, 2019 at 16:13
  • \$\begingroup\$ 20mHz is a default operating speed where it says in pg 2 at PDF, so that oscillator you see there is 20 mHz. I thought that there was at least some possibilities to program PIC with FTDI since I kind of want to be more of a DIY guy. But at this case, it may be difficult to do so. \$\endgroup\$ Commented Sep 7, 2019 at 17:10

1 Answer 1

0
\$\begingroup\$

If you want to program the PIC via a UART interface you need a bootloader.
But at least you need a programming tool for your PIC (e.g. MPLAB Snap) to programm the bootloader into your blank controller. Afterwards you can program the controller via UART.

\$\endgroup\$
3
  • \$\begingroup\$ Thanks for response. I am currently ordering the PIC Kit, then, when I get it, I'll look into its functionality and try to clone it by forming a circuit, see if it's possible. \$\endgroup\$ Commented Sep 16, 2019 at 3:37
  • \$\begingroup\$ You are welcome. Maybe have a look at MPLAB Snap. \$\endgroup\$
    – Mike
    Commented Sep 16, 2019 at 5:29
  • \$\begingroup\$ Just got the PIC Kit 3, learned to work with it, everything works fine. \$\endgroup\$ Commented Sep 24, 2019 at 3:55

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.