Post Created date
Multi-Slave RS-232
Quote:it worked in strange wayThis statement could be interpreted as it worked even though it was connected strangly or that it did not work. With such few details in your email...
Tuesday, 1 July 2008 - 22:49
STK500 and the ATtiny 24,44,84
Quote:** -- Check out Mega406. IIRC there is a Tiny that doesn't have "serial program downloading" either.The ATtiny28 falls into this category.
Tuesday, 1 July 2008 - 22:33
ATtiny 28 C code Non-RAM memory
Most compiler producers don't think it's worth it. Obviously, some people think it's worth it, hence the link in the FAQ describing how to do it. Personally, for a micro as small...
Tuesday, 1 July 2008 - 19:18
STK500 and the ATtiny 24,44,84
You could build your own adapter board. All you need is a DIP socket and a 6 pin header to connect back to the ISP header on the STK500.
Tuesday, 1 July 2008 - 19:07
Multi-Slave RS-232
I would expect two diodes could make this work. Although, I think you have the polarity of them reversed in your diagram. Why don't you just try it and find out? I think Cliff's...
Tuesday, 1 July 2008 - 16:42
Multi-Slave RS-232
Quote:and when i tried to do this with common (shared) flags, it didn't work eitherAre you referring to setting a flag variable in the ISR that is read in the main code? If yes,...
Tuesday, 1 July 2008 - 04:06
[Atmega16]Does IN/OUT instruction run in 1 cycle?
IN and OUT are 1 cycle each. Your code example also has a while loop which would be an RJMP. RJMP is 2 cycles. So two OUTs and an RJMP is a total of 4 cycles per iteration.
Monday, 30 June 2008 - 06:12
avr-gcc 4.2.2 generating incorrect assembly
Scratch that last comment... I just realized I didn't rename all instances of "val" in the function. When I do, the problem still occurs... I did say reusing global variables...
Saturday, 28 June 2008 - 16:22
avr-gcc 4.2.2 generating incorrect assembly
I tried renaming the local variable "val" in the inline function and the problem appears to go away. While it should work as is, this may be a good work around for you for now....
Saturday, 28 June 2008 - 16:18
avr-gcc 4.2.2 generating incorrect assembly
Maybe the compiler is getting confused because you have a module wide variable and a local variable with the same name? The function in question is also a little strange: long...
Saturday, 28 June 2008 - 05:47
Problem AVRSTUDIO 4.13 or 4.14 + WINAVR on windows vista ?
Check out this site: http://www.madwizard.org/electronics/articles/winavrvista
Saturday, 28 June 2008 - 05:24
UART oddity absolutely baffling
Perhaps there is a problem with the stack setup? This could cause the function call (or more likely the return) to fail.
Tuesday, 24 June 2008 - 02:27

Pages