Yes, you are correct. The bootloader section on the AVR starts at 0x1e000 (with BOOTSZ1/0 both 0). There is no real reason why the bootloader is placed at 0x1f000 except that we were planning on making the bootloader section only 4K in size.
-- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/
Lin Gu wrote:
Hi,
I have a curious question about the boot address of Deluge/TOSboot. It looks like that TOSboot boots from 0x1f000 and the fuse setting (high byte) is 0xd8.
Meanwhile, the ATmega128L manual says that the boot address is word 0xf000 while BOOTSZ1/BOOTSZ0
is set to 0/0, which is the case for high byte 0xd8.
Assuming a word has two bytes, I figure that the
start address is byte address 0x1e000. Hence, might
the boot process first start from 0x1e000, execute a bunch of NOPs (produced by the uisp '--erase'), then continue with the real boot code at 0x1f000?
I tested with .text starting at 0x1e000 and with high byte set to 0xda, respectively. Both seem to work.
Regards,
lin
_______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
