Avrstudio4 version: 4.08 Build 310
Imagecraft compiler : 6.31A
Device : Atmega16
I am trying to make a bootloader on the Atmega16.
I wrote some bootloader testcode and downloaded it to the device. The code is there at address 0x1C00 (1K boot section), and it is working.
USART interrupts are treated in the bootloader code.
The bootloader code should be kept in the bootloader section.
However, when i load, via avrstudio4, application software in the application
section. The Bootloader section is erased.
I need the application software because the bootloader will be triggered from the application section.
How can i prevent that the bootloader section is erased when the application section is downloaded to the device?
In the advanced debug options, is select that "always reprogram device when loading object file"
Thanks for help