[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] not able to debug code in bootloader section with jatgice
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] not able to debug code in bootloader section with jatgice |
Date: |
Tue, 31 May 2005 16:06:31 +0200 (MET DST) |
(Please subscribe to the list, other people than me might not be aware
you aren't, so you might miss replies.)
"H.-J. Klemt" <address@hidden> wrote:
>> Either make your bootloader a standalone application (with its own
>> section .text), and program that one independently into the flash
> That's the point, if I split it and programm it independently I lose
> the fine source-level info.
I don't understand why you're losing the source-level information by
splitting the program.
After all, you aren't going to jump into arbitrary bootloader
locations from your application, are you? That would be poor style
anyway. Instead, put a jump table somewhere into the bootloader, and
use that one. That way, if your bootloader changes, your
application(s) can still remain intact. Then you can debug the
bootloader, and if it works, the application.
>> For the JTAG ICE mkI, AVaRICE comes to mind, for the JTAG ICE mkII,
>> use the new (right now in BETA stage) AVRDUDE.
> I checked up www.bsdhome.com, but isn't it right that this is a
> programmer only?
AVRDUDE is a programmer, yes.
> I love this realtime debugging of my jtagice, ...
> don't ask me were I would be without :-)
AVaRICE + GDB
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/