Hi,
I have successfully done it for atmega168 with 16mhz xtal, but that was sometimes ago.
Yes, I have used #define BootStart 2*1C00UL and it works.
I am attaching the bootcfg.h which I have used and hope it will work for you.
I will be happy to help if I can, however, I consider myself a newbie and
my 2 cents' worth may not amount to much.
Do you want the Bootldr.hex?
rgds
--- On Wed, 10/6/09, Sompse <
seppo....@netikka.fi> wrote:
> From: Sompse <
seppo....@netikka.fi>
> Subject: Using this bootloader in atmega168
> To: "avrub" <
av...@googlegroups.com>
> Date: Wednesday, 10 June, 2009, 1:36 PM
>
> Hello
>
> I have try and try to load this bootloader to atmega 168
> but cannot
> get it working like it should.
>
> Problem is when is configure avr studio memory segment
> ""flash .text
> 0x1c00"" now when loading bootloader code into chip
> atmega is not
> doing anything but if i configure memory
> segment ""flash .bootloader
> 0x1c00"" then i get that status led blinking (#define
> LEDPORTNo PB4) but it is
> blinking all the time and not only
> when booting up the chip?
>
> Also question about bootcfg.h setting,is this correct for
> atmega168?
> #define BootStart
> 2* 0x1C00UL
>
> I'm testing this with int 8mhz clock and stk500
>
>
>
> >
>
Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/