[avr-gcc-list] Help request

2012-11-17 Thread Marcelino Macome
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

[avr-gcc-list] help

2008-02-18 Thread Mohan L
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

RE: [avr-gcc-list] help in the error undefined reference to `__mulhi3

2007-05-25 Thread NEMEC, BENJAMIN
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

RE: [avr-gcc-list] help in the error undefined reference to `__mulhi3

2007-05-25 Thread Eric Weddington
-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

RE: [avr-gcc-list] help in the error undefined reference to`__mulhi3

2007-05-25 Thread NEMEC, BENJAMIN
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

[avr-gcc-list] help in the error undefined reference to `__mulhi3

2007-05-24 Thread Leonardo B. Oliveira
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':

Re: [avr-gcc-list] Help Needed (UART / USART)

2007-03-30 Thread kitts
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

Re: [avr-gcc-list] Help! gcc 4.1.1, dwarf-2 and Atmel USB parts

2006-12-15 Thread Xiaofan Chen
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

[avr-gcc-list] Help please: unsigned long + = unsigned char * unsigned char

2006-08-22 Thread ny88
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盘免费等你拿

Re: [avr-gcc-list] Help please: unsigned long + = unsigned char * unsigned char

2006-08-22 Thread dimax un
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;

[avr-gcc-list] help in error: C++ compiler not installed on this system

2006-05-17 Thread Leonardo B. Oliveira
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

Re: [avr-gcc-list] help in error: C++ compiler not installed on this system

2006-05-17 Thread Eric Weddington
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

[avr-gcc-list] Help with flash lookup table

2006-05-10 Thread Micah Carrick
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,

[avr-gcc-list] Help understanding output files

2006-02-17 Thread Micah Carrick
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

RE: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-03 Thread MuRaT KaRaDeNiZ
. 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

RE: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-03 Thread Nigel Winterbottom
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

[avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-02 Thread MuRaT KaRaDeNiZ
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

Re: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-02 Thread Mike Young
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

Re: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-02 Thread Daniel O'Connor
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

[avr-gcc-list] Help needed with mega2560?

2005-05-09 Thread Mark E. Scott Jr.
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