Hello, have searched info about this but I don't find anything related, if someone points me to a link or give instructions or even a clue on how to start digging I will be really thankful: I was able to burn an compile and burn an compiled application using avr-toolchain+avrdude though ISP , but this will erase the bootloader, and if I want to have it again back I can reflash the bootloader but then erase the application. I see Actual arduino boards comes with the bootloader+the blink sketch program on it, but I didn't find a way to do so.
Has the bootloader sources need to be include in the compilation of the program some way to generate one hex file to flash? there is some way to merge two hex files? or a way to tell avrdude to flash one hex and following the other?
Thanks in advance