how to do programming in microprocessor?

4 Answers

  • 9 months ago

    Microprocessors understand machine code binary 0 and 1, but you will use a higher level programming language such as "C" or "Assembly." Write the program in the Integrated Development Environment (IDE) software for your microprocessor, which will compile the code into a language the machine can understand.

  • 9 months ago

    Use C or Assembly to do your programming.

  • 9 months ago

    Write the program.

    Assemble or compile it and download to the device.

    Fix bugs, try again...

    It's not that different to writing a program for any other system, but with an MCU, you have direct access to and control of all its I/O devices etc.

    We use a lot of Microchip PIC MCUs. With those, we use the makers MPLabX programming environment and ICD3 programming/diagnostic interface units to connect with the actual MCU device in whatever circuit design.

    You can also get a far cheaper programming & debugging unit, the PICKIT3 (for about 15- on ebay).

    I usually program in C, using a commercial add-on compiler (CCS PICC).

    MPLab supports PIC assembly language and also has free add-on compilers, XC8 & XC16, to work with C.

  • 9 months ago

    You'll need to be more specific. In this century, all processors are microprocessors.

    What sort of programming did you have in mind?

Still have questions? Get your answers by asking now.