PDA

View Full Version : how to program a microcontreller ?



samorai
06-21-2010, 08:06 PM
hi................, can any one tell me how to program a microcontroller ..,
what are the software and components needed to program it:)

pratheek
06-21-2010, 08:19 PM
There are two ways.

One, using an hardware programmer that communicates between your PC and yourmicrocontroller and transfers the code from the PC to the microcontroller. You will need a compatible software to communicate with the hardware programmer.

Second, is a cheaper, easier and quite a popular way of programming microcontrollers, using bootloaders. A bootloader is a piece of code that is already burnt into a microcontroller using a hardware programmer. Once the bootloader is burnt into the microcontroller, you will no longer need a programmer to program it to a computer. The microcontroller can directly communicate with the computer using the bootloader. And can be directly connected to a computer for future programming.

Google search to find more information on how to program specific microcontrollers.