Project Description

NETMF for MBED

Overview

NETMF for MBED is targeted for MBED boards. The porting is being done, based on MBED SDK source files as much as possible.

The first version will support Renesas GR-PEACH board which CPU is RZ_A1H Cortex-A9 CPU.

The files on the NETMF for MBED project are delta files from .NET Micro Framework 4.3 Porting Kit (QFE1).

NETMF for MBED currently supports for the following boards.

- GR-PEACH

GR_PEACH

MBED_GR_PEACH solution is targeted for GR-PEACH Board.

http://japan.renesas.com/products/promotion/gr/peer/gr_peach.jsp  (in Japanese)

clip_image001_thumb

 

Specification

T.B.D. ( Need to be updated for new boards)

Function map

 

How to Build

1. Preparation

The following tools should be installed on Windows environment.

- GCC

LINARO GNU Tools for ARM Embedded Processors (https://launchpad.net/gcc-arm-embedded  )

- Visual Studio 2012 Express

- .NET Micro Framework 4.3 SDK (QFE1)

- .NET Micro Framework 4.3 Porting Kit (QFE1)

The SDK and the Porting Kit can be downloaded from https://netmf.codeplex.com/releases/view/118283

The files on the NETMF for MBED project are delta files from .NET Micro Framework 4.3 Porting Kit (QFE1).

The source files should be overwritten on the root directory where the Porting Kit is installed.

The default root directory is C:\MicroFrameworkPK_v4_3.

2. Build steps

1. Install above tools

      Install GCC (For example, C:\cross\ gcc-arm-none-eabi-4_8-2014q3)

      Install Visual Studio 2012 Express

      Install .NET Micro Framework 4.3 SDK (QFE1)

      Install .NET Micro Framework 4.3 Porting Kit (QFE1)

2. Copy (Overwrite) the files on the NETMF for MBED to the Porting Kit root directory.

3. Configure the build environment by executing "setenv_base.cmd".

      Execute "Command Prompt"

      cd C:\MicroFrameworkPK_v4_3

      @setenv_base.cmd GCC 4.8.4 "C:\cross\gcc-arm-none-eabi-4_8-2014q3" RZ

   Note: Might need to modify setenv_base.cmd, based on the build tools and environment.

4. Create the Porting Kit tools (such as MetadataProcessor, MFDeploy and so on) and a part of .NET Micro Framework library files.

      msbuild.exe build.dirproj (on the Porting Kit root directory)

   Note: Although there might be several build errors, they could be neglected.

5. Build each solution.

   Move the directory where each solution exists and execute build command.

      cd Solutions\MBED_GR_PEACH

      msbuild.exe dotNetMF.proj /t:build /p:flavor=release;memory=flash

6. Tinybooter and TinyCLR binary files are created on C:\MicroFrameworkPK_v4_2\BuildOutput\RZA1\GCC4.8\le\FLASH\release\MBED_GR_PEACH\bin

nativesample.bin

NativeSample binary (for writing, drag and drop on MBED drive)

tinybooter.bin

TinyBooter binary (for writing, drag and drop on MBED drive)

tinyclrnbl.bin

TinyCLR code binary without TinyBooter (for writing, drag and drop on MBED drive)

Last edited Mar 17, 2015 at 11:27 AM by ksekimoto, version 5