Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Development Studio Forum Discussions

aditya_barve
Level 1
10 sign-ins 5 sign-ins First reply posted
Level 1

Hello, 

The kit_a2g_tc332_5v_trb evaluation kit is available with us. To try out some example code I checked the git-hub location for sample code, however did not find any example code for TC332/ TC322 controllers. 

Also due to some security issues I am not able to install AURIX studio at the workplace, 

Could you please suggest an alternative on how the sample codes can be built and flashed on the evaluation kit, without using AURIX studio. 

Are there any alternate ways for-eg.

Build/ develop the code with eclipse and some compiler and debug using Lauterbach ?

 

Thank you,

Aditya

0 Likes
1 Solution
User13836
Level 4
10 solutions authored 50 replies posted 25 sign-ins
Level 4

Hello Aditya,

I'm not sure if I understood the exact bottlenack here. If your intention is to build a project which is available for the AURIX Development Studio using another environment you can follow the below listed steps to import a project into the TASKING TriCore tools Eclipse environment. But for convenience regarding to the setup of the include folders it would help if you import the example into the AURIX Development Studio first in order to copy the include folder settings as described below. So you can consider to do so at home where you are permitted to use the AURIX development Studio. This step can be conducted manually as an alternative.

How to import an ADS project into the TASKING TriCore tools Eclipse:

-------------------------------------

- create a new project in the TASKING TriCore tools for the AURIX derivative the ADS project was created for. This new project shall not include the startup code and the debugger synchronisation files

- Copy all .c and .h files included in the ADS project, plus the Lcf_Tasking_Tricore_Tc.lsl file and in addition the 'Configurations' and 'Libraries' subfolders into the TASKING TriCore Eclipse generated project.

- ensure the option 'Auto-discover compiler include paths' in menu

Project >> Properties >> AURIX Development Studio >> Build

of the ADS tool chain is disabled. Otherwise the include path settings cannot be copied.

- Copy the include path settings from the

Project >> Properties >> C/C++ Build >> Settings >> TASKING C Compiler >> Include Paths

folder of the ADS Eclipse into the

Project >> Properties >> C/C++ Build >> Settings >> C/C++ Compiler >> Include Paths

menu of the TASKING Eclipse.

- Disable the option 'Automatic inclusion of 'SFR' file' in menu:

Project >> Properties >> C/C++ Build >> Settings >> C/C++ Compiler >> Preprocessing

of the TASKING Eclipse.

- In TASKING Eclipse menu:

Project >> Properties >> C/C++ Build >> Settings >> Linker >> Script File

replace the existing entry under 'Linker script file:' by:

../Lcf_Tasking_Tricore_Tc.lsl

- Build the project.

 

-> Attention: The compiler options etc. used in the ADS project need to be set in the TASKING Eclipse project manually.

-------------------------------------

Best regards,
Ulrich Kloidt

TASKING tools support

 

View solution in original post

0 Likes
3 Replies
User13836
Level 4
10 solutions authored 50 replies posted 25 sign-ins
Level 4

Hello Aditya,

I'm not sure if I understood the exact bottlenack here. If your intention is to build a project which is available for the AURIX Development Studio using another environment you can follow the below listed steps to import a project into the TASKING TriCore tools Eclipse environment. But for convenience regarding to the setup of the include folders it would help if you import the example into the AURIX Development Studio first in order to copy the include folder settings as described below. So you can consider to do so at home where you are permitted to use the AURIX development Studio. This step can be conducted manually as an alternative.

How to import an ADS project into the TASKING TriCore tools Eclipse:

-------------------------------------

- create a new project in the TASKING TriCore tools for the AURIX derivative the ADS project was created for. This new project shall not include the startup code and the debugger synchronisation files

- Copy all .c and .h files included in the ADS project, plus the Lcf_Tasking_Tricore_Tc.lsl file and in addition the 'Configurations' and 'Libraries' subfolders into the TASKING TriCore Eclipse generated project.

- ensure the option 'Auto-discover compiler include paths' in menu

Project >> Properties >> AURIX Development Studio >> Build

of the ADS tool chain is disabled. Otherwise the include path settings cannot be copied.

- Copy the include path settings from the

Project >> Properties >> C/C++ Build >> Settings >> TASKING C Compiler >> Include Paths

folder of the ADS Eclipse into the

Project >> Properties >> C/C++ Build >> Settings >> C/C++ Compiler >> Include Paths

menu of the TASKING Eclipse.

- Disable the option 'Automatic inclusion of 'SFR' file' in menu:

Project >> Properties >> C/C++ Build >> Settings >> C/C++ Compiler >> Preprocessing

of the TASKING Eclipse.

- In TASKING Eclipse menu:

Project >> Properties >> C/C++ Build >> Settings >> Linker >> Script File

replace the existing entry under 'Linker script file:' by:

../Lcf_Tasking_Tricore_Tc.lsl

- Build the project.

 

-> Attention: The compiler options etc. used in the ADS project need to be set in the TASKING Eclipse project manually.

-------------------------------------

Best regards,
Ulrich Kloidt

TASKING tools support

 

0 Likes
aditya_barve
Level 1
10 sign-ins 5 sign-ins First reply posted
Level 1

Thanks for the update.  I will try these steps. 

Another question is,  is there any sample project for TriBoard TC3x2 for TC322 devices. 

Any information for evaluation of TC3x2 would be helpful at this point of time. 

 

Thank you,

Aditya

0 Likes
Yuva
Moderator
Moderator 100 sign-ins 10 likes received 100 replies posted
Moderator

Hello,

You can find some examples for TC334 in the following link, you shall adapt it for your device.

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples

Thanks.

0 Likes