[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] basic UART Transmit interrupt problem
From: |
Woodward, Mark P |
Subject: |
RE: [avr-gcc-list] basic UART Transmit interrupt problem |
Date: |
Thu, 03 Jul 2003 17:33:46 -0700 |
Dean, Larry, Darren and Jake;
Dean nailed it. It works when I specify -mmcu=atmega128 in the link
command, in addition to the compile command. I feel like somewhat of a
moron for this. Thank-s a lot for all your help.
best,
-Mark
> -----Original Message-----
> From: Dean Ferreyra [SMTP:address@hidden
> Sent: Thursday, July 03, 2003 5:09 PM
> To: Woodward, Mark P; 'Larry Barello'
> Cc: AVR GCC List
> Subject: RE: [avr-gcc-list] basic UART Transmit interrupt problem
>
> Mark,
>
> > avr-gcc -g -Os -mmcu=atmega128 -c -o Test.o Test.c
> > avr-gcc -o Test.elf Test.o
> > avr-objcopy -O srec Test.elf Test.srec
> > uisp --erase -dprog=dapa
> > uisp --upload -dprog=dapa if=Test.srec
>
> Okay, here's another idea. Try including the -mmcu option on your second
> avr-gcc line:
>
> avr-gcc -mmcu=atmega128 -o Test.elf Test.o
>
> Dean
>
- [avr-gcc-list] basic UART Transmit interrupt problem, Woodward, Mark P, 2003/07/02
- RE: [avr-gcc-list] basic UART Transmit interrupt problem, Woodward, Mark P, 2003/07/03
- RE: [avr-gcc-list] basic UART Transmit interrupt problem, Woodward, Mark P, 2003/07/03
- RE: [avr-gcc-list] basic UART Transmit interrupt problem, Woodward, Mark P, 2003/07/03
- RE: [avr-gcc-list] basic UART Transmit interrupt problem, Woodward, Mark P, 2003/07/03
- RE: [avr-gcc-list] basic UART Transmit interrupt problem,
Woodward, Mark P <=