iom324pb.h, not in latest avr8-gnu-toolchain for linux Hi,
That's avr-size (not avr-gcc) that doesn't know the device, but it doesn't really matter (IMO).
The crt... is "C Runtime" something. It's the interrupt vector...
Wednesday, 11 April 2018 - 17:37
iom324pb.h, not in latest avr8-gnu-toolchain for linux And by "see it's content" you mean?
$ ar t libatmega324pb.a
eewr_block_xmega.o
eerd_block.o
eerd_byte.o
eerd_dword.o
eerd_word.o
eeupd_block.o
eeupd_byte.o
eeupd_dword.o...
Tuesday, 10 April 2018 - 07:45
iom324pb.h, not in latest avr8-gnu-toolchain for linux It's a zip-file, just use unzip.
$ file Atmel.ATtiny_DFP.1.3.169.atpack
Atmel.ATtiny_DFP.1.3.169.atpack: Zip archive data, at least v1.0 to extract
$
$ unzip -l Atmel....
XMEGA 128A1U USART BAUD RATE (4MHZ?) Looks OK to me. But I don't use ASF/Start (or what you are using), only used XMega/USB with LUFA and it sets up 32MHz RC and DFLL for 48 MHz USB-clock. Like this
/* Start the...
Thursday, 22 March 2018 - 15:27
XMEGA 128A1U USART BAUD RATE (4MHZ?) You can not use the 16MHz crystal as a common source to get both F_CPU=32Mz and F_USB=48MHz. One option is to use the crystal for F_CPU and let the internal 32MHz RC-oscilator be...
Thursday, 22 March 2018 - 10:35
XMEGA 128A1U USART BAUD RATE (4MHZ?) The default is to sample the RX signal 16 times on each bit, that gives a miximum of 3Mbit/sec with F_CPU=48MHz. If you use the double speed mode (CLK2X = 1) you can get up to...
Wednesday, 21 March 2018 - 18:15
XMEGA32e5 - timer ISR and volatile variable undeclared The compiler can only "see" one .c file at a time so it doesn't know anything about the variable count when the ISR file is being compiled.
Either put in a
extern volatile...
Saturday, 17 February 2018 - 07:13
ATTiny84 & SoftwareSerial If you just add a one, you get two for free .
I mean, ATtiny841 is the successor of '84. It comes with two hardware USART's, a better RC oscillator and a lot of other...
Wednesday, 24 January 2018 - 16:53
trigonometric functions I wouldn't do it myself, but you can call library functions from (gnu) assembler.
#include <avr/io.h>
.data
format:
.string "sin(pi/4) = %f\n...
Monday, 22 January 2018 - 08:30
Program Execution Time: PROGMEM vs RAM I think your crystal ball is very clear today, Theush.
uint8_t crc_dummy(uint8_t val)
{
uint8_t i;
static const uint8_t crc_table[] = {0x00, 0xC1, 0x81, 0x40, 0x01...
Thursday, 18 January 2018 - 18:03
return 0, return 1 What they do? Why not read the documentation you linked to?
unsigned char i2c_start
(
unsigned char
addr
)
Issues a start condition and sends address and transfer...
Hi, That's avr-size (not avr-gcc) that doesn't know the device, but it doesn't really matter (IMO). The crt... is "C Runtime" something. It's the interrupt vector...
And by "see it's content" you mean? $ ar t libatmega324pb.a eewr_block_xmega.o eerd_block.o eerd_byte.o eerd_dword.o eerd_word.o eeupd_block.o eeupd_byte.o eeupd_dword.o...
It's a zip-file, just use unzip. $ file Atmel.ATtiny_DFP.1.3.169.atpack Atmel.ATtiny_DFP.1.3.169.atpack: Zip archive data, at least v1.0 to extract $ $ unzip -l Atmel....
Could that mean that the data has been transferred? Yes it's (probably) transfered. But not received. The slave will only see at most a couple of zeros until it's...
Looks OK to me. But I don't use ASF/Start (or what you are using), only used XMega/USB with LUFA and it sets up 32MHz RC and DFLL for 48 MHz USB-clock. Like this /* Start the...
You can not use the 16MHz crystal as a common source to get both F_CPU=32Mz and F_USB=48MHz. One option is to use the crystal for F_CPU and let the internal 32MHz RC-oscilator be...
The default is to sample the RX signal 16 times on each bit, that gives a miximum of 3Mbit/sec with F_CPU=48MHz. If you use the double speed mode (CLK2X = 1) you can get up to...
The compiler can only "see" one .c file at a time so it doesn't know anything about the variable count when the ISR file is being compiled. Either put in a extern volatile...
If you just add a one, you get two for free . I mean, ATtiny841 is the successor of '84. It comes with two hardware USART's, a better RC oscillator and a lot of other...
I wouldn't do it myself, but you can call library functions from (gnu) assembler. #include <avr/io.h> .data format: .string "sin(pi/4) = %f\n...
I think your crystal ball is very clear today, Theush. uint8_t crc_dummy(uint8_t val) { uint8_t i; static const uint8_t crc_table[] = {0x00, 0xC1, 0x81, 0x40, 0x01...
Why not read the documentation you linked to? unsigned char i2c_start ( unsigned char addr ) Issues a start condition and sends address and transfer...
Pages