AVR microcontroller programming on Linux In this post I will show you how to program AVR microcontrollers (uC) in Linux. How to setup softwares and hardwares. It is very easy to program we only need a cheap uC chip in DIP package, a programmer, couple of wires, resistors and a breadboard. I will show you how to program the chip in C language with Linux's Console application and a text editing software called 'Kate'. Setup hardware and software 1. We need a programmer for example an USBasp programmer. I think we can also use a USBtiny programmer, but I don't have any experience with that. usbasp programmer More information about USBasp programmer (Schematic diagram and firmware) here: https://www.fischl.de/usbasp/ 2. We need to install software packages from YAST Software Management tool. - avr-libc - avrdude - cross-avr-binutils - cross-avr-gcc7 repository for OpenSuse Leap 15.2: https://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_Leap_15.2/ re...
Comments
Post a Comment