Post Created date
[Code Review] DIY C Buffer Filter/Analysis Function
I don't know if you have to obey any coding standard, but regardless of this I have two comments. 1. I don't like the last line of code, this one under the comment //outcome. You...
Thursday, 15 October 2020 - 19:35
Jump to Bootloader from Application using pointer || XMEGA
And, of course, interrupts should be globally disabled during transition to and from bootloader.
Thursday, 1 October 2020 - 07:50
Jump to Bootloader from Application using pointer || XMEGA
For Xmega32E5 you should set the entry pointer to 0x4000. Did you use this value? How do you know the code doesn't go to the bootloader? Did you verify this with debugger? Maybe...
Thursday, 1 October 2020 - 07:12
CRC Driver || XMEGA32e5 || Not working
I have working code for Xmega A4, but I'm pretty sure the same code will work on Xmega E5. To make your code working, you need to replace three lines where you write to CRC.CRTL...
Monday, 14 September 2020 - 14:17
Moving from C to C++, weird issue
Could you put your code, at least for the step #2?
Tuesday, 3 September 2019 - 07:07
Use of ASSERT in AVR C programming?
clawson wrote:assert() only really works if there's some kind of stderr channel for it to output to which often isn't the case with AVR I define my own assert() to use in my code...
Friday, 9 August 2019 - 08:14
C AVR32_GCC compiler and compile time const (modulo optimization)
Your version is much better.
Monday, 1 July 2019 - 13:46
C AVR32_GCC compiler and compile time const (modulo optimization)
Craftplorer wrote:I wanted to use the % operator so the code is portable and can be used with sizes that are not of power of two. And if they are of power of two let the...
Monday, 1 July 2019 - 13:08
New to Atmel, looking for help analyzing why this program will not work properly
Your interrupt procedures doesn't save/restore timer registers. When you add code for this, the code will be still far from being correctly designed (never use delays in...
Tuesday, 4 June 2019 - 14:19
New to Atmel, looking for help analyzing why this program will not work properly
I think this is the scenario of your issue: 1. wait() in your main loop is running 2. An interrupt occurs. 3. The interrupt procedure calls wait() 4. The wait() called by the...
Tuesday, 4 June 2019 - 05:45
Unknown Identifier while debugging
Perhaps you are trying to watch Num instead of A.Num (in setup()) or this->Num or just this in (class Foo member functions).
Wednesday, 22 May 2019 - 05:26
programming on target micro with other micro
Brian Fairchild wrote:First you need to find an AVR with enough EEPROM to hold your program. Or you can locate your application in bootloader section and use FLASH instead of...
Wednesday, 15 May 2019 - 05:43

Pages