Post Created date
attiny2313a / attiny2313 / AVR studio 4.18 / WinAVR 2010 problem
AVR533: Migrating from ATtiny2313 to ATtiny2313A, but nothing that I can see. The painfull thing is that, due to the extra 4 bytes at teh start of the program, the whole hexdump...
Thursday, 18 June 2015 - 03:06
Use both "AVR Studio 4" and "Atmel Studio" ?
All the legacy products, and all the legacy support computers, are on WinAVR 2010.01.10 nsing 4.18 project files, so it's going to be around for a while. The firmware upgrade/...
Thursday, 18 June 2015 - 02:59
Use both "AVR Studio 4" and "Atmel Studio" ?
jgmdesign wrote: Sure you can.  I have both on several machines and they happily live there.   Thanks, I'll give it a go   jgmdesign wrote: Do they install...
Wednesday, 10 June 2015 - 09:37
Under what conditions does avr-gcc preserve registers?
alexru wrote: Also, standards GCC prologues and epilogues save and restore only what is required anyway, so you probably won't win much.   It doesn't always work that way....
Thursday, 12 March 2015 - 07:45
How to make C++ faster than assembler.
The C compiler can't optimise the repeated Port writes (in the example in the original post) because the Ports are defined as Volatile. In the "optimised" examples the programmer...
Friday, 14 November 2014 - 10:26
Volatile struct - how it works?
I assume that in the last 5 years volatile structs have been fixed, but still, be careful. "volatile" is an area that has traditionally been under-tested in c compilers. https://...
Wednesday, 3 September 2014 - 10:31
use & or &&?
Koshchi wrote:&& is logical AND. For C && D, both C and D are evaluated as a boolean value, then then those values are ANDed. For "C &...
Tuesday, 2 September 2014 - 12:35
A question about programming morals
jerryr wrote:Both are very useful in making the .c files hardware independent - an example is to run the same program on different boards. I have a header file which contains the...
Wednesday, 30 July 2014 - 09:24
why are there so many different types of avr programmers?
clawson wrote:First there was 405 line VHF mono, then 625 line UHF colour That would be an English example. The rest of the world used different standards. Australians were...
Wednesday, 30 July 2014 - 09:06
behavior of signed char
skotti wrote:Though it may be undefined, I would assume that it behaves the same like on unsigned numbers. So for 'unsigned char' it would be: 0, 1, 2, ..., 126, 127, -128, -127...
Tuesday, 10 June 2014 - 08:18
Best way to inline a function?
Well I use multiple compilers mostly for multiple targets. But some of the code I write does more things than just reading and writing ports, and some of that code gets ported to...
Monday, 19 May 2014 - 09:05
-std=gnu99 optimizations
You know, I ask questions here in case some one else knows the answers to the question. Sometimes, no-one knows the answer, but can point to the relevant documentation. Sometimes...
Thursday, 27 March 2014 - 01:06

Pages