[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Bootloader Debugging
From: |
Gary Douglas |
Subject: |
[avr-gcc-list] Bootloader Debugging |
Date: |
Thu, 16 Mar 2006 14:17:43 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050317) |
Hi all,
I have a mstly working bootloader for the mega64 that I am compiling
with AVR-GCC (an older verion) , and then attempting to debug within avr
studio.
I am using avr-objcopy to convert the file into and ext-coff for use in
avr studio, but I think I'm doing something wrong because avr studio
gets confused.
I'm locating the .text section at 0xE000 at link time, then using
objcopy to relocate items in the coff file.
I'm doing the following:
avr-objcopy --debugging
--change-section-address .data-0x800000
--change-section-address .bss-0x800000
--change-section-address .noinit-0x800000
--change-section-address .eeprom-0x810000
This is how I convert normal applications (successfully), but the
bootloader is not as happy.
Anybody have any suggestions or a pointer to a howto?
Thanks,
Gary
--
Gary Douglas
Manager - Network Products
Pathway Connectivity Inc.
Unit 103, 1439 - 17 Avenue SE
Calgary, Alberta
Canada. T2G 1J9
+1.403.243-8110 x43
www.pathwayconnect.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] Bootloader Debugging,
Gary Douglas <=