|
From: | Larry Barello |
Subject: | Re: [avr-gcc-list] Boot loaders |
Date: | Mon, 9 Jun 2003 10:03:22 -0700 |
Well, I got it to work (finally could connect to www.gnu.org - it must have been down last night -
and read the linker script section) but it is a total hack and wish there was a
better way. It would also be nice if the resulting HEX file were not 90%
0xFF... Here is what I did:
Hacked avr5.x
...
*(.fini0) /* Infinite loop after
program termination. */
. = 0x1F000; /* Force boot loader load address */ *(BootLoader) _etext = . ; } > text = 0xFF Another question: It used to be that a simple .func/.global
would do to get debug information on an Assembly code file. Now I have no
information at all. It seems almost random whether a lable ends up in the
symbols or not. It makes debugging assembly stuff sort of hard. What
does one do to get debug information for assembly code into the COF
files?
Cheers!
|
[Prev in Thread] | Current Thread | [Next in Thread] |