Post Created date
Avrdude: why no safemode prompt or fuse recovery?
What are you expecting? I am not exactly sure what to expect, but I forgot to mention that avrdude is working very well, and that I am just beginning to learn to use it...
Monday, 7 September 2020 - 08:22
[SOLVED] How to make volatile register variable
This thread quickly helped me solve the same type of optimization "problem" as described by the OP.   As the OP mentioned, the GCC compiler optimizes-away (I tried -O1...
Wednesday, 8 July 2020 - 08:24
Compatibility of USI Three-wire modes with SPI modes
I updated this post with a more useful one (USI timing diagram, code to characterize DI-sample/DO-change timing, and code to more-clearly demonstrate USI/SPI mode...
Monday, 6 July 2020 - 20:47
AVR Errata - Unpublished, and other "Gotchas"
  --- USI SPI Compliance --- The AVR Universal Serial Interface (USI) Three-wire external clock modes are compliant with SPI modes 1 and 3. The datasheet (e.g., ATtiny84A)...
Sunday, 5 July 2020 - 09:26
Only SPI modes 0 and 1 supported by Attiny84 USI?
Reporting back... I tested USI/SPI mode combinations (see post) on hardware, and discovered that  USI Three-wire slave modes, USICS1:USICS0=1:1 and 1...
Tuesday, 23 June 2020 - 11:05
ATTINY24 USI_OVF_vect not firing
Have you confirmed that the CKDIV8 (Divide clock by 8) fuse bit and  CLKPR (Clock Prescale Register) are set appropriately to produce the system clock...
Sunday, 21 June 2020 - 08:48
Only SPI modes 0 and 1 supported by Attiny84 USI?
Although I have not confirmed this on hardware yet (I will be using an ATtiny84), the datasheet leaves me thinking that the USI Three-wire mode supports SPI modes 0 and 2, rather...
Thursday, 18 June 2020 - 03:55
Input Synchronizer Latch Setup/Hold Timing
Thanks for the ideas.   Judging from the input synchronizer schematic and timing diagrams in the datasheet, I am thinking that the GPIO input latch setup time is at most...
Monday, 16 December 2019 - 12:37
AVR Studio 4.19 + WinXP SP3
Better late than never? This comment in the following linked article solved the problem for me:
Friday, 30 June 2017 - 08:51
Make editor font choices persistent?
Quote:Have a rummage around in here: Code: E:\Program Files\Atmel\AVR Tools\AvrStudio4\edit>grep -i font * AvrStudio.ini:[Font] AvrStudio_asm.ini:[Font] AvrStudio_c.ini:[Font]...
Monday, 25 June 2012 - 23:17
Minimizing memory space for constant "data"
Quote:Can you simply post a 5..10 line complete, compilable program that shows the problem you are trying to solve? Absolutely right... You have ended up doing more work than I!...
Monday, 25 June 2012 - 12:17
Minimizing memory space for constant "data"
You have to explicitly tell the compiler that the constant can't be accessed from a different module by putting a "static" into the definition. You're right (but you already...
Monday, 25 June 2012 - 12:06