Search for bootloader in this forum.
in short: the first time you have to program a small part of the flash with a bootloader. With fusebits you tell the avr to jump first to the bootloader and if nothing comes in on the serial port jump to the start of your program.
in Bascom there are commands to not overwrite this boot-area.
have fun
Ben Zijlstra
↧