How to program bootloader with AVR programmer?
Kanda AVR programmers, and most other programmers, use one file for programming AVR microcontrollers. This means that you have to combine your bootloader code with your main file, which is actually quite straightforward. Full instructions, in C and assembler, are in our blog post here. Loading Boot loader with AVR Programmer