[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 13:32:32 +0200 (MET DST) |
"H.-J. Klemt" <address@hidden> wrote:
> I read about problems of JTAGICE to flash the bootsection.
The JTAG ICE itself isn't concerned about whether your code is located
in the boot or application section, but AVR Studio (by now) can only
handle a single .text section for code. So if your bootloader is
located in a section named .bootloader, it will be ignored by AVR
Studio.
Either make your bootloader a standalone application (with its own
section .text), and program that one independently into the flash
(better don't tell your tools to chip-erase then once you are going to
program the application itself ;-), or use something else than AVR
Studio in order to program your stuff. For the JTAG ICE mkI, AVaRICE
comes to mind, for the JTAG ICE mkII, use the new (right now in BETA
stage) AVRDUDE.
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/