What is programmer in micro controller?

  • Thread starter Thread starter rizwan_20
  • Start date Start date
  • Tags Tags
    Controller Micro
Click For Summary
SUMMARY

A programmer, or burner, in the context of microcontrollers, is both a software and hardware tool that transfers binary files from a computer to a microcontroller chip. This process enables the microcontroller, which typically includes a CPU core and various peripherals, to execute specific tasks. Common CPU architectures in microcontrollers include Atmel's AVR and ARM's Cortex. The programmer reads HEX or ELF files generated from compiled programs and correctly places the instructions into the microcontroller's memory.

PREREQUISITES
  • Understanding of microcontroller architecture, including CPU cores and peripherals
  • Familiarity with programming concepts and binary file formats (HEX, ELF)
  • Knowledge of communication protocols such as SPI, I2C, and UART
  • Basic experience with software tools for compiling programs for microcontrollers
NEXT STEPS
  • Research the specific programming tools for Atmel AVR and ARM Cortex microcontrollers
  • Learn about the process of compiling code into HEX and ELF files for microcontrollers
  • Explore the various communication protocols used in microcontroller applications
  • Study the memory architecture of different microcontrollers to understand instruction placement
USEFUL FOR

This discussion is beneficial for electronics enthusiasts, embedded systems developers, and anyone interested in programming microcontrollers for various applications.

rizwan_20
Messages
3
Reaction score
0
Hi,
I am very interested to learn something about micro controller system and work with these. But I don't know much about this so perhaps my question is going to be very stupid one. The thing that I want to know is that what is programmer or burner in a micro controller. Is it a device that is used to send programs from pc to a microcontroller chip so that the chip can work with this program? Please clarify my doubt and help me learn...
With thanks in advance
Rizu
 
Engineering news on Phys.org
Hey there!

The programmer is a piece of software and hardware that "programs" the microcontroller. In other words, it is the gadget (SW/HW) that takes the binary file from your computer and puts it in the microcontroller.

Since I have time, I'll just write some extra stuff.

A microcontroller is a piece of hardware that consists of a CPU core, and several peripherals.

Commonly used CPU's in microcontrollers are Atmel's AVR CPU's and ARM's CORTEX CPU's.

The peripherals will be dedicated hardware stuff for communication (such as SPI, I2C, UART etc.) or different storage devices (Flash RAM, SRAM, EEPROM etc.).

When power is turned on, the CPU is hardcoded to do a very specific task. Most commonly, it will load the instruction that is saved at the address 0x00 (the reset instruction).

When you compile a program for a microcontroller, the file you get out of it (HEX or ELF file commonly), will contain all the instructions that make up your program. It also contains information about where to put these instructions inside the memory of the microcontroller.

The programmer has the very important task of reading these HEX and ELF files, and then putting the instructions at the right places inside the memory.


This is a generalization of how it all works, and there are several other things that will need to be taken care of, depending on the microcontroller used. But this is overall what its all about.

Hope it helped :)
 
Thanks Runei for your reply and help me on this.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 26 ·
Replies
26
Views
4K
Replies
13
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
7
Views
3K