Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Bootloader Frustration

2007-07-14 by stevech11

This project, and others, has source code configurable for many AVRs
for bootloading. And the PC side too. As an example. This one is in
asm language to keep the bootloader small - since the bootloader area
size increased in steps of two-fold.

http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=625


> I found one problem already.. The page size is 128 words, not 64
like it says.
> I found this out by running it in sim, and watching it erase a page.
> The docs mention different chips having different page sizes, and I
> didn't see anywhere that it calls out a table to give those sizes.  I
> only saw examples at 64 words/128 bytes, so I made the assumption that
> in the M128 that was the actual size, since this IS a M128 data
> sheet...  :-P
> 
> So, I think I may have it now, all that's remaining is to handle the
> case of an odd number of 128 byte packets.
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.