Hey, Im trying to play with bootloaders since I got a butterfly on its way. So I thought I would try one out, I looked for a winAVR made bootloader and for a mega8. I found chip45bootloader witch doesent look to bad, so I followed its instructions, it has a premade hex file for the mega8...
my prob is when I try to upload the source with avrdude gui I get this error:
avrdude.exe: erasing chip
avrdude.exe: reading input file "hex.hex"
avrdude.exe: input file hex.hex auto detected as Intel Hex
avrdude.exe: ERROR: address 0x2002 out of range at line 65 of hex.hex
avrdude.exe: write to file 'hex.hex' failed
avrdude.exe done. Thank you.
I normally get that error if I ran out of space on my chip, is this because I haven't burnt the fuses for the bootloader space? because on the chip45 instruction page it says to upload this first then set the fuses for bootloader, it doesent exactly say for bootloader space, just says 'Adjust the fuse bits to activate bootloader functionality.'.
So I decided to post here first, before I burn fuses I don't know what do.
any ideas? or have a better bootloader I should try? I would like one that was made with winAVR so I can play with the bootloader code myself. but I would also like a stk500 protocall, but you cant win them all :P