Interface: Software: Example

This example shows the conversation with the programmer to load a short program onto the target PIC. Any apparent blank lines in the conversation are a result of HTML formatting.

Conversation with the programmer Explanation
Spiffy Prog v0.1 The programmer is now running. The firmware is version 0.1.
>w40 Sets the target PIC's supply voltage to 5 volts.
>y00 Stores the 5 volt setting as the first stored voltage value.
>p Puts the programmer into programming mode.
>:100000008601831686010A3081008312860A031056 Programs 8 words onto the target PIC.
>:100010006300860D861D08286300860C061C0C28CC Programs another 8 words onto the target PIC.
>:020020000828AE Programs the end of the software onto the target PIC.
!vr 0011 A verify error at address 11, hexadecimal, occurred.
>c Clears the error.
>:020020000828AE Second attempt to load the software.
>w33 Sets the target PIC's supply voltage to 2 volts.
>y02 Stores the 2 volt setting in the recommended location.
>v Puts the programmer into verifying mode.
>:100000008601831686010A3081008312860A031056 Verifies the first 8 words on the target PIC.