Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Bootloader Frustration

2007-07-15 by David VanHorn

> I really hope you are using one of the standard ASM include files such
> as mdef128.inc. It is going to save hardcoding everything. It includes
> definitions for PAGESIZE (128), and FIRSTBOOTSTART (0xfe00).

I am, but of course you have to know it's there, or go looking for it.
My loader fits in nicely at FE00, and it would go at FF00 if that was an option.

> The flash page size is also listed in the table on page 294 of the
> mega128 datasheet and referred to from pages 201 and 306 as well. See
> http://atmel.com/dyn/resources/prod_documents/doc2467.pdf.

Silly me, I expected that to happen in the section about the SPM
instruction, or at least a reference out to there.  Ah well.

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.