Search found 166 matches

by e.guidieri
Thu Mar 12, 2015 5:00 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem with two tasks (threads)
Replies: 7
Views: 2402

Re: Problem with two tasks (threads)

Erika is not a Round Robin Scheduler, so you cannot have thread has they are on PC.

Moreover you cannot have a Round Robin Scheduler (any preemptive scheduler at all, to be correct), without using Interrupts. So I think you should understand better your requirements.
by e.guidieri
Thu Mar 12, 2015 12:12 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem porting on TC275 AURIX Family
Replies: 11
Views: 4703

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 ...
by e.guidieri
Thu Mar 12, 2015 12:00 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem with two tasks (threads)
Replies: 7
Views: 2402

Re: Problem with two tasks (threads)

The errors you are seeing are related to the Eclipse's internal parser. Did you tried to build the project? Because the build process generate some informations used by eclipse, this won't fix all the errors that the parser belive to see, but a lot of them yes. The only errors you can rely on are th...
by e.guidieri
Tue Mar 03, 2015 4:28 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: STM32F4 with ECC2 kernel problem
Replies: 2
Views: 1648

Re: STM32F4 with ECC2 kernel problem

Hi, yours is a classic First-Time-I-Touch-OIL error :) (To be honest we should add a check for this kind of inconsistence in RT-Druid, but we have no time...). In your configuration you are using multiple stacks without turning on the multistack switch in CPU_DATA OIL field. Try the following: CPU_D...
by e.guidieri
Tue Feb 24, 2015 2:38 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: How is it possible to define the scheduling strategy
Replies: 5
Views: 4640

Re: How is it possible to define the scheduling strategy

Hi, you can select the scheduling strategy for each TASK trought the SCHEDULE field of TASK OIL element . Two possible value are allowed: FULL : This means that the TASK is full Preentive, so any TASK with priority greater than his can preempt him. NON : This means that TASK priority is only used to...
by e.guidieri
Wed Feb 04, 2015 4:09 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem on Aurix Tricore startup
Replies: 10
Views: 3674

Re: Problem on Aurix Tricore startup

I have one more question: I'm not sure how StartupHook works in multicore. Is it possible to execute the StartupHook once for each core? It's already and always like that, check the code of the project template tricore/infineon_TriBoard-TC2X5_V2.0/Multicore automatic tests/Multicore System StartUp ...
by e.guidieri
Mon Feb 02, 2015 4:41 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem on Aurix Tricore startup
Replies: 10
Views: 3674

Re: Problem on Aurix Tricore startup

What you are saying sounds as demoniac possession of your board to me... - On the master core startupHook is correctly called by startOS This is in contraxt for what you'are sayng after, StartupHook cannot be called before all the cores call StartOs - If I define any task in core 1 or 2 their code i...
by e.guidieri
Mon Feb 02, 2015 3:31 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem on Aurix Tricore startup
Replies: 10
Views: 3674

Re: Problem on Aurix Tricore startup

Another hypothesis it's that there's some issues in data initialization in boot code (did you needed to touch linker scripts and/or boot code to use the TC277TU)?

Could you check that EE_as_core_mask and EE_as_core_started values is 1 for both and not 0 at the begin of Master Core main?

Bye
by e.guidieri
Mon Feb 02, 2015 2:50 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem on Aurix Tricore startup
Replies: 10
Views: 3674

Re: Problem on Aurix Tricore startup

To check it, comment the StartCore calls. If core1 start and Reach the StartOs+StartupHook, well the debugger is doing something wrong.
by e.guidieri
Mon Feb 02, 2015 11:55 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Problem on Aurix Tricore startup
Replies: 10
Views: 3674

Re: Problem on Aurix Tricore startup

Hi Alessandro. I nerver worked with UDE debugger so I cannot give you precise instructions about it, but what you are telling sounds really weird to me. Which template have you started from? AUTOSAR's Multicore (so ERIKA's Multicore) is based in a Master/Slave relationship so a slave core cannot sta...
by e.guidieri
Wed Dec 10, 2014 9:36 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Infineon AURIX / TASKING Compiler / can not link my project
Replies: 3
Views: 7923

Re: Infineon AURIX / TASKING Compiler / can not link my proj

I addition to what Paolo said: Here you can find the instructions to configure RT-Druid to work with an external repository: http://erika.tuxfamily.org/wiki/index.php?title=RT-Druid_configuration Plus in order activate the Chris patch you need to specify: EE_OPT = "EE_TASKING_4_3"; In your OIL file....
by e.guidieri
Mon Nov 17, 2014 2:56 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Changing Usermodes
Replies: 4
Views: 2430

Re: Changing Usermodes

Hi there, first, thanks for the responses (good timing :) ) I think, that the declaration of the functions which shall run in SV mode as trusted is a very good idea. However, is this convention of the function naming like TRUSTED_... the only possibility to use the trusted functions or may function...
by e.guidieri
Fri Nov 14, 2014 2:49 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Changing Usermodes
Replies: 4
Views: 2430

Re: Changing Usermodes

Hello Alex, well with the last ERIKA release (the one you claim to use), there is something a way better for AURIX. We just released the full memory protection support for ERIKA on AURIX, that use seperation between supervisor and user (User-1 "TriCore speeking") code plus MPU. Check this out: http:...
by e.guidieri
Wed Nov 12, 2014 11:55 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Building of a new library with Erika IDE
Replies: 5
Views: 2678

Re: Building of a new library with Erika IDE

Hi Errico, Thanks for your quick answer :) The problem that I am facing doing like this is that it takes into account only .c files. If those files are including .h files (as usual) the compiler is complaining that cannot include them because is not finding them. So, how can I specify include paths...