Type in the full discussion title or a part of it.
Discussion Title Created date
Weekend project: using the event system of the tiny1614 to create a full swing crystal oscillator
This is something I've been thinking about for a while, since the new xtinies only support a 32kHz crystal. However, they do have the event system and the custom logic peripherals...
Sun. Aug 19, 2018 - 12:53 PM
(var/2) vs. (var>>1) issue on avr-gcc
This code is a snippet from a software UART, I've stripped timing and control code to focus on the title issue.   #include<avr/io.h> int main () { /* Sample bits...
Thu. Aug 9, 2018 - 10:11 AM
Configuring the configurable logic on the new AVRs
I was playing with the programmable logic on a tiny1614, and the datasheet says:     What it doesn't say (at least I can't find it) is that the whole peripheral must be...
Thu. May 10, 2018 - 09:27 PM
avr-gcc is uselessly saving r24 in ISR.
I have this code:   #include <avr/io.h> #include <avr/interrupt.h> register uint8_t val_off asm("r2"); register uint8_t val_on asm("r3"); ISR (PCINT0_vect...
Sun. Feb 25, 2018 - 02:54 PM
UPDI programmer software for Arduino - compatible with avrdude
As you may recall, I've been working on a UPDI programmer firmware to run on Arduinos (Arduini?), to facilitate the programming of the new xtiny MCUs. These chips are clearly...
Sat. Feb 17, 2018 - 05:46 PM
Russian Mega128 clone
Today, there was someone asking here for a Russian transistor equivalent. So it occurred to me, "hey, there are Chinese AVR clones, so maybe there are Russian clones also?"...
Thu. Jan 11, 2018 - 12:33 PM
Signatures of the xtiny series and AS7 simulator bug
I want my STK2UPDI project to be able to talk to avrdude, so I need to write part definitions (avrdude.conf) for the xtiny series. I realized I'll eventually need the signatures...
Wed. Dec 13, 2017 - 09:43 PM
STK500 to UPDI is working! (was: Enabling XTiny UPDI)
Thanks to the chips Brian sent me, I have now analyzed the process of how to connect to the UPDI interface. This will eventually allow me to write my STK500v2 to UPDI interface,...
Wed. Nov 22, 2017 - 02:03 PM
AS7 code folding bug
I'd like to report that AS7 still has a bug related to the one reported here: https://www.avrfreaks.net/comment...   The bug was fixed for // style comments, but still exists...
Mon. Nov 20, 2017 - 11:41 AM
avr-g++ treats SFRs differently re constexpr in v 5.4 v/s 7.2
[note this started life on tutorial thread about "toolchain flavours"]   Thanks, I've added avr-gcc 7.2 as a "flavour". Naturally, weirdness ensued. Using the old version (...
Sun. Oct 22, 2017 - 08:59 PM
Generating lookup table at compile time using features from C++14
In recent months, I've been improving my C++ skills, after all plain C is really starting to show it's age. So, variadic templates, auto typed variables, lambda expressions and...
Tue. Oct 10, 2017 - 01:18 PM
GCC optimization fail
This simple program shows a poor optimization by GCC:   #include <avr/io.h> int main () { OCR1A = (PIND << 8) | PIND; }gcc 4.8.1 and 5.4.0 give:   int...
Fri. Sep 29, 2017 - 10:13 PM

Pages