Now that I’m more well-rested, I see that the bug I posted about in my previous entry wasn’t a bug at all - I just missed a relevant part of the datasheet (for those wondering, before you can disable the watchdog, you must clear the watchdog reset source indicator flag in MCUCSR).
The bootloader’s progressing a bit, but I’m a bit stuck trying to figure out the memory upload command. As far as I can see the algorithm’s fine, but the data being uploaded is corrupt. I’m either going to have to ask Atmel about it, or check out the host-side source of an open source DFU project.
Scary to think that I’ll be 19 in only 2 days. However, being born on Valentine’s day does have its advantages…
Recent Comments