I just got my first program uploaded to my bfly thru atmels avrpgog.
Now when i try to load second program, it just says
"Adress: 0x0000 Expected: 0xc000 Received: 0x0100"
So is bootloader broken?
How large was the program?
The program that i uploaded was taken from
here http://www.dwelch.com/avr/ (the first example) and the .HEX file was 67bytes in size, and it was compiled in AVR studio 4.
Ah, assembler, not my forte, so I will bow out and let an assembler guru respond. You might change the title to 'Butterfly Assembler program problem'.
Is there anymore hope to upload program to the butterfly with UART, or is ISP device needed? I have found some ppl having same problem in here, but no one havent post any resolution to this.
Ok, i downloaded the atmels software for butterfly and uploaded it. It now shows "Expected: 0x940c" and i guess thats the calssic bootloader bug. So there is nothing i can do, except find ISP device somewhere and try to write bootloader with it. :(
Btw, is there anything i can do to make butterfly last longer than 1 programming in the future. If i even find a way to fix it in first place.
I got it working by loading new bootloader from Martin Thomas's site with AVRISP MKII. Thanks all for help.
Which kind of raises the question: if you have an ISP why waste code space in the 169 for a bootloader anyway?
I had it only for repair and now i need to return it.
© 2020 Microchip Technology Inc.