Search found 166 matches

by e.guidieri
Wed Nov 12, 2014 11:45 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

In .oil file

Code: Select all

CPU_DATA = PIC30 {    <--- Valid for any suppoeted CPU_DATA
    APP_SRC = " usrLibs/file1.c"; /* Relative path  to your project directory (the ones contains .oil file) or an absolute path */
    APP_SRC = " usrLibs/file2.c";
    ...
};
Errico
by e.guidieri
Tue Oct 07, 2014 9:40 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Porting Erika to Arm Cortex R4
Replies: 13
Views: 5388

Re: Porting Erika to Arm Cortex R4

Is Erika using different modes like user/system/svc/irq mode in any controller? The purpose is that a Task cannot change settings like enable or disable interrupts. Yes, but only in TriCore with full AUTOSAR Memory/Service Protection Enabled*. Normally all porting runs in "supervisor mode", without...
by e.guidieri
Thu Sep 25, 2014 4:26 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: FP kernel crash stm32F4 discovery
Replies: 6
Views: 2807

Re: FP kernel crash stm32F4 discovery

I found a introduction to OSEK, maybe it will help to understand better the execution model (in particular TASK "Run to Completion" and multiple activation).

http://www.algonet.se/~staffann/developer/rtbasics.htm
by e.guidieri
Thu Sep 25, 2014 10:46 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: FP kernel crash stm32F4 discovery
Replies: 6
Views: 2807

Re: FP kernel crash stm32F4 discovery

Paolo already responded to you according multiple TASK's activation (RUNNING max one (until the end), READY+RUNNING less or equal than "nact" (number activation) value, modifiable by TASK.ACTIVATIONS OIL filed) . Regarding the stack size I made a mistake pointing the work around for enflating the st...
by e.guidieri
Mon Sep 22, 2014 2:42 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: FP kernel crash stm32F4 discovery
Replies: 6
Views: 2807

Re: FP kernel crash stm32F4 discovery

As you suggested thi seems a stack corruption problem or a concurrency problem, since it doesn't happen without preemption. Wich compiler are you using? GCC? If yes, you can try to increment the default Stack Size (0xC00 bytes) with OIL CFLAGS=-D__STACK_SIZE=<number_greater_than_default_stack_size> ...
by e.guidieri
Mon Jul 28, 2014 5:24 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Cannot download nightly build
Replies: 2
Views: 1681

Re: Cannot download nightly build

Hello, I am looking to install Erika on a prototype platform with a multicore, Aurix processor. The forum posting “About Erika Aurix Project” dated 17 Apr 2014 suggested that I should download the latest nightly build so that I had the latest functionality. However when I follow the link from the d...
by e.guidieri
Thu Jul 10, 2014 12:25 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Aurix Multicore Single-ELF option
Replies: 2
Views: 1772

Re: Aurix Multicore Single-ELF option

Hi Alex, you are right there is a issue with the last release (I'm going to document it on the wiki too). You need to change target called by build system makefile. To do that open project properties->C/C++ Build->behaviour delete the 'all' target from Build (Incremental build). Be aware that lauter...
by e.guidieri
Mon Jun 23, 2014 3:25 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Syntax Error Orti; CCTRL Tricore; CYCLETIME/ALARMTIME
Replies: 3
Views: 2830

Re: Syntax Error Orti; CCTRL Tricore; CYCLETIME/ALARMTIME

Hi felix, quick answers 1. WinIDEA has problems to import the *.orti file created by RT-Druid. This is because of a trailing comma in the TASK section. See the following code listing. ... I think you are right about this, the file work with Lauterbach tool probably relying to an extension of the sta...
by e.guidieri
Thu Apr 17, 2014 12:33 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: About ERIKA AURIX project
Replies: 8
Views: 5170

Re: About ERIKA AURIX project

Hi, With "you need to put compiler in path" I meant to put the compiler path in environment variable PATH. For AURIX I don't think that neither common_oil.pref will work (at least it doesn't wotk for Hightec GCC yet). If you want give a try, you can found an example of common_oil.pref file here: htt...
by e.guidieri
Thu Apr 17, 2014 10:04 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: About ERIKA AURIX project
Replies: 8
Views: 5170

Re: About ERIKA AURIX project

To select the compiler you have to modify OIL file, changing CPU_DATA container CPU_DATA = TRICORE { CPU_CLOCK = 200.0; APP_SRC = "code.c"; /* COMPILER_TYPE = GNU; Change This */ COMPILER_TYPE = TASKING; /* To this */ ... }; You can find some documentation related to ERIKA Infineon AURIX Porting her...
by e.guidieri
Thu Mar 13, 2014 1:03 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Erika OSEK general query
Replies: 11
Views: 5057

Re: Erika OSEK general query

Ok, now the question it's more clear. Actually my question is from the definition of BCC2 class. BCC2 class defination from osek specs :--- BCC2 (like BCC1, plus more than one task per priority possible and multiple requesting of task activation allowed) Here what do we exactly mean by multiple requ...
by e.guidieri
Wed Mar 12, 2014 1:08 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Erika OSEK general query
Replies: 11
Views: 5057

Re: Erika OSEK general query

Mean to say if Erika OSEK is configured for BCC1 with basic task with SCHEDULE=FULL. Then current running task will run to complete irrespective of condiditon that high priority task is waiting for it turn. And once the current running task is completed then the execution will start as per the prio...
by e.guidieri
Tue Mar 11, 2014 11:31 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Erika OSEK general query
Replies: 11
Views: 5057

Re: Erika OSEK general query

Example source code is available on SVN. But i did not found the source code foe Erika OSEK on SVN where exactly it is ? The Wiki page with all the information to access repository is this http://erika.tuxfamily.org/wiki/index.php?title=ERIKA_Enterprise_and_RT-Druid_SVN_Access as shortcut I add the...
by e.guidieri
Thu Oct 24, 2013 11:00 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Is it possible to re-create project with MPLAB IDE?
Replies: 3
Views: 1734

Re: Is it possible to re-create project with MPLAB IDE?

I just tried MPLAB X IDE and from this is easy to create a project for debugging and editing sources, starting from an existing ELF file. So the easier way to integrate ERIKA for pic30 in a IDE is compiling from command line in Cygwin and using MPBLAB X with this kind of project. I have to say that ...
by e.guidieri
Mon Sep 09, 2013 12:59 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Minimal ISR jitter possible?
Replies: 15
Views: 7512

Re: Minimal ISR jitter possible?

Hi maxevince, happy to have been helpful. - Removed the semaphores, used ActivateTask() instead. I would suggest to keep this method in any case: understand how to work with RTC (Run To Completition), keeps the things faster, cleaner, smaller and easier. It looks like it works with the modifications...