English
Language : 

MB86613S Datasheet, PDF (105/134 Pages) Fujitsu Component Limited. – IEEE1394 Open HCI Controller
Preliminary
START
”1”
(1)
active=0?
”0”
(2)
Prepare Block Data
(3)
Prepare Program
(4)
Set descriptorAddress
(5)
Set ’run’
”0”
(6)
INTA#=1 ?
”1”
(7)
Check the result
Fig. 8.1 Software Flow Chart for asynchronous packet Transmit
8.1.1. How to Make Context Program
Figure 8.2 shows an example of context program format which is applied when transmitting a block write re-
quest packet having 32- byte block.
ATCommandPtr.descriptorAddress field must contain the value ”80000000h” in advance that is the start ad-
dress of host memory where the program is stored. Besides, ATCommandPtr.Z field must contain a value
”4h” that is the number of descriptor.
When making a context program for asynchronous transmit, the first descriptor must be OUT-
PUT_MORE_immediate or OUTPUT_LAST_Immediate command in order to generate the packet header. In
the example, it requires a payload and so, the program must start with OUTPUT_MORE_Immediate com-
mand.
Because the packet header is 16- byte length, reqCount field in the OUTPUT_MORE_Immediate command
must contain ”10h” and the lower 4- quadlet field of the command must contain the packet header in Open-
HCI format.
In the example, there is an assumption that payload data is split out into 16- byte+16- byte and each byte is
stored in individual host memory. Therefore, it is required to use OUTPUT_MORE command following the
OUTPUT_MORE_Immediate command. In descriptor- 2, the reqCount field of descriptor for OUT-
PUT_MORE command must contain “10h” and the dataAddress field must contain the host memory’s start
address “10000000h” where the block data is stored. In descriptor- 3, it uses the OUTPUT_LAST command
104