Post Created date
How to know that an AVR is orginal and no feigned?
I've been working with AVR in IRAN for 10 years and I should say that I've never encountered such problems you mentioned here. Considering the costs of investments for...
Wednesday, 25 December 2013 - 07:45
[TUT] [C] Using the EEPROM memory in AVR-GCC
clawson wrote:To add to what Stefan says it may help you to do something like this: //EEPROM VARIABLES EEMEM uint8_t e_sensor_sensivity; EEMEM uint16_t e_pipe_dirty;...
Tuesday, 13 November 2012 - 10:58
[TUT] [C] Using the EEPROM memory in AVR-GCC
clawson wrote:Quote: It seems I can not store the values into EEMEM variables and they only can keep their address in EEPROM. Are you talking about the simulator here - it has a...
Tuesday, 13 November 2012 - 10:50
[TUT] [C] Using the EEPROM memory in AVR-GCC
clawson wrote:Quote: First I found that when I use EEMEM to declare an eeprom variable, it takes same space in SRAM too. No that's just a bug in the "size" utility written by...
Tuesday, 13 November 2012 - 07:07
optimization in Atmel Studio 6
sternst wrote:Quote:When I use O1 or other optimization levels, it compiles my code wrongly. Program hangs in while (key_flag==0) even key_flag turnes to 1. in disassmbly, i found...
Tuesday, 13 November 2012 - 06:41
Atmel Studio 6 useful suggestion [optimization]
clawson wrote:Read this: Optimization and the importance of volatile in GCC and all will be revealed. The fact you didn't know about volatile suggests you maybe haven't read the...
Tuesday, 13 November 2012 - 06:39
Atmel Studio 6 useful suggestion [optimization]
I have same problem in my project: key_flag=0; while(key_flag==0); return 1; When I disable optimization, everything is ok, but as you may know, in this way, delay...
Monday, 12 November 2012 - 09:51
optimization in Atmel Studio 6
I have same problem in my project: key_flag=0; while(key_flag==); return 1; When I disable optimization, everything is ok, but as you may know, in this way, delay functions...
Monday, 12 November 2012 - 09:47
[TUT] [C] Using the EEPROM memory in AVR-GCC
Hi. I have a problem with Atmel Studio 6 when I work with EEMEM. First I found that when I use EEMEM to declare an eeprom variable, it takes same space in SRAM too. for example...
Monday, 12 November 2012 - 09:12