ATmega16

How to Initialize Peripherals from Boot Loader Section

In almost all the microcontroller codes the peripheral initialization functions like uart initialization, spi initialization are written along with the different application codes. These initialization functions are actually repetitions of the original initialization functions. The same is the case with the external hardware initialization like LCD initialization, GSM modem initialization etc. Suppose the case in which

How to Initialize Peripherals from Boot Loader Section Read More »

How to Use SPM for Flash to Flash Programming

The Self Programming Mode (SPM) is a feature which enables a microcontroller to program its own flash memory. Using the SPM a microcontroller can program itself with an SPM code. The SPM is commonly used with the microcontroller Boot-Loader codes which help to program the microcontroller serially. In AVR microcontroller the SPM is available only for

How to Use SPM for Flash to Flash Programming Read More »

How To Use SPM To load Application from EEPROM

In any microcontroller the Boot-Loader is the first code which executes before the application code does. The major function of the Boot-Loader is to load the application code into the flash memory of the microcontroller and execute it. In AVR microcontroller the Self Programming Mode (SPM) helps the Boot-Loader to load a particular application from

How To Use SPM To load Application from EEPROM Read More »

How To Write a Simple Bootloader For AVR In C language

The BootLoader is a code which executes when a microcontroller is powered ON or reset. It basically sets an environment for the application code to execute. It is the Boot-Loader that sets the hardware and loads the application code from any storage medium or received through external communication and let the application to execute. Thus

How To Write a Simple Bootloader For AVR In C language Read More »

AVR DDS signal generator V2.0 using ATmega16

Finally second and improved AVR DDS signal generator is here. First AVR DDS V1.0 generator was only an attempt of running DDS algorithm without any amplitude control. This time I still wanted to keep things simple like minimum count of widely accessible components circuit, single sided PCB that comes together with good functionality. AVR DDS

AVR DDS signal generator V2.0 using ATmega16 Read More »

Evertool using ATmega16 microcontroller

Evertool is an AVRISP/STK500-protocol and JTAGICE compatible Programmer/JTAG debugger. ISP Programmer compatible with Atmel AVRISP, directly accessable with AVRStudio and avrdude JTAG debugger compatible with Atmel JTAGICE, directly accessable with AVRStudio and AVaRice Evertool supports all AVR devices Atmel supports with their AVRISP and JTAGICE. Easy update of the programmer for new target AVRs via

Evertool using ATmega16 microcontroller Read More »

Output number when button is pressed using Atmega16 microcontroller

This is simple demo program of reading button state, lighting LEDs, sending information via USART. 8 buttons are connected to Atmega16 port A, 8 LEDs to port B via current limiting resistors. While none of buttons arent pressed there is running light on LEDs performed, but when any of buttons is pressed then LEDs display

Output number when button is pressed using Atmega16 microcontroller Read More »

Scroll to Top