avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] ATmega2561: bootloader can not write in application secti


From: Thomas Richter
Subject: Re: [avr-chat] ATmega2561: bootloader can not write in application section
Date: Fri, 09 Mar 2007 14:59:45 +0100
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Hi Eric,

Ok, here are the obvious questions:

How did you declare the prototype to writeFlashPage() above? Did you put it in 
it's own named section (.bootloader)?
the bootloader was putted at 0x1F000 with following LDFLAG in Makefile:
   LDFLAGS += -Wl,--section-start=.text=0x1F000
Did you relocate the .bootloader section to the correct address?
The Bootloader program works fine. I could read and write to UART0 interface and do read options to flash sections.

What address did you relocate it to?
I call the function with the address 0x0000.

Do you have the correct fuse settings for the size of the bootloader area?

Here are my fuse settings:
   lfuse = 0xFF
   hfuse = 0x91
   efuse = 0xFE

Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]