Section _ Understanding and building a programmer and programming micros
Review of PIC microcontroller programmer (how it works and uses) - internal structure and construction
Researcher and author: Dr. ( Afshin Rashid)
Note: Apart from some very old chips, they are all serially programmable in-circuit, meaning they can be programmed in-circuit using a PIC ICSP programmer.
A programmer is a device that, with the help of a PC or alone, is capable of transferring a program or changing the settings of a programmable electronic component. There may be compelling reasons why you would want to program PIC microcontrollers in a socket programmer (programmer) before placing them in a circuit, but it is difficult to think of these advantages because socket programmers are not faster. You also have the advantage of being able to later implement firmware updates, to fix bugs, update product features, or customize a product, and there must be a way in the programming system.
A good programmer supports all PIC microcontrollers, including PIC24, PIC32 and dsPIC. Among the Microchip families , the more complex the microcontroller is, the more complex its programming protocol will be. You will need to set up modes for initializing various forms of memory, setting configuration parameters that control the main functions of the controller (for example, in the PIC microcontroller programmer "fuses" that can turn off SPI or disable the internal clock source oscillator). The protocol for how to do this is very minimal and is usually not of interest to the developer who wants to use this controller for his product. So naturally, it is the microcontroller manufacturer that provides an abstraction layer between the microcontroller and the personal computer and programmer, which makes it easier to program the controller. PIC microcontroller programmers support a very wide range of PIC microcontrollers manufactured by Microchip.
Here's how to use the programmer: To start programming, you insert the microcontroller into the ZIF socket and open the software. It automatically tries to identify the microcontroller model.
If the microcontroller is not recognized or an error message is received, first check the correct connection of the pins to the microcontroller and then the microcontroller's power supply.
Researcher and author: Dr. ( Afshin Rashid)
Specialized PhD in Nano-Microelectronics






