Burning Code in a DIY Arduino

Xenobius:
Ok so lets say I bought an ATmega328P (SMD version) and created my own PCB and it's time to burn the code that I have written. Code that works well on an Arduino Uno. Its just that I decided to build my own PCB.

  1. Am I right to say that I first need to burn the bootloader, and than followed by my code?
  2. I have an FT232RL (SparkFun USB to Serial Breakout - FT232RL - BOB-12731 - SparkFun Electronics) and also a USBtinyISP (USBtinyISP - Inexpensive USB AVR Programmer). I found tutorials on how to connect these so this is not the issue, but I need to understand better, Which one do I need? What do I program what with?

Include a 6-pin ICSP header on your PCB, then you can program the atmega328p in-situ using the usbtinyisp. You don't need to FT232RL or a bootloader. You do need to be careful what else you connect to the MOSI, MISO and SCLK pins of the atmega328p in your design, to make sure that the usbtinyisp can take control of those pins during programming.