Post Created date
Internal Flash accesses
abcminiuser wrote:Pointer arithmetic is usually frowned upon, On which planet is it frowned upon exactly? Personally I think: pgm_read_byte(image+0) pgm_read_byte(image+1)...
Saturday, 6 October 2007 - 20:01
Static var reset in function: why?
No there isn't. (IMHO ;) )
Wednesday, 3 October 2007 - 16:42
Lantronix Xport serial voltage level?
Interesting that one has 256K SRAM and the other 8MB of SDRAM. Is this just for the internal use of the device or can the "client" make any use of that storage? If yes then the...
Wednesday, 3 October 2007 - 16:34
Static var reset in function: why?
No static makes it static. You need to use volatile to make it volatile. ;-) BTW, it's effectively volatile because of the -O0 anyway which reminds me that my code above was built...
Wednesday, 3 October 2007 - 16:11
Static var reset in function: why?
David, There was just a small shift in the space-time continuum and then I found myself in this ID instead! Cliff
Wednesday, 3 October 2007 - 16:05
Programming avr butterfly
OK, I'll bite, what lead you to think that the Academy Forum was the right place to make this post?
Wednesday, 3 October 2007 - 16:03
Calling functions from an array?
Joe, See the large piece of code I posted to page 6 the "smallest bootloader" thread: https://www.avrfreaks.net/index.p... which is actually an example of someone trying to use C...
Tuesday, 2 October 2007 - 14:40
goofy interrupts
Oh bugger it, I thought that if I slipped in by the back door no one would notice it! Thanks for the "congrats". (it's partly because I've got a meeting in 10 minutes but wanted...
Tuesday, 2 October 2007 - 12:38
TCNT1 simulation problems
Sounds like someone hasn't read the "Known Issues" section of the simulator help file before using it and then assuming that it simulates everything perfectly. It doesn't.
Tuesday, 2 October 2007 - 12:32
Strange variable evaluation problem with mega64 in avrstudio
The search term you are looking for is "optimisation". But just take a step back and look at what happens to 'a' in that program. You set it to 1 (but never use that value) then...
Tuesday, 2 October 2007 - 12:30
goofy interrupts
Don't sei() in an interrupt - you open the potential to flood the stack
Tuesday, 2 October 2007 - 12:07
What can be the error in linking.
Well the answer is in the error message. It's telling you that a symbol is multiply defined from os_sem.c and ucos_ii.c This comes as no surprise whatsoever because, for some...
Tuesday, 2 October 2007 - 12:01

Pages