Using the picdem 17 monitor – Arizona Picdem 17 User Manual

Page 23

Advertising
background image

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 user
must also enter the value to be written to the program memory location in the
Value edit box. Then click the Write 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 edit 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.

Advertising