How to program atmel 8051 family microcontroller?  (step by step) Programming of ATMEL 8051 family microcontrollers are very similar to each other and required very simple steps to burn your hex code program into its flash ROM. Here, i will tell you basic component requirements and steps to program these microcontroller.

Basic components of programming an 8051 ATMEL microcontrollers

1. Software Development Kit (SDK) like KEIL μvission, MikroC 8051, ATMEL STUDIO etc.

2. Programmer /burner that supports your 8051 ATMEL microcontroller.

3. Computer that support above components.

Steps of programming

1 . Make your program's hex code

HEX CODE are also call as machine code and its file extension is .hex . These code contain hex code format of your program. You will get this hex code by compiling/buiding your high level code. It is the work of your software development kit (SDk) that generate it. You just need to select the options for build hex code like selecting your target (microcontroller chip), frquency, hex code format (generally INTEL HEX CODE).

2. Burning your hexcode into microcontroller chip

Now, install programmer software that your have from programmer,development board. Then connect progrogrammer board to your computer. You may also need to install driver for your programmer boad. these software are come togather with board, usually. After successful connection to computer, browse your program hex code and select target microcontroller chip. Place your microcontroller to the socket of the programmer board, care must be taken to place chip correctly. Chips has a mark which tell us which is the right direction of chip. Wrong placing of chip may result in burn-out of chip.

In programmer software, there is many option like erase, verify, program, read, save etc. You need to select erace, program and verify and then click on program or burn button. Progress bar will show the status of your program burning to the microcontroller. And done, now you can run your system by placing these chip.

#### ask your doubts/queries in comment below  ####