avr-chat
[Top][All Lists]
Advanced

[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: H.-J. Klemt
Subject: Re: [avr-chat] not able to debug code in bootloader section with jatgice
Date: Thu, 02 Jun 2005 17:14:41 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Joerg Wunsch wrote:

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.

There is no bootloader. There is only my application in the
applicationsection of the AVR.
I want to debug the ANSI C application with AVR Studio.
This works fine.

When it comes to the point were I want to write aquired data
to the applicationsection from itself I did the common trick,
to move the writeFlash() function to the bootsection and call it there. But if I did it happens, that the bootsection was not written,
cause of the mentioned problem of AVR-Studio.

Does someone know how to write data to the same flashsection as the
current program runs?

I am not so familar with C.
Until now I did only some easy stuff like statemachines and binding
together some libraries. I did not know how to make a function call
to a specified memorylocation or how to place a function to that
special memory location.

Yours,
Jürgen.




reply via email to

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