Type in the full discussion title or a part of it.
Discussion Title Created date
strange t13A from AliExpress
I've  recently been doing a lot of testing on a t13A that I bought a few years ago.  I had done some basic testing (blink an LED) when I first received it to confirm I...
Wednesday, 25 March 2020 - 16:44
2Mbps bit-bang UART on a 10Mhz ATtiny13
Most of the AVR bit-bang UARTs I've written require a minimum of 7 cycles/bit (without unrolling).  Yesterday I had an idea to cut the loop time to 5 cycles, which allows for...
Monday, 23 March 2020 - 16:04
detecting compile-time integer constants with gcc
I'm trying to detect compile-time integer constants so I can have some code fail with an error when given an argument that cannot be determined at compile time. ...
Thursday, 19 March 2020 - 19:21
gcc unwanted loop hoisting?
Compiling with -Os, avr-gcc 5.4.0 seems to be making unwanted speed optimizations at the cost of space.  Here's some sample code and the resulting asm: void sput(char* s...
Saturday, 14 March 2020 - 22:28
more avr-g++ stupid optimizations (integer promotion?)
avr-gcc 5.4.0 (also tested 4.9.2), -Os -flto, compiled as C uint8_t printHex(uint8_t value) { dbgtx(nibbletohex(value>>4)); 68: 28 2f mov r18, r24...
Sunday, 1 March 2020 - 15:31
spike filter details?
Does anyone have details (hopefully a schematic) of the reset spike filter?  I've been testing ADC0 on 8-pin tinies like the t13 and t85, without disabling reset.  I'm...
Thursday, 20 February 2020 - 23:00
unconnected pins usually don't float
Over the years I've read lots of comments about floating input pins.  I've usually found that unconnected pins read as zero, but never did any thorough testing.  A few...
Sunday, 16 February 2020 - 22:42
Building a better bit-bang UART
I've written a blog post describing asynchronous serial UART communication and my bit-bang UART library, picoUART. http://nerdralph.blogspot.com/20...  
Thursday, 13 February 2020 - 02:08
integer promotion difference between gnu11 and gnu++11
I read a few of the previous discussions on integer promotion, and none of them mentioned differences between avr-gcc (5.4.0) in gnu11 and gnu++11 modes (the default for avr-gcc...
Sunday, 9 February 2020 - 21:20
avr-gcc inline assembler concrete documentation?
Is anyone aware of a very good, technical description of avr-gcc inline asm?  It took me only a few months to learn straight asm (i.e. write main.S, compile with avr-gcc),...
Wednesday, 29 January 2020 - 17:24
logic diagram for HV programming mode?
I want to make some improvements to my HVSP fuse resetter, and am trying to figure out the logic of how the modern (with enhanced POR) tinies enter HV programming mode. ...
Saturday, 18 January 2020 - 18:51
picoboot v3 beta release
256 bytes of assembler, Arduino bootloader compatible (avrdude -c arduino), with autobaud (minimum 19,200bps @ 16Mhz).  At 500kbps, it will read 32kB of flash on the m328 in...
Sunday, 12 January 2020 - 01:30

Pages