[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] issues with custom bootloader and ATMega32
From: |
Alexander Krause |
Subject: |
Re: [avr-chat] issues with custom bootloader and ATMega32 |
Date: |
Tue, 29 Oct 2013 14:45:25 +0100 |
Well,
let's call this a typo. Of cause I tried with 0 (just thought it might
start at 1).
But even though, it's a word address as far as I know, so it should be
the second word of page 1.
Page 2 starts at SPM_PAGESIZE.
On Di, 2013-10-29 at 09:15 -0400, Graham Davies wrote:
> Alexander Krause wrote (in part):
>
> > I tried this with a minimalistic piece of code:
> > <snip>
> > int __attribute__((noreturn)) main(void) {
> > spm_write_page(1);
> > while(1);
> > }
> >
> > However, when I dump my Flash there is no valid data in the first page:
> > 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
>
> Aren't you writing data to page 1 and looking for it in page 0?
>
> Graham.
>
>
>
> _______________________________________________
> AVR-chat mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/avr-chat
>