Microcontroller programming can seem a little bit complex because there are many confusing choices to make. EPCB here offer an overview of what you need to do when making microcontroller programming.
Write your program code: The first step is to write your program code. It doesn’t matter what software you use to write code.
Compile code for your microcontroller: Though you finished writing your program code, you have to compile it before you upload it to your microcontroller. This is because the code you writing can’t be read by machine. Use a compiler that supports your microcontroller and compile your code into machine- readable code for you chip. Only after compiling your program code and having one or more files including machine-readable code, can you upload them to your microcontroller.
Upload a compiled file to you microcontroller: Often you need to upload a program file through a physical connection from your computer to your microcontroller. USB is a good choice.
Final Step: With the main steps of microcontroller programming fresh in mind, it’s time to start building. If you are starting out, EPCB would recommend starting with a microcontroller board.