[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] atmega64
From: |
Iuliu Vasilescu |
Subject: |
[avr-gcc-list] atmega64 |
Date: |
Thu, 24 Jun 2004 19:52:02 -0400 |
User-agent: |
Mozilla Thunderbird 0.6 (Windows/20040502) |
I have this very simple program, and trying to run it on an atmega64:
#include <inttypes.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
int i;
void a(){
i=0;
}
int main (void)
{ DDRB=255;
a();
while(1){PORTB=0;PORTB=255;};
}
if I compile it for atmega64, the program does not flip the B port at
all (like never returns from a())
if I compile it for atmega16 runs ok on both atmega64 and atmega16...
I am using winavr-20040404.
any ideas?
thank you,
Iuliu.
- [avr-gcc-list] atmega64,
Iuliu Vasilescu <=