I am using AVR Studio4 to develop AT90CAN128. In a program I made such a definition:
char var = 4;
but got an error in compiler:
gcc plug-in: Error: Object file not found on expected location … \default\example.elf.
If I changed it to “
”; everything is OK.
Has anybody met such a problem?
In the datasheet of AT90CAN128 I found this code of initialization of UART:
UCSR0B = (1<<RXEN0)|(TXEN0);
That means, the bits RXEN0 and TXEN0 must have values that equal to their positions in the register. Where are these values defined?