Problem porting on TC275 AURIX Family

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Problem porting on TC275 AURIX Family

Post by WooHyuk » Wed Mar 11, 2015 10:43 am

Hello all~
I'm trying to adapt Erika Enterprise on TC275 AURIX board. I made an OO example - Task demo project and tried to build the project but I encountered some problems.
First, I heard that Erika Enterprise supports Tasking v4.0r1. But I have Tasking v4.1r1 and v4.3r3. Now, Windows -> preferences -> RT Druid -> OIL -> tricore I set Tasking v4.1r1 path. I upload the picture of this.
Second, I also set COMPILER_TYPE = TASKING in conf.oil
But if I build the project, the error occurs. I upload the picture of error contents.
Third, I also add the path of the Tasking Compiler path to the system path.
I don't know how can I solve this problem.
Is it because of the version of Tasking Compiler?
Attachments
problem3.PNG
problem3.PNG (43.05 KiB) Viewed 4704 times
problem2.PNG
problem2.PNG (26.29 KiB) Viewed 4704 times
problem1.PNG
problem1.PNG (27.19 KiB) Viewed 4704 times

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Problem porting on TC275 AURIX Family

Post by paolo.gai » Wed Mar 11, 2015 11:01 am

Hi,

the path should not include "ctc\bin", if you look in the error that part is present twice.

PJ

WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Re: Problem porting on TC275 AURIX Family

Post by WooHyuk » Thu Mar 12, 2015 5:53 am

Thanks to reply. I changed the path but another problem has occurred. Please look up this error message and let me know how I can get through this problem!!
Attachments
2015-03-12 00;43;52.PNG
2015-03-12 00;43;52.PNG (55.75 KiB) Viewed 4693 times

e.guidieri
Full Member
Posts: 166
Joined: Tue May 10, 2011 2:05 pm

Re: Problem porting on TC275 AURIX Family

Post by e.guidieri » Thu Mar 12, 2015 12:12 pm

Sorry but TASKING compiler for TriCore is not really supported by us. We don't have a valid license, we cannot provvide "continous integration" for that so these kind of bugs can happen.

I can guide you to patch the code if you will provvide a tested patch to apply to repository. The first step, if you want to do that, it is get a local checkout of the public repository.

http://erika.tuxfamily.org/wiki/index.p ... nly_access

Regards

WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Re: Problem porting on TC275 AURIX Family

Post by WooHyuk » Fri Mar 13, 2015 6:55 am

Oh, Thanks to reply. I understand that Tasking compiler for Tricore is not really supported by Erika Enterprise. You mean that if I patch the code then, it works normally right?
Anyway, I cannot understand how I can patch the code. Can you explain to me more detailedly? Also I have a question for you. I have Free Aurix Entry Tool Chain v4.6.5.0 from HighTec. I builded the project using that version of HighTec compiler but it doesn't work. It is said that the example project on TC275 can be builded with HighTec Compiler v4.6.3.1. So I think that it can be builded with v4.6.5.0 because it is higher version than v4.6.3.1. Is there a way that I can build the project with HighTec Compiler v4.6.5.0 ?

e.guidieri
Full Member
Posts: 166
Joined: Tue May 10, 2011 2:05 pm

Re: Problem porting on TC275 AURIX Family

Post by e.guidieri » Fri Mar 13, 2015 10:36 am

Just yesterday an ERIKA's contributor provvided a patch for TASKING 4.3 for TriCore so maybe you could get the last snapshot of the repository (follow the instruction of previous link i gav you), and using it:

http://erika.tuxfamily.org/wiki/index.p ... n_RT-Druid

Hightec compiler should work, I think you aremaking some configuration mistake.

WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Re: Problem porting on TC275 AURIX Family

Post by WooHyuk » Tue Mar 17, 2015 5:59 am

First of all, I appreciate your response e.guidieri. I'm trying to solve the problem with Tasking Compiler the way you taught me. I have another question today. You told me that HighTec Compiler should work and there must be a mistake with path. So, I fixed the path and try to build but errors which I have never seen before have occurred. My HighTec GCC Compiler version is v4.6.5.0 and I checked that example project is builded successfully when I use Free Aurix Entry Tool Chain from HighTec. Please, Can you figure out this problem?
Attachments
hightec2.PNG
hightec2.PNG (49.89 KiB) Viewed 4656 times
hightec.PNG
hightec.PNG (86.86 KiB) Viewed 4656 times

WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Re: Problem porting on TC275 AURIX Family

Post by WooHyuk » Tue Mar 17, 2015 9:03 am

Hello~ I have just tried what you told me e.guidieri. I wrote EE_OPT = "EE_TASKING_4_3"; and change COMPILER_TYPE to TASKING. It seems that it would be successful but at last, error has occurred. I really want to build it! Can you tell me how to solve this problem?
Attachments
tasking.PNG
tasking.PNG (61.25 KiB) Viewed 4652 times

e.guidieri
Full Member
Posts: 166
Joined: Tue May 10, 2011 2:05 pm

Re: Problem porting on TC275 AURIX Family

Post by e.guidieri » Tue Mar 17, 2015 11:09 am

About TASKING: Try to remove EE_OPT = "EE_TASKING_4_3"; As far as I can see the actual patch use this compiler by default, and maybe the patch could give some problem (but I don't really know, since I cannot test). If you have problem you should inspect makefile to figure out what's happening

About Hightec: Seems that what you found is a packaging error in Hightec compiler (already happened in the past versions), contact them sending the immage you attached here, and ask for a patch for header files.

Regards

chris.kreuzberger
Newbie
Posts: 3
Joined: Thu Oct 02, 2014 1:53 pm
Location: Graz, Austria

Re: Problem porting on TC275 AURIX Family

Post by chris.kreuzberger » Sun Mar 22, 2015 8:40 pm

Hi

Please remove
EE_OPT = EE_EXECUTE_FROM_RAM
since I didn't adept the linker script for that with the TASKING compiler.

(EEOPT=EE_BUILD_SINGLE_ELF is also not supported by the way.)

For the Hightec Compiler error:
Try using the applikation kit board which uses other SFR includes:
EE_OPT = "EE_APPKIT_TC2X5"; /* Use Applikation Kit TC2X5 */
EE_OPT = "EE_USE_DISPLAY"; /* Use Display Driver */
EE_OPT = "EE_USE_BUTTONS"; /* Use Button Driver */
EE_OPT = "EE_USE_LEDS"; /* Use Led Driver */

(Remove BOARD_DATA)

Best regards,
Chris
____________
Chris Kreuzberger | TU Graz
kreuzberger@student.tugraz.at

WooHyuk
Newbie
Posts: 11
Joined: Mon Mar 09, 2015 2:07 pm

Re: Problem porting on TC275 AURIX Family

Post by WooHyuk » Mon Apr 13, 2015 11:38 am

Thanks to all, I finally succeed to build an example on Infineon TC275!! I'm trying to develop CAN Communicating application. Is there any CAN API about TC275 in Erika Enterprise?

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Problem porting on TC275 AURIX Family

Post by paolo.gai » Mon Apr 13, 2015 12:10 pm

As long as I know currently there is not. But there is for PPC Leopard.

If you do something I suggest to try to be similar as much as possible to teh AUTOSAR MCAL specifications...

PJ

Post Reply