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
_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat