Page 1 of 1
Problem porting on TC275 AURIX Family
Posted: Wed Mar 11, 2015 10:43 am
by WooHyuk
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?
Re: Problem porting on TC275 AURIX Family
Posted: Wed Mar 11, 2015 11:01 am
by paolo.gai
Hi,
the path should not include "ctc\bin", if you look in the error that part is present twice.
PJ
Re: Problem porting on TC275 AURIX Family
Posted: Thu Mar 12, 2015 5:53 am
by WooHyuk
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!!
Re: Problem porting on TC275 AURIX Family
Posted: Thu Mar 12, 2015 12:12 pm
by e.guidieri
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
Re: Problem porting on TC275 AURIX Family
Posted: Fri Mar 13, 2015 6:55 am
by WooHyuk
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 ?
Re: Problem porting on TC275 AURIX Family
Posted: Fri Mar 13, 2015 10:36 am
by e.guidieri
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.
Re: Problem porting on TC275 AURIX Family
Posted: Tue Mar 17, 2015 5:59 am
by WooHyuk
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?
Re: Problem porting on TC275 AURIX Family
Posted: Tue Mar 17, 2015 9:03 am
by WooHyuk
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?
Re: Problem porting on TC275 AURIX Family
Posted: Tue Mar 17, 2015 11:09 am
by e.guidieri
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
Re: Problem porting on TC275 AURIX Family
Posted: Sun Mar 22, 2015 8:40 pm
by chris.kreuzberger
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
Re: Problem porting on TC275 AURIX Family
Posted: Mon Apr 13, 2015 11:38 am
by WooHyuk
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?
Re: Problem porting on TC275 AURIX Family
Posted: Mon Apr 13, 2015 12:10 pm
by paolo.gai
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