Tutorial: Running ERIKA on Mico32 and FPG-EYE

From ErikaWiki

(Difference between revisions)
Jump to: navigation, search
(Create Mico32 Library for camera_debug_50 platform)
(Create Mico32 Library for camera_debug_50 platform)
Line 9: Line 9:
After [[Tutorial:_Building_a_Mico32_platform_for_FPG-EYE#Import_platform_project_in_LatticeMico_System_IDE | importing camera_debug_50 platform]] in [http://www.latticesemi.com/products/designsoftware/micodevelopmenttools/index.cfm ''LatticeMico System'']  software, switch to '''C/C++ Perspective''', open the C/C++ Project View context menu (right click with the mouse), and find '''New->Mico32 Library Project''' command (as the following figure):
After [[Tutorial:_Building_a_Mico32_platform_for_FPG-EYE#Import_platform_project_in_LatticeMico_System_IDE | importing camera_debug_50 platform]] in [http://www.latticesemi.com/products/designsoftware/micodevelopmenttools/index.cfm ''LatticeMico System'']  software, switch to '''C/C++ Perspective''', open the C/C++ Project View context menu (right click with the mouse), and find '''New->Mico32 Library Project''' command (as the following figure):
[[File:new_mico32_library_C-C++.png|center|thumb|700px| '''C/C++''' New Mico32 Library Project]]
[[File:new_mico32_library_C-C++.png|center|thumb|700px| '''C/C++''' New Mico32 Library Project]]
 +
On the opened wizard assure to select the right target hardware selecting '''ee\examples\mico32\demo\platforms\camera_debug_50\msb\soc\camera_debug_50.msb''' file.  
On the opened wizard assure to select the right target hardware selecting '''ee\examples\mico32\demo\platforms\camera_debug_50\msb\soc\camera_debug_50.msb''' file.  
To compile the  camera_debug_50 demo without any changes on project files you need to select the follow directory as library location '''ee\trunk\ee\examples\mico32\demo\platforms\camera_debug_50\library'''
To compile the  camera_debug_50 demo without any changes on project files you need to select the follow directory as library location '''ee\trunk\ee\examples\mico32\demo\platforms\camera_debug_50\library'''
Line 14: Line 15:
and camera_debug_50 as project name:
and camera_debug_50 as project name:
[[File:mico32_library_wizard_C-C++_step2.png|center|thumb|700px| '''C/C++''' Mico32 System Library Project Wizard (Project name wrote)]]
[[File:mico32_library_wizard_C-C++_step2.png|center|thumb|700px| '''C/C++''' Mico32 System Library Project Wizard (Project name wrote)]]
 +
 +
Build the brand new project:
 +
[[File:mico32_compile_library.png|center|thumb|700px| Compile the Mico32 library]

Revision as of 11:23, 7 October 2011

Introduction

The goal of this tutorial is compile and program the webserver_camera demo application on FPG-EYE bord, the one that is flashed on the board when you get it. Before you can afford this tutorial you need to get a local copy of ERIKA Enterprise repository and to follow the Tutorial: Building a Mico32 platform for FPG-EYE that is a prerequisite for this one. Hereunder all paths listed are relative paths to yours ERIKA Enterprise repository local copy.

Create Mico32 Library for camera_debug_50 platform

After importing camera_debug_50 platform in LatticeMico System software, switch to C/C++ Perspective, open the C/C++ Project View context menu (right click with the mouse), and find New->Mico32 Library Project command (as the following figure):

C/C++ New Mico32 Library Project

On the opened wizard assure to select the right target hardware selecting ee\examples\mico32\demo\platforms\camera_debug_50\msb\soc\camera_debug_50.msb file. To compile the camera_debug_50 demo without any changes on project files you need to select the follow directory as library location ee\trunk\ee\examples\mico32\demo\platforms\camera_debug_50\library

C/C++ Mico32 System Library Project Wizard

and camera_debug_50 as project name:

C/C++ Mico32 System Library Project Wizard (Project name wrote)

Build the brand new project: [[File:mico32_compile_library.png|center|thumb|700px| Compile the Mico32 library]

Personal tools