Type in the full discussion title or a part of it.
Discussion Title Created date
__memx - initializer element is not computable at load time
Hi, I've tried to use new feature of avr-gcc "“ named address spaces. For example the following code: const __flash char *x=PGM_STR("Test"); works fine. But I want to create a...
Wednesday, 21 August 2013 - 07:04
Bug in gcc during access to GPIOR
I use Atmel toolchain with XMEGA256A3BU, when trying to compile the following code: volatile uint16_t *wsk; wsk=&GPIOR2; *wsk=0xaaff; The compiler generates the following...
Monday, 4 March 2013 - 18:30
Are XMEGA U shipped with preloaded bootloader?
Maybe silly question, ATMega devices with build-in USB are shipped with factory loaded bootloader, are XMEGAs too? I just connected XMEGA256A3BU to USB, but the FLASH was empty. I...
Sunday, 24 February 2013 - 19:49
XMEGA, DMA and timers – how to keep in sync.
I use XMEGA128A1, and I need synchronized DMA transfers, so timer counter will count DMA-transferred bytes. My initialization code is as follows: DMA.CTRL=DMA_ENABLE_bm |...
Thursday, 7 February 2013 - 21:18
USART in synchronous mode
Does anybody knows, if AVR (especially XMEGA) USART which works in synchronous mode still sends start and stop bits? To me it makes no sense to send start/stop bits in this mode...
Saturday, 19 January 2013 - 11:51
Xplained-A3BU – schematics
Hi, I'm looking for Xplained-A3BU schematics, but I can't find them. The links in app notes are dead, and leads to Atmel page not found message. Could anybody give me a link to...
Friday, 7 December 2012 - 17:09
Can you confirm linker bug? __attribute__ ((used))
I link program with "“Wl,--gc-sections, so unused sections should be discarded. And it works fine. But I want to prevent one section from discarding; I know I can modify linker...
Wednesday, 28 November 2012 - 17:55
gcc 4.7.2 – are 24-bit int types supported?
I just tried gcc 4.7.2 and whereas __flash named address space worked just fine, I cannot use 24-bit int types like __uint24_t. Is that type still not supported by gcc 4.7, or I...
Monday, 19 November 2012 - 23:34
Gcc bug/regression with anonymous structures?
Take a look at the following code: struct StructA { char Name[20]; int Age; }; struct StructB { struct StructA; int SomeOtherDeclarations; }; Because gcc supports C...
Monday, 10 September 2012 - 23:01
Incorrect size of struct
I have the following struct: typedef struct { enum A3972_Select Type : 1; union { struct { uint8_t DAC1 : 6; uint8_t DAC2 : 6...
Thursday, 14 June 2012 - 19:39
AVR Studio 6 – fusebit feature request
Hi, May I ask the AS6 developers to add a new nice feature. For years now, one can place fuse/lockbits definition in C programs. After compiling they are placed in .fuse and .lock...
Tuesday, 22 May 2012 - 08:44
XPlained 128A1 and SDRAM timings – why it takes so long?
Hi, I'm testing XPlained with SDRAM, everything is ok in terms I can access SDRAM, works fine. The problem is the access time to SDRAM. The simple LD r, Z from SDRAM takes 6...
Saturday, 21 April 2012 - 14:01

Pages