What is programmer in micro controller?

  • Thread starter Thread starter rizwan_20
  • Start date Start date
  • Tags Tags
    Controller Micro
Click For Summary
A programmer, or burner, in a microcontroller context is both a software and hardware tool that transfers a binary file from a computer to the microcontroller chip. This process allows the microcontroller to execute specific tasks by loading instructions stored in its memory. Microcontrollers typically consist of a CPU core and various peripherals for communication and storage. The programmer reads the compiled program files, such as HEX or ELF, and places the instructions at designated memory locations. Understanding the role of the programmer is essential for working effectively with microcontroller systems.
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.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · 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
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
7
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K