2001 Microchip Technology Inc. DS39024B-page 17
Using the PICDEM 17 Monitor
Figure 2.9: Writing Program Memory
To write to a Program memory location, the user must first select the Program
Memory radio button in the Modify Memory window of the Monitor program.
Then the Program memory address must be written into the Address edit
box. The format of this value is xxxx, where xxxx is a value from 0000h to
FFFFh that indicates the desired address within the bank to write. The use r
must also enter the value to be written to the program memory location in the
Value edit box. Then clic k the Writ e button. The message window will reply
with the following message: *WPxxxxdddd. xxxx represents the program
memory address and dddd represents the data written to the address in HEX
format. For this operation the first four digits of both the Address edit box and
the Value edi t box are used when the command is sent to the PICDEM 17
demonstration board. Any additional digits are ignored. The firmware in the
PIC17C756A ignores any write program memory commands with an address
in the range of 0000h to 3FFFh.