Type in the full discussion title or a part of it.
Discussion Title Created date
stblib srand() corrupts data in .noinit
I set up some values in the .noinit section but when I call srand() they are overwritten. The disassembly and memory map shows why: 00007BDA LDI R26,0x00 Load immediate...
Wednesday, 12 December 2012 - 10:26
Fixed CCITT and XMEGA compatible CRC32 code
'Sup people. The CRC-CCITT code in avr-libc is broken and produces incorrect results. Compare the output with the XMEGA CRC peripheral or any number of online calculators (e.g....
Tuesday, 11 December 2012 - 11:36
Timer compare match interrupt by writing CNT
Hi. I was hoping to get a timer compare match interrupt by setting the value I want to match in CCA and then writing the value to compare into CNT. DMA would be used to update CNT...
Thursday, 22 November 2012 - 16:14
sprintf_P never returns unless the next line is repeated!
Hi. I have a very odd and frustrating bug. I had some working code which I was doing a bit of reorganization on (in an unrelated area) and after a full re-build it locks up. Here...
Friday, 16 November 2012 - 12:05
Generic clock management (genclk)
Is it me or is there no way to add genclk via the ASF wizard? And the documentation is a bit thin, for example what am I supposed to pass to genclk_enable_config()? I am actually...
Monday, 12 November 2012 - 14:03
Problem with RTC power reduction
I am having another odd issue with a 128A3U... PR.PRGEN = PR_AES_bm | PR_DMA_bm; // start RTC while (RTC.STATUS...
Friday, 12 October 2012 - 11:14
"Erase only program area" does not work in AS6
Hi. I am using Atmel Studio 6 SP1 with an XMEGA128D3 and 128A3U. I am programming with an AVRISP mkII over PDI. If I select "Erase only program area" programming appears to...
Monday, 8 October 2012 - 09:44
OSC.CTRL has to be written twice to disable 2MHz OSC
I have been having an issue with an XMEGA D where when switching to an external 32KHz xtal for low power operation the 2MHz oscillator was not being disabled. If I write to OSC....
Friday, 28 September 2012 - 10:27
Infrared transceiver hardware
Hi. Has anyone built their own IRDA transceiver hardware for the XMEGA series? I have been using Vishay modules with good results, but they are expensive and include all the en/...
Wednesday, 26 September 2012 - 12:38
New datasheet style
Does anyone else prefer the old datasheets to the new "blue" ones? In particular I found the tables much easier to read in the old ones. Apologies if this is the wrong forum, none...
Thursday, 2 August 2012 - 13:26
USB CDC device not always recognised after soft reset
I am having an issue with a USB device that uses the ASF CDC framework running on an XMEGA 128A3U. When the AVR is soft reset, for example by updating the firmware or the MCU...
Thursday, 19 July 2012 - 09:39
Defining regions in code
Hi. According to MSDN Visual Studio is supposed to support regions in C code. #pragma region test ... #pragma endregion Thing is it doesn't work. I define a region and it isn't...
Tuesday, 10 July 2012 - 08:23

Pages