JTAG programming Atmel Arduino

Hi all,
Okay, so Iv'e compiled a firmware and got the hex file.
It's time to go for production :slight_smile:
Now the arduino IDE uploads the hex using the pre-loaded bootloader on the ATMega chip.
BUT what if I'm buying a clean "off the shelf" ATMega chip without having a boot loader on it ?

Options are:

  1. JTAG burn the arduino bootloader and then load my hex firmware.
  2. JTAG burn my hex firmware.

Can anyone advise on the way doing each option above with respect to the requierd software/programmer/emulator.
A step by step tutorial would help a lot.

Thank you

  1. ISP burning the bootloader