MB Demos

# Multi-boot Library (MB) Sample Demo

## Location

`$NitroSDK/build/demos/mb`

## Compilation

Move to the `$NitroSDK/build/demos/mb` directory and input

        % make

This will generate executable (`.nef`, `.srl`) files under

        $NitroSDK/build/demos/mb/sample_name/bin/platform/target/

For example

        $NitroSDK/build/demos/mb/multiboot/bin/ARM9-TS/Release/

## Execution

Move to the `$NitroSDK/build/demos/mb/sample_name/bin/platform/target/` directory and do one of the following.

- With IS-NITRO-DEBUGGER, load `*.nlf` files and run.
- With IS-NITRO-DEBUGGER, run `*.srl`.

The MB library samples use multi-boot functions. Therefore, you must have multiple development machines with the same communication environment (wireless or wired). The `MB_child.srl` program in the directory

        $NitroSDK/bin/ARM9-TS/Release

is a sample providing the same features as the multi-boot child in the last device. Therefore, read this binary into other equipment using the same method as for the sample program, and execute them together. Depending on the optional setting on IS-NITRO-DEBUGGER, the "The transfer destination address on the ARM9 Processor is incorrect" dialog box appears when `MB_child.srl` is loaded. Select [NO] in this dialog box to proceed with loading.

## Description

`multiboot` | This is a simple sample that downloads the program file from the multi-boot parent to the child. Opens two program files and downloads to an unspecified connected child. After the download, press the [START] button on the parent to boot the child that has completed the download.
`multiboot-Model` | This is a normative sample that shows the procedure of a multiboot parent downloading a program file to a child and executing data sharing communication with the downloaded child program.
`cloneboot` | This sample downloads the parent's program to a child. This is called clone booting. The program structure is the same as the multiboot-Model sample model.
`fake_child` | This sample sets the same GGID as used in the multiboot-Model sample, allowing it to fake an entry as a multiboot child.

## Emulator

Note: The MB library demo does not function in ensata.

## See Also

`MB Function List`

## Revision History

11/16/2004 Added cloneboot sample.
10/06/2004 Corrected the lack of description regarding multiboot-Model sample.
09/13/2004 Added caution for loading `mb_child.srl`.
08/17/2004 Clarified the execution instructions and the multiboot description.
08/10/2004 Initial version.