59 mpufork - fork idle mpu, Mpufork, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 128

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

128

3.1.59 mpuFork - Fork Idle MPU

Name

mpuFork—issues an execution command to an idle processor allowing it to begin executing
target code at the address specified by the -a option. Results will depend on board
configuration and the presence of an idle processor. Before execution begins, the value
specified by the -b option is loaded into processor register r3. The execution address must not
be zero and an MPU must be in the idle state in order to accept this command. This command
is for multi-processor boards only.

Note Not applicable to single core products. To inquire about idle processors, refer to the
mpuShow command.

Synopsis

mpuFork [-a] [-b]

Parameters

-a Ph: Memory Address (Default = User Download Buffer)

-b Ph: Argument Data For R3 (Default = 0)

Example

The following example indicates a typical display when using the mpuFork command.

Example 1: Executing a program loaded at address 0x00001000

MOTLoad> mpuFork -a1000 -b12341234

MPU 0 is to begin execution at 00001000 with 12341234 in r3

Correct (Y/N)? n

MOTLoad>

Example 2: Executing a program loaded at an address where memory has been allocated
to the label "mputest".

MOTLoad> mputest = malloc 1000

Advertising