[avr-gcc-list] problem in a3977 + avr micro stepping motor control driving

2008-05-30 Thread Sach
Hello friends, I m working on a3977 micro stepping motor driver to control stepper motor from www.allegromicro.com with avr microcontroller. In this, i m not able to change the micro stepping resolution for three modes as shown below: MS1 MS2 Resolution L LFull step

[avr-gcc-list] AT90USB82 / AT90USB162 architecture?

2008-05-30 Thread Paulo Marques
Hi all, I was trying to determine if these devices have multiply instructions or not. The datasheet doesn't show any MUL* instructions in the Instruction Set Summary section, but the avr-libc documentation pages at: http://www.nongnu.org/avr-libc/user-manual/using_tools.html show these

[avr-gcc-list] even register number required

2008-05-30 Thread John Regehr
We found a bug in avr-gcc 4.1.2. Thanks, John Regehr [EMAIL PROTECTED] tmp11]$ avr-gcc --version avr-gcc (GCC) 4.1.2 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS

Re: [avr-gcc-list] even register number required

2008-05-30 Thread John Regehr
To elaborate a bit, the problem boils down to generation of this clearly wrong code: movw r13,r24 John ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] even register number required

2008-05-30 Thread Preston Wilson
John Regehr wrote: We found a bug in avr-gcc 4.1.2. Thanks, John Regehr [EMAIL PROTECTED] tmp11]$ avr-gcc --version avr-gcc (GCC) 4.1.2 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even

Re: [avr-gcc-list] even register number required

2008-05-30 Thread John Regehr
I just checked and 4.2.2 doesn't have the problem either. So probably not that big of a deal except that 4.1.2 is going to see fairly heavy use fairly shortly due to an upcoming TinyOS release. Thanks, John On Fri, 30 May 2008, Preston Wilson wrote: John Regehr wrote: We found a bug

[avr-gcc-list] Updates needed to AVR test files

2008-05-30 Thread Andy H
There are a couple of changes needed to AVR test files to pass a few tests. Compatibility tests default to no optimization and maximum tests - this can easily overflow 128K code area. Add these lines to end board file (mine is called atmega128-simnew.exp). They set environment vars that

Re: [avr-gcc-list] Updates needed to AVR test files

2008-05-30 Thread Andy H
BTW you can also just define these in environment and leave board file unchanged set COMPAT_SKIPS [list {VA} {COMPLEX_INTS}] set COMPAT_OPTIONS [list [list {-Os -mcall-prologues} {-Os -mcall-prologues}]] Andy Andy H wrote: There are a couple of changes needed to AVR test files to pass a few