Page 1 of 1

Problem Regarding Setting Up Erika Enviroment For MPC5643L

Posted: Wed Nov 06, 2013 2:13 pm
by jhon
Hello Everyone

I am trying to set-up the environment for MPC5643L using the instructions that are provided here (http://erika.tuxfamily.org/wiki/index.p ... PC_56xx%29)

I have installed the Cygwin in (C:/Cygwin)
I have downloaded ERIKA Enterprise and RT-Druid 2.1.0, Windows 64bit version
Installed the latest FreeScale CodeWarrior Edition 2.10

Now when I compile the testdemo Code it gives the following Error

"C:\\Users\\jhon\\workspace\\test\\Debug\\make_launcher.bat" all
C:\cygwin\bin\bash found!
Using erika files in /cygdrive/c/Users/Jhon/Desktop/FREE_S~1/ERICA_~1/EE_WIN~1/eclipse/plugins/CO1C02~1.201/ee_files
CC ee_boot_asm.c
/bin/sh: /cygdrive/c/COMPIL~1/POWERP~1/COMMAN~1/PA_Tools/Command_Line_Tools/mwcceppc: No such file or directory
make: *** [obj/obj/pkg/mcu/freescale_mpc5643l/src/ee_boot_asm.o] Error 127

06:50:07 Build Finished (took 3s.621ms)

Am I missing anything? I am new to this, Need some help to get started. Is there any Getting Started guide to get familiar with the programming using Erika?

Any help will be appreciated

Best Regard's

Re: Problem Regarding Setting Up Erika Enviroment For MPC564

Posted: Wed Nov 06, 2013 3:08 pm
by jhon
I found the problem that eclipse was not able to find the code warrior compiler I fixed the issue by setting the path now I have following error

07:55:52 **** Incremental Build of configuration Default for project test ****
"C:\\Users\\jhon\\workspace\\test\\Debug\\make_launcher.bat" all
C:\cygwin\bin\bash found!
Using erika files in /cygdrive/c/Users/jhon/Desktop/FREE_S~1/ERICA_~1/EE_WIN~1/eclipse/plugins/CO1C02~1.201/ee_files
CC ee_boot_asm.c
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: the file 'limits.h' cannot be opened
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: (included from:
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: C:\Users\jhon\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\e200zx\inc\ee_cpu_os.h:67
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: C:\Users\jhon\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\e200zx\inc\ee_cpu.h:53
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: C:\Users\jhon\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\e200zx\inc\ee_internal.h:50
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: C:\Users\jhon\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\ee_internal.h:117
..\..\..\Desktop\FREE_S~1\ERICA_~1\EE_WIN~1\eclipse\plugins\CO1C02~1.201\ee_files\pkg\cpu\common\inc\ee_types.h:50: C:\Users\jhon\workspace\test\Debug\obj\pkg\mcu\freescale_mpc5643l\src\ee_boot_asm.c:2)




Any suggestions regarding this?

Re: Problem Regarding Setting Up Erika Enviroment For MPC564

Posted: Wed Nov 06, 2013 3:19 pm
by paolo.gai
If I'm not wrong the limits.h should be part of the compiler files... we'll check that.

About the programming examples: there are various examples on the tree that you can use as a basis. We also provide training courses if needed (just send us an e-mail at info "at" evidence "." eu "." com; the next free one will be in the University of Turin on the 13th November as part of a course of operating systems). there are also a few tutorials in the wiki that you can look at which should help with the first steps...

Ciao,

Paolo

Re: Problem Regarding Setting Up Erika Enviroment For MPC564

Posted: Wed Nov 06, 2013 7:21 pm
by jhon
Hello Thanks for your reply

I went to the project preferences and in the Erika Enterprise in Project Preferences the following path is set

C:\Users\jhon\Desktop\Free_Scale\Erica_Stuff\EE_win32_64\eclipse\plugins\com.eu.evidence.ee_2.1.0.20130515_1217\ee_files

Do you think is this the main problem that I am having? Am I still missing something?

I look forward for your help

Best Regard's

Re: Problem Regarding Setting Up Erika Enviroment For MPC564

Posted: Thu Nov 07, 2013 1:33 am
by jhon
Hi

I have moved the files from the compiler directory to my directory now code has started getting compiled. Now I see the following error

C ee_tstub.c
CC ee_tnterm.c
CC ee_lookup.c
CC ee_rq_exchg.c
CC ee_rq_inser.c
CC ee_shtdown.c
CC ee_startos.c
CC ee_chaintas.c
CC ee_FlashConfig.c
AR libee.a
LD

mwldeppc.exe: No library file found matching
Errors caused tool to abort.
mwldeppc.exe: 'libc_E200z650_VLE_SPFP_Only{.dylib|.a}' or
mwldeppc.exe: 'c_E200z650_VLE_SPFP_Only'
make: *** [ppc.elf] Error 1

Any suggestion regarding this?

Re: Problem Regarding Setting Up Erika Enviroment For MPC564

Posted: Thu Nov 07, 2013 9:31 am
by paolo.gai
I was just looking at the compiler... we do not have your version of the compiler for Windows, but we used the previous version (10.1) on Linux, and it worked fine... Did you tried the Linux version?

PJ