Search found 40 matches
- Mon Nov 23, 2015 5:25 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
I have another question about the execution timing protection (I use this thread, if it´s no problem): I configured a task with a execution budget (1ms) and inside the task following code is executed: DisableAllInterrupts(); EE_tc2Yx_delay(1000000); //1s EnableAllInterrupts(); ProtectionHook is call...
- Mon Nov 23, 2015 12:34 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Ok, tested it with 1s and it worked as expected.
Thank you for your support.
Thank you for your support.
- Mon Nov 23, 2015 11:40 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Ok, I tried the patch. I placed a loop inside the trusted function which consumes a lot of time. During the execution of the trusted function I don´t get an error, but afterwards ProtectionHook isn´t called. Should I upload a minimum example for testing? Btw: Debugging with enabled Timing Protection...
- Mon Nov 23, 2015 9:49 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Can you upload the patch please (or ee_as_mem_prot.c)? I get "corrupt patch at line 34" now. Maybe there is something wrong with the format.
- Fri Nov 20, 2015 9:54 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Update:
Yesterday, after I wrote this post, I completly recompiled the project and then I got this error immediatly. The trap bus handler (EE_tc_bus_handler) was called (with TAE, TIN7) and later the ProtectionHook. Maybe there´s something in this path.
Yesterday, after I wrote this post, I completly recompiled the project and then I got this error immediatly. The trap bus handler (EE_tc_bus_handler) was called (with TAE, TIN7) and later the ProtectionHook. Maybe there´s something in this path.
- Thu Nov 19, 2015 3:14 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
No problem, thank you for the patch :) I have noticed this interesting requirement recently: [OS565] ⌈ When CallTrustedFunction() is called and the caller of CallTrustedFunction() is supervised with timing protection, the Operating System shall delay any timing protection errors until the return of ...
- Wed Nov 11, 2015 3:48 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
I couldn´t apply the patch with git "git apply patch" - got an error "fatal: corrupt patch at line 6", therefore I manually patched the file. I have tested it and didn´t get an error so far. Now, I think I understand the problem, too: Example with 4Bit Counter: Current Counter-Value = b0111 "next ma...
- Tue Nov 10, 2015 7:41 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Sorry Errico, I haven´t mentioned that I am not using this Event inside the Task. Actually I have deleted all code inside the Task (except TerminateTask()) for testing. To sum the configuration up, the sequence on Core0 should be: 0ms -> Alarm1 activates TaskMasterA 1ms -> TaskMasterA must be finish...
- Tue Nov 10, 2015 4:46 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Re: Interarrival Time Protection (AURIX)
Thank you for testing! How long was your test running? The earliest time I got this error was after 10s and the latest error after 60s ... so I would suggest to run the test at least one minute. I´m sure about the Interarrival-Error. Additionally, I have set a breakpoint in EE_as_tp_handle_interarri...
- Tue Nov 10, 2015 1:47 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Interarrival Time Protection (AURIX)
- Replies: 22
- Views: 9448
Interarrival Time Protection (AURIX)
Hi, I have two Tasks in my configuration which are activated by Alarms in a cylce of 10ms. Timing Protection is activated for both Tasks (Timeframe = 9ms) and the Tasks shouldn´t interrupt each other as they are activated at different times. When I´m running the program, at some time the interarriva...
- Thu Oct 08, 2015 2:22 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Question about Memory Protection (TriCore)
- Replies: 1
- Views: 1365
Question about Memory Protection (TriCore)
Hi, I´m just curious about the bold marked sentence on your wiki: [a] - The OS shares the stack with tasks and ISRs. If SP is invalid when calling a system API, a fault may happen. If a context change happens inside a system call (e.g., ActivateTask() made on a task with higher priority), data from ...
- Tue Aug 18, 2015 10:31 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Global resources are not allowed (with queued spinlocks)
- Replies: 8
- Views: 3460
Re: Global resources are not allowed (with queued spinlocks)
Hi, I´m using a TriCore TC27x in a multicore configuration, too. Global resources aren´t available in ERIKA Autosar OS with the RPC implementation (please read in http://erika.tuxfamily.org/wiki/index.php?title=Erika_AUTOSAR_OS#Difference_between_the_traditional_RN_implementation_and_the_new_RPC_imp...
- Tue Aug 11, 2015 7:59 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Code Protection for AURIX TriCore
- Replies: 6
- Views: 2705
Re: Code Protection for AURIX TriCore
It could be helpful if I want to protect the kernel code from being directly executed by OS-Applications.
Regards,
Alex
Regards,
Alex
- Mon Aug 10, 2015 11:55 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Code Protection for AURIX TriCore
- Replies: 6
- Views: 2705
Re: Code Protection for AURIX TriCore
I´m currently experimenting with the code protection. I have seen in Debug/tc27x_multicore.map, that there are a lot of "EE"_functions in the section .CPU0.text . Is this mapping intended or necessary for the current implementation? If not, I would place all "EE"-code from .CPUx.text into the privat...
- Wed Jul 29, 2015 2:27 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)
Yes, you are right with the alignment. It should be at 0x2000.
Thank you,
Alex
Thank you,
Alex