Search found 166 matches
- Tue Nov 10, 2015 5:53 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Looking deeper at the configuration I can figure out what's going on. The problem it's the Event, when a TASK start a waiting it start a interarrival frame too (Read AUTOSAR specicification, I know you can do that ^^), so you have to assure that that the SetEvent came after 9 ms. AUTOSAR OS prevents...
- Tue Nov 10, 2015 3:56 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
I tried your configuration and I don't have any problem. As far as I cas say you have configured both timing protection: execution budgets and time interrarival frame. Are you sure that the signaled error is E_OS_PROTECTION_ARRIVAL (17), the one tied to interrarrival, and not E_OS_PROTECTION_TIME (1...
- Mon Nov 09, 2015 10:56 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Possible Bug in interaction of CYCLETIME and SECONDSPERTICK
- Replies: 2
- Views: 1715
Re: Possible Bug in interaction of CYCLETIME and SECONDSPERT
Of course it doesn't work you are overloading the system. At 200 Mhz, in a microsecond tick scenario, (max clock speed of a tc27x) You have only 200 instruction to handle interrupts and alarms, not realistic. I would suggest as lower bound for tick interrupt 100 us.* Regards, Errico Guidieri *By the...
- Thu Oct 08, 2015 2:47 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Question about Memory Protection (TriCore)
- Replies: 1
- Views: 1362
Re: Question about Memory Protection (TriCore)
Static inspection of generated assembly code.
You can do it by yourself just grepping a10 in kernel's assembly generated files.
Errico
You can do it by yourself just grepping a10 in kernel's assembly generated files.
Errico
- Wed Jul 29, 2015 2:13 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
I understand that each OS-Application using IOC needs access to the services that are used by the IOC, if I wrap ioc_common.h in trusted functions , because of the requirement SWS_Os_00266. I don´t exactly understand what you mean with "transparently granted"? It will be the configurator, when it w...
- Wed Jul 29, 2015 2:07 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Issue with Interrupt Vector Table (TriCore)
- Replies: 3
- Views: 2612
Re: Issue with Interrupt Vector Table (TriCore)
The linker files to be patched are ee/pkg/mcu/infineon_common_tc2Y/{ee_tc2Yx_gnu_flash.ld.tmpl,ee_tc2Yx_global_gnu_ram.ld} The one you used works on object code level (probably adding alignment requirement object sections), not at relocation level, and only if activate the Single ELF Build. And for,...
- Tue Jul 28, 2015 4:45 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
Hi Errico, I have integrated parts of this example \examples\tricore\tc2Yx\as_multicore_examples\08_IOC_save_non_primitive_unqueued now in my application and I have faced some problems with the IOC prototype if Memory and and Service Protection are enabled. You are right the examples do not address...
- Fri Jul 24, 2015 10:40 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
For the communication you should implement something like Autosar IOC.
We just have implemented a prototype without configurator for this feature.
If you want to play with, it could be helpful for the ERIKA's project and I could try to give some advice.
Errico
We just have implemented a prototype without configurator for this feature.
If you want to play with, it could be helpful for the ERIKA's project and I could try to give some advice.
Errico
- Fri Jul 24, 2015 8:37 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
BTW You could relax the service protection giving explicitly access, it's still a safer solution the use shared memory.
- Thu Jul 23, 2015 3:01 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
Actually ERIKA is declared to follow AUTOSAR 4.0 rev 3 specification, during the development I kept on eye on the following version the 4.1 (rev 1 & rev 2) and I didn't notice any functional difference (but I could be wrong). I would love to be allocated full time to kept ERIKA updated with the spec...
- Thu Jul 23, 2015 1:21 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: API Call inside a trusted function
- Replies: 14
- Views: 5613
Re: API Call inside a trusted function
Hi Alex, I Bet that you got that requirement from the last realese of Autosar Specification (4.2.1). If yes: congratulations you caught a not documented disruptive & not backward compatible requirement change. :) The same requirement until version 4.1 Rev 3 was like this: [SWS_Os_00266] When CallTru...
- Thu Jun 04, 2015 8:23 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Problem with using Shared variable in MultiCore Environment
- Replies: 3
- Views: 2143
Re: Problem with using Shared variable in MultiCore Environm
This really weird I just tried it yesterday and the test works.
hich compiler are you using, are you compiling in single ELF way. Could you attach your oil file?
hich compiler are you using, are you compiling in single ELF way. Could you attach your oil file?
- Tue Mar 17, 2015 11:09 am
- 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
About TASKING: Try to remove EE_OPT = "EE_TASKING_4_3"; As far as I can see the actual patch use this compiler by default, and maybe the patch could give some problem (but I don't really know, since I cannot test). If you have problem you should inspect makefile to figure out what's happening About ...
- Fri Mar 13, 2015 10:57 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Problem with two tasks (threads)
- Replies: 7
- Views: 2402
Re: Problem with two tasks (threads)
I could suggest you some solutions, but before to understand what you need to do. For example this
for doesn't mean nothing to me.I can have a scheduler based on timers (like the Roudin Robin).
But often I will not be able to complete the task in a given time,...
- Fri Mar 13, 2015 10:36 am
- 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
Just yesterday an ERIKA's contributor provvided a patch for TASKING 4.3 for TriCore so maybe you could get the last snapshot of the repository (follow the instruction of previous link i gav you), and using it: http://erika.tuxfamily.org/wiki/index.php?title=Erika_path_in_RT-Druid Hightec compiler sh...