What is programmer in micro controller?

In summary, the programmer is a piece of software and hardware that "programs" the microcontroller. It is the device that takes the binary file from your computer and puts it in the microcontroller.
  • #1
rizwan_20
3
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
  • #2
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 :)
 
  • #3
Thanks Runei for your reply and help me on this.
 

1. What is a microcontroller?

A microcontroller is a small computer on a single integrated circuit that is designed to control a specific function. It contains a processor, memory, and input/output peripherals, making it a self-contained computer system.

2. What is the role of a programmer in microcontroller?

A programmer is responsible for writing and designing the code that instructs the microcontroller to perform a specific task. They must have a thorough understanding of the microcontroller's architecture and available programming languages.

3. What programming languages are commonly used for microcontrollers?

The most commonly used programming languages for microcontrollers are C and assembly language. These languages provide low-level control and efficient use of memory, which is essential for microcontroller applications.

4. How does a programmer interact with a microcontroller?

Programmers use a programming tool or software to write and upload their code onto the microcontroller. This can be done through a variety of interfaces such as USB, serial, or JTAG.

5. What are some common applications of microcontrollers?

Microcontrollers are widely used in embedded systems, such as home appliances, automotive systems, medical devices, and industrial control systems. They are also used in consumer electronics, such as smartphones, gaming consoles, and wearable devices.

Similar threads

  • Electrical Engineering
Replies
26
Views
2K
  • Electrical Engineering
Replies
12
Views
2K
  • Electrical Engineering
Replies
11
Views
963
Replies
13
Views
1K
  • Electrical Engineering
Replies
10
Views
2K
  • Electrical Engineering
Replies
10
Views
2K
  • Electrical Engineering
Replies
2
Views
1K
  • Electrical Engineering
Replies
17
Views
2K
Replies
10
Views
3K
  • Electrical Engineering
Replies
33
Views
562
Back
Top