avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Debugging a bootloader with JTAGICE mkII


From: Wallace White
Subject: [avr-gcc-list] Debugging a bootloader with JTAGICE mkII
Date: Fri, 22 Apr 2005 16:18:17 -0700

What setup are folks using to debug bootloaders, specifically with the
JTAGICE mkII? Or are they?

I've figured out that AVR Studio 4.11 SP2, when in debugging mode with
the JTAGICE mkII, doesn't load the .bootloader or other custom text
sections from the .elf file. (I'm using a bootloader to program a
lookup table in flash.) I see that this is a known bug of AVR Studio
(see http://lists.gnu.org/archive/html/avr-libc-dev/2005-04/msg00020.html).
You can debug from the .hex file, but you lose source-level info.

I got the same result with extcoff into AVR Studio. 

I would try gdb and avarice, but I read in the WinAVR manual that
avarice doesn't yet support the JTAGICE mkII.

It's looking like there's no way to do source-level debug with a
bootloader with the mkII? I'm gonna get real familiar with
disassembled code, then, or find an ur-JTAGICE...

Thanks,
Wallace




reply via email to

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