Search found 166 matches

by e.guidieri
Mon Feb 27, 2017 8:18 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: ecc2 kernel in arduino
Replies: 9
Views: 3298

Re: ecc2 kernel in arduino

Hi,

128 bytes of private stack seems to be at limit, try 256 or 512; or, even better since you don't use blocking primitives, use STACK=SHARED; .

Errico Guidieri.
by e.guidieri
Mon Feb 27, 2017 2:40 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: ecc2 kernel in arduino
Replies: 9
Views: 3298

Re: ecc2 kernel in arduino

Hello Rilius, you shouldn't get any blinking at all, if all the checks were in place... ECC2 is an OSEK Kernel and needs the call to StartOS to enable scheduling. The problem is that StartOS, by requirement, do not return, unless you specify ERIKA's custom policy EE_OPT = "__OO_STARTOS_OLD__"; . if ...
by e.guidieri
Mon Jan 23, 2017 9:02 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Can a path or directory assigned to APP_SRC in oil file
Replies: 3
Views: 1880

Re: Can a path or directory assigned to APP_SRC in oil file

Hi, since the entry of APP_SRC is copied verbatim in a makefile variable APP_SRC, actually you can use any make function to valorize it, like $(wildcard *.c). Just remeber two things 1) All resulting path should be relative path to the folder containing OIL file. 2) OIL file should be located in the...
by e.guidieri
Fri Nov 18, 2016 12:49 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: EE as standalone
Replies: 3
Views: 1581

Re: EE as standalone

Hi, the page you found is quite explicative, in addition a what you find there I can add that HR: is an hierarchical resource reservation scheduler. Another scheduler for research purpose. I want only to add some more information regarding dsPIC33 architecture: if I remember correctly all the kernel...
by e.guidieri
Wed Nov 16, 2016 11:40 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: TriCore, multicore, tasking error
Replies: 1
Views: 1359

Re: TriCore, multicore, tasking error

Hi,

we don't have access to TASKING compiler anymore, so we cannot inspect such problems. For us TASKING support is discontinued, if what have been released works: good for you, otherwise you need to fix it by yourself.

Errico
by e.guidieri
Thu Nov 03, 2016 12:31 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: single-shot task
Replies: 4
Views: 1818

Re: single-shot task

So you are calling GetResource(RES_SCHEDULER); at TASK begin and ReleaseResource(RES_SCHEDULER); before the while loop, is it correct?

If yes, you are doing it correctly :)

Errico
by e.guidieri
Wed Nov 02, 2016 4:56 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: single-shot task
Replies: 4
Views: 1818

Re: single-shot task

You can achieve something like a "Single Shot Initialization TASK", with the AUTOSTART=TRUE; OIL TASK filed. The best you can do is using this TASK to handle Idle time/Background activities (BG) too: 1) Declare the autostart TASK with the lowest priority in the system, this will let any other TASK p...
by e.guidieri
Fri Oct 21, 2016 8:45 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: context trap, TriCore
Replies: 1
Views: 1187

Re: context trap, TriCore

Hi

That kind of trap is the equivalent of a "stack overflow due to unterminated recursion" in TriCore, so problably you are not handling corretly the ISR (acknowledging the soure) that keep to nest on it self.

Errico
by e.guidieri
Fri Oct 14, 2016 9:35 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: tricore, fp kernel isr
Replies: 1
Views: 1481

Re: tricore, fp kernel isr

Work with KERNEL=BCC1 (Functionally the only difference should be the use TerminateTask service, but ERIKA works even without the use of it). Using of FP kernel with TriCore, with TASKING compiler has never been tested and we don't have access to that compiler anymore so we cannot investigate what's...
by e.guidieri
Wed Oct 12, 2016 10:22 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: QSPI/DMA module AURIX
Replies: 4
Views: 2690

Re: QSPI/DMA module AURIX

Hi

search in your working code code all the calls to IfxCpu_Irq_installInterruptHandler or, if you cannot find them, at runtime with a debugger inspect IfxCpu_Irq_swIntVector. Those are the handlers that the drivers suppose to be registered, configure the OIL accordinng to these informations.

Errico
by e.guidieri
Tue Oct 11, 2016 10:32 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: QSPI/DMA module AURIX
Replies: 4
Views: 2690

Re: QSPI/DMA module AURIX

Hi I have no idea how the interrupt vector i supposed to be handled to work with iLLD drivers and from the code you posted I cannot understand it, maybe if you could post all the initialization code for the working application without ERIKA I could figure it out. When we did the porting on TriCore w...
by e.guidieri
Mon Oct 03, 2016 10:17 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: ee_boot.s questions for MPC5644a
Replies: 2
Views: 1462

Re: ee_boot.s questions for MPC5644a

Hi, these are called numeric local labels , it's a GCC asm (gas) feature introduced in a bunch of other compilers (indeed those files are compiled with WindRiver DIAB verbatim and by NXP/Freescale METROWERKS[Codewarrior], after a code to code automatic translation procedure). Basically the branches ...
by e.guidieri
Fri Sep 16, 2016 1:58 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Changing linker script (AURIX)
Replies: 1
Views: 1396

Re: Changing linker script (AURIX)

You can use LINKERSCRIPT = "your_linker_script.ld"; entry in CPU_DATA OIL construct. http://erika.tuxfamily.org/wiki/index.php?title=Infineon_Aurix#CPU If you are building as single ELF (As does it seems since you are pointing to a generated file of the single ELF build toolchain) you need to provid...
by e.guidieri
Fri Aug 05, 2016 11:55 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Using the ASCLIN module from Aurix (interrupt issue)
Replies: 7
Views: 4452

Re: Using the ASCLIN module from Aurix (interrupt issue)

Start from priorità 3.

You didn't post it but probably you have The system timer configured and this means that The OS need 2 priority: one for system timer and one for multicore communication.
by e.guidieri
Fri Aug 05, 2016 10:26 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Using the ASCLIN module from Aurix (interrupt issue)
Replies: 7
Views: 4452

Re: Using the ASCLIN module from Aurix (interrupt issue)

Since you are in multicore environment (more than done CPU_DATA configured) you have top map objects (TASKs, ISRs ecc...) on cores, adding CPU_ID field, e.g. CPU_ID="master";