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
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
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
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
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
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
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
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