Problem porting on TC275 AURIX Family
Moderator: paolo.gai
Problem porting on TC275 AURIX Family
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?
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 (43.05 KiB) Viewed 11690 times
-
- problem2.PNG (26.29 KiB) Viewed 11690 times
-
- problem1.PNG (27.19 KiB) Viewed 11690 times
Re: Problem porting on TC275 AURIX Family
Hi,
the path should not include "ctc\bin", if you look in the error that part is present twice.
PJ
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
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 (55.75 KiB) Viewed 11679 times
Re: Problem porting on TC275 AURIX Family
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
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
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 ?
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
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.
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
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 (49.89 KiB) Viewed 11642 times
-
- hightec.PNG (86.86 KiB) Viewed 11642 times
Re: Problem porting on TC275 AURIX Family
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 (61.25 KiB) Viewed 11638 times
Re: Problem porting on TC275 AURIX Family
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
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
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
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
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
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
If you do something I suggest to try to be similar as much as possible to teh AUTOSAR MCAL specifications...
PJ