e most critical resource on avr. I moved
to arm for a lot of projects, even if avr hardware would be nicer, but
gcc was not able to generate the needed code for avr for given reasons.
Missing parts of STL and the ram problem let me move to other controllers!
Klaus
tantiation of the function:
007e ::Handler()>:
7e: 18 95 reti
But it is simply not named as "__vector_10" which is the problem. The
member function is instantiated but still with wrong name even with my
or your code.
Klaus
,
Klaus
,
> "Bob Paddock" <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to do this with AVR-GCC?:
>
> I don't think anyone ever tried. The point is how you fetch the
> profiling data from the AVR into the file. If at all, I'd say
> emulat
conditions so that worst case tests could be
done. I think this could never work in real hardware, also jtag give
not full access in real time environment.
Bye
Klaus
> I've seen on the avr-libc-dev list that regression tests were used and on
> avr-freaks[1] that one guy was building a
art condition after the run,
all seems to be ok. If this
is true the simulated environment has no failures and should also
work in real conditions and hardware (and it works :-).
Bye
Klaus
>
> This sounds very exciting!
> Is there any place I can learn about it? Any examples ly
l timing" behaviour.
Please spend your devices to the simulavrxx project!
Have fun!
Regards
Klaus
--
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat* http://www.gmx.net/de/go/dsl
___
AVR-GC
The compiler only save registers which are needed by the isr. Why you
should do this by your own?
Hi all,
I'm working on a hard realtime application where I need to keep the time
where interrupts are disabled as small as possible. I've noticed that a
typical ISR can take 40+ cycles to push r
and other scripting languages.
Have fun!
Bye
Klaus
What opionions do people have on the open AVR simulators? The two that
I've found are Avrora and simulavr. I'm trying to find out if its worth
the time to figure out how to get them working. I'm mostly interested i
e or by hand if you
do it one time :-)
If someone spend my a fat pc where M$ could work and support to keep
that alive for a few days I could do the job. :-) Sorry, I dropped all
M$ chaos 9 years ago.
Bye
Klaus
Klaus,
is simulavrxx properly running under Cygwin? I thought it was a '
expected :-) and nothing else is requested. If you need a handcafted
delay loop use inline assembler instead. The behaviour of the compiler
can change from version to version. And I hope it will change a lot to
get better code!
Bye
Klaus
Royce Pereira wrote:
So I have to write more 'C&
Please use optimizer! Something like -O2 -O3 -Os ... as you need!
Simplify your delay loop:
void delay(volatile word cnt) { ...
Have fun!
Royce Pereira schrieb:
Hi,
On Fri, 28 Sep 2007 14:47:26 +0530, David Brown <[EMAIL PROTECTED]> wrote:
This is probably in the FAQ somewhere - if not, it
The code has been optimized. Well done!
If you need the variable access use 'volatile'
Hi all,
In the latest WinAVR (avr-gcc (GCC) 4.1.2 (WinAVR 20070525) I found this.
Check this out:
//==
void delay(unsigned del_cnt)
{
while(del_cnt--);
return;
}
//
esults of simulation with some environment for automation. If
there is a need for a more elaborate solution: let me know! Maybe I can
do that for you!
Bye
Klaus
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mail
s well for i386
plattform but not for avr. With i368 I got 3 breaks while inlining the
ctors but only one from avr. Any ideas?
Thanks
Klaus
My test code :
volatile int i;
class A {
public:
A () { i=9;}
};
int main() {
A a;
A b;
A c;
}
Result:
your work
Regards
Klaus
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
Hi all,
is there a possibility to use RTTI on avr with avr-g++?
Thanks
Klaus
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
trying it to see if it works...
Simple question: How could I switch on RTTI on the compiler? As I know,
which is maybe wrong, RTTI is not available by default compiler
compilation. Any suggestions?
Thanks
Klaus
___
AVR-GCC-list mailing list
AVR-GCC
--disable-nls --disable-libssp
which works under 4.5 versions.
Are there any patches available?
Thanks
Klaus
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
___
AVR
s very simple if someone is able to look inside the
configure.xxx scripts. But I am really no export on this ;)
Regards
Klaus
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.
e red the last hours
;)
Regards
Klaus
--
GRATIS! Movie-FLAT mit über 300 Videos.
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
st hours ;)
Regards
Klaus
--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
0x32
0x0080001c: mulsr21, r31
0x0080001e: std Y+50, r10 ; 0x32
0x00800020: nop
Why I got an address in ram space?
ddd 3.3.12, gdb and gcc in a lot of variants without different behaviour.
Any hints?
Regards
Klaus
___
AV
> Gesendet: Dienstag, 25. Juni 2013 um 15:28 Uhr
> Von: "Klaus Rudolph"
> An: avr-gcc-list@nongnu.org
> Betreff: [avr-gcc-list] problems with debugging, wrong output in assembler
> window from ddd
>
> Hi all,
>
> I use ddd/avr-gdb to debug in connection
?id=13519
+ low &= 0x80 - 1;
+ high &= 0x80 - 1;
print_disassembly (gdbarch, name, low, high, flags);
}
The patch is still working with gdb7.6. For the moment the workaround
fulfill my needs.
Thanks
Klaus
___
AVR-GCC-list ma
tep assembly/link? Maybe there is
something more different.
gcc version: 4.8.2
gdb version: 7.6.1
Thanks
Klaus
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
__vector_7 goes to the correct place in the table?
I can't see the relocations nor the symbols for that! Is this hardcoded
somewhere in binutils?
It would be nice that someone can give me some hints to where I can find the
details of getting the vect
nd assignment is only done by the name of the function. Quite
simple after finding the stuff :-)
Thanks!
Klaus
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
I try to compile gcc 10.1.0 for target avr. If fails with:
make[2]: Entering directory
'/home/krud/git_my_checkout/first/own_components/gcc_install/gcc/gcc-10.1.0/build/gcc'
g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -W
e most critical resource on avr. I moved
to arm for a lot of projects, even if avr hardware would be nicer, but
gcc was not able to generate the needed code for avr for given reasons.
Missing parts of STL and the ram problem let me move to other controllers!
Klaus
Hi all,
if I write a class with static member function I can use it as an
interrupt handler as follows:
class Dummy
{
static void Handler() __asm__("__vector_10")
__attribute__((__signal__, __used__, __externally_visible__));
};
void Dummy::Handler()
{
}
I can see the vector is entered in
Thank you all so much for wasting my thread!
Please do NOT answer, you all produced enough spam! Would be nice if
someone can help on *MY* topic!
Thanks!
-) But maybe a funny one and
helpful for others.
In general: Why assigning attributes to member functions in templated
class context fails? For me it looks like a bug.
Klaus
e is no runtime overhead
(with LTO, this probably already happens when there's just a single call
to the member).
It already optimizes well in O2 if templated member function and free
handler definition is in same translation unit.
Klaus
. This is particularly true when the
details of the attribute you want - the "vector" assembly name - are
dependent on a non-type parameter for the template.
The opposite is meant! It is intended by using the asm statement that we
have a single name, fully independent of parameters for the template.
Klaus
Am 12.04.21 um 16:25 schrieb Anton Staaf:
Klaus, I'm not sure if my previous answer didn't make it through or was
just missed, but I believe your problem is related to this GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70435
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id
edefined
3 byte signature. I also see in the linker scripts that there is
something called "user_signatures" but that seems to be unsupported for
the rest of the linker script. But maybe I looked in the wrong file...
Any suggestions?
Thanks
Klaus
t?
Thanks!
Klaus
Am 19.01.22 um 13:48 schrieb Michael Stocker:
Hallo Klaus,
you can always define your own sections at a fixed location in flash and
write anything you like in there.
But every time you start a new section the previous one is closed
implicitly. So it cannot be in the middle
also take a look...
Thanks
Klaus
>
> >
> Sure, it's called C++. :-)
Absolutly right! It looks totally strange if you use
inline assembler in templates but this give nearly optimal output.
But never try to read it after a week again or maybe try to discuss
things on the list here. If you ever read Andrei Alexandrescu´s
laese" version.
Bye
Klaus
Hi,
i'd like to change the memory layout of a program, especially the
stack.
So i linked my program with --defsym,__stack=0x900
When i look into the listing of my program that i got with:
avr-objdump -h -S file.elf
Then in __init the stackpointer still gets l
we have no hardware so simulation is the only solution for the
problem :-)
Regards,
Klaus
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Klaus Rudolph
Sent: Friday, June 24, 2005 11:07 PM
To: Torsten Mohr
Cc: avr-gcc-list@nongnu.org
Subject: Re
atmel box and this works fine.
Is it possible that the olimex box lost the software? And if so, has
anyone an idea how to fix it. Anyone else have seen such a problem before.
Thanks
Klaus
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go
Hi all,
is there any linux tool which is able to program in high voltage/parallel
mode with stk500 board? uisp did not support this, right?
Thanks,
Klaus
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/pro
> Hi Klaus,
>
> Maybe try to use avrstudio with this olimex box once: It tends to
> re-program the hardware if it thinks the software is too old.
> I also have observed other strange things with one olimex clone:
> Everything worked fine when running it on a Woe2000-Box with c
Haase Bjoern (PT-BEU/EMT) * schrieb:
Klaus Rudolph wrote:
The box is not repsonding at all, so also a firmware update seems
not working but yes I will setup a windows this week because
I have no windows and after that I will remove it as fast as possible :-)
... So maybe the olimex
45 matches
Mail list logo