Hi guys I am emailing you to request an help. I am a beginner on c
programming, I have built a circuit to control a stepper motor, with
atmega8535. I have realized that the wiring was not according to the
architecture of the MCU. That is I have dedicated pin19 which is PD5, to
send the instruction
Dear all,
My name is L.mohan,i am new to this mailing list and also new to avr-gcc .i
have good skill in C,C++ ,on Linux platform.i want to learn C with AVR
microcontroller,please any one tell good tutorials for C,Linux,Avr
microcontroller.
Thanks
L.mohan
the front.
unless __mulhi3 is not a variable...
Ben Nemec
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Leonardo B. Oliveira
Sent: Thursday, May 24, 2007 6:55 PM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] help in the error undefined
-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
org] On Behalf Of Leonardo B. Oliveira
Sent: Thursday, May 24, 2007 5:55 PM
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] help in the error undefined
reference to `__mulhi3
Hi all,
I trying
Please disregard my previous blunder...
Ben Nemec
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of NEMEC, BENJAMIN
Sent: Friday, May 25, 2007 8:17 AM
To: Leonardo B. Oliveira; avr-gcc-list@nongnu.org
Subject: RE: [avr-gcc-list] help
Hi all,
I trying to compile C code using an external library. However, it
outputs the following. I'm using avr-gcc 3.3. Any clue?
main.o(.text+0x12): undefined reference to `__mulhi3'
main.o(.text+0x32): undefined reference to `__mulqi3'
./libmir.a(main.o): In function `muldvm':
On Saturday 31 Mar 2007 at 3:17:02 am, mickhail mcanuff wrote:
uint8_t USART_vReceiveByte()
{
while((UCSRA(1RXC)) == 0);// Wait until a byte has been received
if (UCSRA (1DOR)|(1FE)==0) //check for framing error and data over
run return -1;
return UDR;// Return received data
}
You
On 12/16/06, Rick Mann [EMAIL PROTECTED] wrote:
Sorry for the long preamble. You can skip to the real question below...
I'm trying to build one of Atmel's USB samples (the generic HID
device) that targets the at90usb1287. According to the documentation,
it works with WinAVR 20060421, so at
Dear, Help, please! The value of c is not what we expect. It should be 50001, but 4294951761! Condition: mcu=atmega16 WinAVR20060421#include int main(void){ volatile unsigned char a,b; volatile unsigned long c; a=250; b=200; c=1; c+=a*b; return 0; }B.R. Niu Yong
超大U盘免费等你拿
On 8/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear,
Help, please! The value of c is not what we expect. It should be 50001, but
4294951761!
Condition: mcu=atmega16 WinAVR20060421
#include
int main(void){
volatile unsigned char a,b;
volatile unsigned long c;
a=250;
b=200;
Hello everyone,
I´ve installed avr-gcc in my linux. see:
[EMAIL PROTECTED]:~/foo avr TAB
external command
avr-addr2line avr-c++filtavr-gcc-4.1.0 avr-ld
avr-objcopyavr-readelfavr-strip
avr-ar avr-cppavr-gccbug avr-man
avr-objdump
Leonardo B. Oliveira wrote:
Hello everyone,
I´ve installed avr-gcc in my linux. see:
[EMAIL PROTECTED]:~/foo avr TAB
external command
avr-addr2line avr-c++filtavr-gcc-4.1.0 avr-ld
avr-objcopyavr-readelfavr-strip
avr-ar avr-cppavr-gccbug
I'm a bit new to this. I'm trying to use a lookup table in flash memory
to determine the distance from the ADC from a GP2D120 distance sensor.
I basically have this:
static uint8_t gp2d120_data[] PROGMEM = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,29,28,
Here's what I'm using to compile my toggle_led.c program. I got this
mostly from various places on the web. I will then be debugging it with
simulavr and gdb--I just want to be sure I'm understanding what I'm doing.
avr-gcc -g -mmcu=atmega8 -Os -Wall -Wa,-ahlms=toggle_led.lst -c toggle_led.c
.
Regards
Murat Karadeniz
http://www.onlinefavbar.com/mukas
-Original Message-
From: Daniel O'Connor [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 03, 2005 6:15 AM
To: avr-gcc-list@nongnu.org
Cc: MuRaT KaRaDeNiZ
Subject: Re: [avr-gcc-list] Help, Compiler ignores some part
On Sat, 3 Dec 2005 21:16, MuRaT KaRaDeNiZ wrote:
I'm compiling with -Wall, but no warning appears for the
local variable
controller, that it is not utilized properly.
Yeah, it won't warn you about those sort of problems alas.
Oh yes it will, but you have to add the specific warning
Title: Message
Hello All,
Using WinAVR-20050214, I try to compile the following
function, but the section between [BOOKMARK1] and [BOOKMARK2] does not get
compiled without any error indication. İ checked the routine in the .lst file,
this section is not compiled to assembly. The rest is
sections. (Flash a light, bleep a bleeper, write to the usart, ...)
- Original Message -
From:
MuRaT KaRaDeNiZ
To: avr-gcc-list@nongnu.org
Sent: Friday, December 02, 2005 4:20
PM
Subject: [avr-gcc-list] Help, Compiler
ignores some part of the function!
Hello
On Sat, 3 Dec 2005 08:50, MuRaT KaRaDeNiZ wrote:
Using WinAVR-20050214, I try to compile the following function, but the
section between [BOOKMARK1] and [BOOKMARK2] does not get compiled
without any error indication. İ checked the routine in the .lst file,
this section is not compiled to
Hi,
My company is using the mega2560 in our latest product, and
I was wondering if there is any list of things that someone interested in
getting compatibility going could work on. Im not familiar with who is
working on it currently, if they have it all in hand, or what.
I apologize
20 matches
Mail list logo