;************************************************************************* ; * ;* ATmega8 Bootloader * ;* * ;* Author: Peter Dannegger * ;* * ;************************************************************************* .nolist .include "m8535def.inc" ;please burn this BootStart Fuse: .equ BootStart = SecondBootStart ;Attention: BufferSize must fit perfectly into BootStart ! ;e.g. BufferSize * 8 = BootStart .equ BufferSize = (7*PageSize) ;------------------------------------------------------------------------- ; Port definitions ;------------------------------------------------------------------------- .equ STX_PORT = PORTD .equ STX_DDR = DDRD .equ STX = PD1 .equ SRX_PIN = PIND .equ SRX_PORT = PORTD .equ SRX = PD0 ;------------------------------------------------------------------------- .include "fastload.inc" ;-------------------------------------------------------------------------