Search found 166 matches

by e.guidieri
Thu Aug 04, 2016 8:47 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Using the ASCLIN module from Aurix (interrupt issue)
Replies: 7
Views: 7985

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

Hi, if the programs halt means that the Interrupt vector is ill configured and the default handler for an unconfigured interrupt is taken. To correctly configure the interrupt you have to assicure that the PRIORITY used in the OIL file correspond to priority configured on the SRC register of the sou...
by e.guidieri
Tue Jul 12, 2016 10:56 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Tricore compilation
Replies: 38
Views: 201543

Re: Tricore compilation

Hi, I don't think you have to edit the makefile. I think that you have something weird that will put a path with c:/ string in target prerequisites. I have the suspect that you are not using the cygwin make command. could you please open a cygwin shell and execute "which make", to check wich make co...
by e.guidieri
Tue Jun 28, 2016 2:25 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Tricore compilation
Replies: 38
Views: 201543

Re: Tricore compilation

Shammu,

I asked you to add the verbose EE_OPT so you could copy and paste di eclipse console output and I could try to understand what's going on...

Errico
by e.guidieri
Fri Jun 24, 2016 8:20 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Tricore compilation
Replies: 38
Views: 201543

Re: Tricore compilation

Hi Errico, I am using RT-Druid 2.7 now. But, with this new RT-Druid version 2.7 also, I end up in the same old error 'Host-platform other than Linux not supported' . Strange thing is, with the Demo ISR project in Tricore1 folder, I get this error. With other demo projects in Tricore folder, I get a...
by e.guidieri
Thu Jun 23, 2016 11:37 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Tricore compilation
Replies: 38
Views: 201543

Re: Tricore compilation

Hi Shammu, Are you using RT-Druid version 2.6? Probably yes since RT-Druid 2.7 have been released just few days ago. If you are using 2.6 version there is a bug in TriCore makefile for windows that in some machine configuration give the problem that you are facing. I suggest you to download the new ...
by e.guidieri
Wed Jun 22, 2016 6:43 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Tricore compilation
Replies: 38
Views: 201543

Re: Tricore compilation

HI, to be honest this should be true only for TriCore AUDO (TC1797), not for Aurix (TC275). Shanmu, did you installed Cygwin with make command on your platform? Did you follow all the instruction here: http://erika.tuxfamily.org/wiki/index.php?title=Infineon_Aurix Did you try an autogenerated exampl...
by e.guidieri
Mon May 30, 2016 4:30 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Erika ParameterType and ParameterRef Error in oil file
Replies: 2
Views: 3031

Re: Erika ParameterType and ParameterRef Error in oil file

The OIL file ois not correct, I would have suggested you to read OIL Specifications, but actually http://www.osek-vdx.org/ site seems to be not accessible... In short APPMODEs handle autostarting objects (creating sub stes of) but some TASKs that belong to the APPMODE EAEA_EVAL_SYSTEM have AUTOSTART...
by e.guidieri
Thu Apr 07, 2016 10:38 am
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Interarrival Time Protection (AURIX)
Replies: 22
Views: 9443

Re: Interarrival Time Protection (AURIX)

Hi, in fact i cannot find neither a way to enable by software OCDS (setting DBGSR.DE, the bit is declared as "rh" bit read and hardware set) neither, I found in RM that only micro-boot code set the bit if the debug probing/handshaking protocol succeed. This surprised me since in the OCDS, enabled by...
by e.guidieri
Mon Apr 04, 2016 1:57 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Erika OS implementing/calling Interrupts
Replies: 3
Views: 2839

Re: Erika OS implementing/calling Interrupts

Hi Amit Dey, An ISR is an asynchronous activity which is never called by application code, rather is supposed to be the way around: hardware "interrupts" application code and the "interrupts handler" eventually communicate with application, calling the code... In any case, once an ISR is configured ...
by e.guidieri
Tue Mar 22, 2016 2:24 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Wrong spinlock implementation for Tricore?
Replies: 1
Views: 2262

Re: Wrong spinlock implementation for Tricore?

2.4 Semaphores and Atomic Operations The TriCore architecture has five instructions which read and/or write memory in atomic fashion: • LDMST (Load, Modify, Store) • SWAP.W (Swap register with memory) • ST.T (Store bit) • CMPSWAP.W • SWAPMSK.W ... You have an old version of AURIX ISA Reference Manu...
by e.guidieri
Thu Feb 25, 2016 3:28 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: AURIX Multicore Configuration OIL
Replies: 8
Views: 5175

Re: AURIX Multicore Configuration OIL

Our scripts work with supported platform if you are having problem is tied to the fact that you are using an unsupported platform.

http://erika.tuxfamily.org/wiki/index.p ... neon_Aurix

Errico
by e.guidieri
Tue Feb 16, 2016 12:23 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Inconsistent eecfg leads to build error
Replies: 21
Views: 8820

Re: Inconsistent eecfg leads to build error

Good point. And since I cannot use Suspend/Resume IRQ semantic in these functions, to be callable fron non-trusted code, and since the problem you pointed can bite me even in OS start-up (where I call the timer configuration), I decided that I will strip Interrupt Handling from the whole STM driver....
by e.guidieri
Mon Feb 15, 2016 1:00 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Inconsistent eecfg leads to build error
Replies: 21
Views: 8820

Re: Inconsistent eecfg leads to build error

I think I understood what you mean. The question it's a little bit hairy and since I don't want to handle another "Previous-Value" data-structure I will make not preemptable Kernel ISR2 (In any case this is better for Inter-core communication with RPC). Could you try this file patched: ${ERIKA_FILES...
by e.guidieri
Fri Feb 12, 2016 12:04 pm
Forum: ERIKA Enterprise and RT-Druid v2
Topic: Inconsistent eecfg leads to build error
Replies: 21
Views: 8820

Re: Inconsistent eecfg leads to build error

In the mean time that patch have been tested, and we commited on the repository, since is the "best-easy-way" to take advantage from all the STM hardware. Regarding your problem: The only thing I can immagine is that for some reason Interrupts remain disabled for more time than you expect, but I rea...