Using the picdem 17 monitor – Arizona Picdem 17 User Manual

Page 21

Advertising
background image

2001 Microchip Technology Inc.

DS39024B-page 15

Using the PICDEM 17 Monitor

Figure 2.7: Writing Data Memory

To write to a Data memory location, the user must first select the Data
Memory
radio button in the Modify Memory window of the Monitor program.
Then the Data memory address must be written into the Address edit box.
The format of this value is bxx, where b is a valid bank number in HEX
format, and xx is a value from 00h to FFh that indicates the desired address
within the bank to write. The user must also enter the value to be written to the
Data register in the Value edit box. Then click the Write button. The message
window will reply with the following message: *WDbxxdd. bxx represents the
bank and address and dd represents the data written to the address in HEX
format. For this operation the first three digits in the Address edit box and first
two digits in the Value edit box are used when the command is sent to the
PICDEM 17 demonstration board. Any additional digits are ignored.

Advertising