B.2.13 demonstration of the host interface, Remote start – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 258

Advertising
background image

Remote Start

MOTLoad Firmware Package User’s Manual (6806800C24D)

258

The IBCA, which exists in PCI space, will be viewed in a byte-swapped order from the processor.
Therefore, the bit-orders shown in this chapter will need to be byte swapped when viewed
directly using MOTLoad. For instance, the IBCA after reset is said to contain the "RST" flag as,
0x80525354. However, when viewed from the processor's perspective using MOTLoad's mdw
command, the "RST" flag is: 0x54535280. See

Demonstration of the Host Interface

on page 258

,

for detailed examples of this.

B.2.13 Demonstration of the Host Interface

The following example demonstrates the use of MOTLoad's Remote Start capability in an VME
system. In this example, Remote Start is used to allocate a 1 megabyte memory range to the
host by the target. Following allocation, the memory on the target is initialized via Remote
Start by the host. Both the host and the target are MVME5500 boards. Each section is
demarked with "TARGET-" or "HOST-".

The board that is being "remotely started" is referred to as the Target. The board that is
initiating the remote start action is referred to as the Host.

Note that an outbound window needs to exist on the Host. This window will allow the Host to
access (read/write) the Inter-Board Communication Address (IBCA) on the Target. In this
example, the Target's IBCA is mapped to 0xa267f348 on the Host. Please see the Installation
and Use Manual
for the boards, for more information regarding the mapping and the actual
register used for ICBA.

Note that the IBCA in this example is accessed through PCI, so the values being provided in the
mmw commands are byte-swapped when compared to the IBCA description earlier in this
chapter.

HOST – store the Target's IBCA address into a variable to make things easier:

MOTLoad> IBCA = a267f348

return = A267F348 (&-1570245816)

errno = 00000000

HOST – ensure the Target is ready (OWN bit set)

MOTLoad> mdw -aIBCA -c1

A267F348 54535280

HOST – allocate 0x100000 target memory for the image, aligned on 4-byte boundary:

Advertising