Dataman 448PRO2AP User Manual page 137

Hide thumbs Also See for 448PRO2AP:
Table of Contents

Advertisement

/writebuffer:ADDR1:B11,B12,B13,B14,...,B1N[::ADDR2:B21,B22,B23,B24,...,B2M]...
Command /writebuffer is used to write block of Bytes to PG4UW main buffer at specified
address. Write buffer command has one block of data required and other block(s) of data
(marked with [...]) optional. Please do not use spaces or tabs in the command.
Buffer address is always defined as Byte address, it means, that for buffer organization x16,
the address AAAAx16 in buffer has to be specified in command /writebuffer as 2*AAAA (x8).
Example 1:
/writebuffer:7FF800:12,AB,C5,D4,7E,80
Writes 6 Bytes 12H ABH C5H D4H 7EH 80H to buffer at address 7FF800H.
The addressing looks like following:
the first Byte at the lowest address
Buffer Address
7FF800H
7FF801H
7FF802H
7FF803H
7FF804H
7FF805H
Example 2:
/writebuffer:7FF800:12,AB,C5,D4,7E,80::FF0000:AB,CD,EF,43,21
Writes two blocks of data to buffer.
The first block of data - 6 Bytes 12H ABH C5H D4H 7EH 80H are written to buffer at
address 7FF800H in the same way as in Example 1.
The second block of data - 5 Bytes ABH CDH EFH 43H 21H are written to buffer at
address FF0000H.
The addressing looks like following:
the first Byte at the lowest address
Buffer Address
FF0000H
FF0001H
FF0002H
FF0003H
FF0004H
/writebufferex:INDEX:ADDR1:B11,B12,B13,B14,...,B1N[::ADDR2:B21,B22,B23,B24,...,B2
M]..
Command /writebufferex is used to write block of Bytes to PG4UW main buffer at specified
address. The command is very similar to command /writebuffer, except one more parameter –
INDEX.
The INDEX parameter specifies the order of buffer, where data will send. The main buffer has
index '1'. The first secondary buffer has index '2', etc. Please note, the secondary buffer(s) is
(are) available for some kinds of devices only (e.g. Microchip PIC16F628). The kind of buffer
indexed by parameter buffindex depends on order of buffer in application PG4UW in dialog
View/Edit buffer. For example device Microchip PIC16F628 has additional buffer with label
"Data EEPROM". This buffer can be accessed for data write(s) by this function when buffindex
= 2 is specified.
Example 1:
/writebufferex:1:7FF800:12,AB,C5,D4,7E,80
The command is equivalent to command
/writebuffer:1:7FF800:12,AB,C5,D4,7E,80
Data
12H
ABH
C5H
D4H
7EH
80H
\_____________________/ \___________________/
the first block of data
Data
ABH
CDH
EFH
43H
21H
the second block of data
137
Common notes

Advertisement

Table of Contents
loading

This manual is also suitable for:

48pro2ap

Table of Contents