;This program is for a PIC16F876-04I
:1000F00077288C1B65280C1B6D2867280034051297
Some terminal programs may show a line break before the end of the hex file line. If no checksum error occurs, the line break is normal operation.
w4A
The value passed to this command is not the voltage, but instead a value that is directly proportional to the voltage. The approximate relation between the user input value and the supply voltage is:
The actual voltage may vary slightly from the calculated value because the hardware setup does not guarantee great accuracy. Test the voltage and adjust the software set value for the voltage to obtain the desired voltage.
x04
y04
The programmer uses the value at address 00 for the 5 volt setting. No other addresses have any special meaning to the programmer. However, I propose the following meanings for the addresses to cover the current set of voltage ranges used by the PIC microcontrollers:
|
Usage |
|
Reserved for <2 volts |
|
2 volts |
|
4 volts |
|
Reserved for between 4 and 5.5 volts |
|
5.5 volts |
|
6 volts |
|
undefined |