![]() ![]() Another pin controls the programming voltage (at MCLR) and two others supply power and ground.Īnother program running on the PC (the programming software) takes the hex file generated from your compiler translating it into a serial data stream. How does a pic programmer work ?Īll pic programmers work the same way (except the bootloader - see later) - they generate a serial data stream using two signal lines clock and data. The programmer should isolate the microcontroller so you can test the microcontroller program while the programmer is still attached. ![]() To program older pic devices you need a high voltage programmer. The serial port generates higher voltages and this fact is used by programmers such as a JDM pic programmers. Typical digital logic levels are nominally 5v so usually these programmers require use of an external power supply to generate the higher voltage. The 13.5 volt level complicates the interface circuit since the voltages from the parallel port or USB port are not that high. Note: the maximum input voltage to the pin is (MCLR) 14V. Source : PIC application note ICSP (DS30277) The pic programmer translates digital logic levels from the PC to suitable logic levels for the microcontroller - most levels are ok as they are, but for 'normal' (or high volt) programming of a pic microcontroller the following voltage at the MCLR pin is needed: It can write data to the microcontroller and read it back for verification. Most software wont even recognize that there is a programmer there.A pic programmer is a circuit which interfaces the PC to the microcontroller using the PC's parallel,serial or USB port. I have heard windows xp has issues with the lpt port, should I try it in dos? It'll of course read but it wont program. I can't get this programmer to work with any of the traditional software. Below is a photo of the finished programmer. The only difference is I modified the artwork and added a power supply using a 78 regulator for the 5V and 13V from 18V of batt power. I built an in-circuit parallel programmer based on the "par-pic" design (if you dont know use google). However that was using voltage from the port itself and not an external powersupply wich may work. I have tried many types of serial designs with all kinds of software (except the dos ones) with no luck. ![]() Ok, I have had a rough time (as everyone else it seems) trying to program PIC16F84a 20MHz microcontroller. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |