Saturday, November 28, 2015

TTY

http://a3nm.net/blog/unbuffering.html
http://technostuff.blogspot.ru/2008/10/some-useful-socat-commands.html
http://rdiez.shoutwiki.com/wiki/Serial_Port_Tips_for_Linux
http://www.linusakesson.net/programming/tty/
http://wiki.bash-hackers.org/howto/redirection_tutorial

Thursday, November 5, 2015

AVR

Extremely useful articles:
http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/
http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers/

atmega168/328p: avrdude -c usbasp -p <MCU> -U lfuse:w:0xff:m -U hfuse:w:0xd7:m -U efuse:w:0x07:m -qq

FUSE:
-U lfuse:w:0xFF:m
tick EEPROM
untick BOOTRST, untick BOOTSZ*
untick all BODLEVEL

http://eleccelerator.com/fusecalc/fusecalc.php
http://www.martyncurrey.com/arduino-atmega-328p-fuse-settings/

http://www.appelsiini.net/2011/simple-usart-with-avr-libc

Read comments here: https://github.com/tuupola/avr_demo/blob/master/blog/simple_usart/Makefile