Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
User17216
Level 1
Level 1
Hi,

I'm new to Tricore TC397 platform. Is there any reference code or document which shows me how to run ERIKA on multi-core with Infenion BIFACE IDE (HighTech Free TriCoreâ„¢ Entry Tool Chain)?

I found this reference project to run ERIKA on multicore. But I have no idea to do it with Infenion BIFACE project.
Below are my draft ideas.

1. to configure ERIKA system timer for each core ( core1, core2, ..core5) --> It means that I have to enable system timer interrupt for each core.
2. change linker script ???


Best Regards,


Alex
0 Likes
3 Replies
User13290
Level 5
Level 5
First like received First solution authored

Hi Alex,

`` Is there any reference code or document ``

I've not studied the article you're referring to, but note that BIFACES includes an ERIKA example. The example is included in the BaseProjects_AURIX2G_V1_0_1_10_0.zip that can be downloaded from the MyICP portal. If you're unfamiliar with this portal then you may want to read through this article first.

More specifically the ERIKA project is stored in the _Examples_TC3xx folder of your base projects. The documentation is a pdf called Example_ERIKA_OS_Integration. Note that you must also download iLLD_1_0_1_10_0_TC3xx_Drivers_And_Demos_Release.zip and BIFACES_V1_0_2_Win32.zip because all of these are required to build a BIFACES project. Finally note that the sample project referred to runs on a single core, just to get you started. Making it truely multi-core will still be your own responsibility.

Best regards,

Henk-Piet Glas
Principal Technical Specialist
Embedded Software

0 Likes
User17216
Level 1
Level 1
Hi Glas,

Thanks for your feedback. I already integrated single core ERIKA to TC397 Triboard as you mentioned above. But I have no idea to modify it into muti-core version.
I 'm trying it to figure it out now. To my knowledge, I have to create ostask.c(tasks for each core ) eecfg.c and eecfg.h. And I also have to modify build tree to achieve that.
Could you please give me some hints to do that?

Best Regards,


Alex
0 Likes
User13290
Level 5
Level 5
First like received First solution authored

Hi Alex,


`` Could you please give me some hints to do that? ``

Sorry, not at this point. I'd have to go through the same learning curve as you to find out, and at the moment I have no time for that. Maybe someone else can help.

Best regards,

Henk-Piet Glas
Principal Technical Specialist
Embedded Software

0 Likes