FT232 serial communication, this should work right?

Hi

I am trying to use an FT232 chip so I can program the MCU while its on a PCB design...

Write now I am just trying to get it to talk on a breadboard. I have check the connections over and over again. As far as i know the drivers are installed although I do not see it in the device manager.

Does the sparkfun/adafruit or whatever FT232 module have the chip preprogrammed or something that a standard digikey FT232 does not have?

Alright, The above setup is able to do serial communication...

Now, how do I program the chip with this setup? What board/ programmer settings should I select? Is it even possible ?

Thank you

tonyd5:
...the MCU..

tonyd5:
...the chip...

What exactly?

You seem stressed frustrated and angry. This is why you are not thinking clearly about what we need to know to help you (and not just which chip). Have you googled for this? Can you give us a schematic?

This Nick Gammon tutorial covers building, bootloading and programming breadboard Mega328 and 1284 chips.

And for programming without a bootloader.

The same basic techniques apply to many chips besides the ones used in Arduinos.

let me explain.

I use Atmega328 chips all the time for custom design stuff at work. I get them off digikey for $2, upload the bootloader, blah blah blah...

What is anoying is popping the chip on and off the board anytime I need to adjust the program. I want to be able to program the MCU while it is on the PCB using the Serial port and not have to go through the UNO board.

How do I do this?

I am not an expert on this. in my understanding the magic is that the Arduino bootloader is 'the programmer'. When the chip boots, the bootloader listens if a new program data comm in on serial.

"I want to be able to program the MCU while it is on the PCB using the Serial port and not have to go through the UNO board."
On my custom boards I have both an ICSP header and a FTDI header.
After assembling, I plug on a Programmer to bootload the MCU, and then plug on a FTDI Basic to download/debug code.

If you don't have discrete headers, you can also just connect to the needed pins discretely if you have access to them. If you didn't provide access, that makes it more challenging.

Ok. I want to do this without needing any external module though.

Image a Atmega328 MCU w/ bootloader, FT232R IC, and a USB-B port all installed on PCB.

Right now I can perform Serial Read/Writes but I cannot upload sketches.

This should work, correct?
Do I need to select specific programmer options?

Hard to say, we are still too short of details. Exact chip model, schematic, clock speed, upload settings, error messages...

Did you consider buying a Nano?

Does the FT232 connect to the 328P reset pin?

Compare to the published schematics for the Uno or Nano.