Search found 166 matches
- Wed Sep 04, 2013 4:30 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Minimal ISR jitter possible?
- Replies: 15
- Views: 7512
Re: Minimal ISR jitter possible?
SemType s; /* Let's declare the tasks identifiers */ DeclareTask(Task1); DeclareTask(Task2); DeclareTask(Task3); /* some other prototypes */ void mydelay(long int end); void led_blink(unsigned char theled); void mydelay(long int end) { volatile long int i; for (i=0; i<end; i++); return; } void led_...
- Wed Sep 04, 2013 2:01 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Minimal ISR jitter possible?
- Replies: 15
- Views: 7512
Re: Minimal ISR jitter possible?
To be honest this problem sounds like an Application problem to me, it seems that your code access a pointer dirty or nulled: are you sure if you restore the old behaviour of EE_hal_xx_nested_primitives you won't get it anymore? How do you protect data shared between your ISR1 and TASKs ? Could you ...
- Wed Sep 04, 2013 10:14 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Recommended kernel / tasks / alarms setup for my system?
- Replies: 3
- Views: 1673
Re: Recommended kernel / tasks / alarms setup for my system?
- Waiting for these messages in the TASKS threads. => Are there blocking variants of the ReceiveMessage() primitives? (i.e. the TASK should yield) Thanks for your suggestions! The sender just call COM to Send the message and than activate the receiving Task or activate the receiving task with an al...
- Wed Sep 04, 2013 9:37 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: e200 INTC prio LIFO not popped (INTC_EOIR not written)
- Replies: 7
- Views: 2913
Re: e200 INTC prio LIFO not popped (INTC_EOIR not written)
Thank you,
I understood wich is the poblem, in fact to support system timer that structure is needed so I have to add the type to FP alarms.
Best Regards,
Errico Guidieri
I understood wich is the poblem, in fact to support system timer that structure is needed so I have to add the type to FP alarms.
Best Regards,
Errico Guidieri
- Tue Sep 03, 2013 6:44 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Minimal ISR jitter possible?
- Replies: 15
- Views: 7512
Re: Minimal ISR jitter possible?
Wow, that's just great support! Fast, to-the-point answers! I have changed my config into the following: - FP kernel - Nested IRQs - Semaphores - Therefor also Multi-Stack -Two tasks with full preemptive scheduling. ---One task waiting for the semaphore (high prio) ---One task posting a semaphore e...
- Tue Sep 03, 2013 6:08 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: e200 INTC prio LIFO not popped (INTC_EOIR not written)
- Replies: 7
- Views: 2913
Re: e200 INTC prio LIFO not popped (INTC_EOIR not written)
Hi Maxime, can you explain what you get when you configure the system timer for FP, because it sounds like a RT-Druid bug: it should not generate EE_oo_counter_hw_ROM structure for FP kernel. Could you please try to edit eecfg.c removing the EE_oo_counter_hw_ROM structure and tell us if your code wo...
- Tue Sep 03, 2013 10:10 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Minimal ISR jitter possible?
- Replies: 15
- Views: 7512
Re: Minimal ISR jitter possible?
Dear EE users, community, My application needs the least ISR jitter possible, as we are running a very time critical ISR. (just 2 time critical isrs, the rest is less time critical). A certain ISR reacts on an ADC threshold being crossed, and I should switch output transistors within 10 to 15us. Th...
- Mon Sep 02, 2013 5:10 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: e200 INTC prio LIFO not popped (INTC_EOIR not written)
- Replies: 7
- Views: 2913
Re: e200 INTC prio LIFO not popped (INTC_EOIR not written)
Hi Maxime, I think that when you switched from dinamyc to static ISR you forgot to wrap your handlers in the right Macros (that add the right pre and post handler's code). So to declare a static handler of ISR1 type you have to write: ISR1(isr1_handler) { /* handler code */ } and similiar for ISR2: ...
- Tue Jul 16, 2013 9:39 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Memory Map of TC27x Example MONOSTACK_task_demo
- Replies: 3
- Views: 2599
Re: Memory Map of TC27x Example MONOSTACK_task_demo
By the way if you what play with the linker script. I suggest you to copy the generate from the Output/Debug directory as starting point, and tell the toolchain that you want to use your linker script adding by the following line in the .oil file: CPU_DATA = TRICORE { ... LINKERSCRIPT = "custom_core...
- Tue Jul 16, 2013 9:32 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Memory Map of TC27x Example MONOSTACK_task_demo
- Replies: 3
- Views: 2599
Re: Memory Map of TC27x Example MONOSTACK_task_demo
Hi Armin, I admit that that is a little bit tricky but It should not be the cause of your problem. There I'm relying on Tricore Local Addressing as specified in chapter 8 of Tricore AURIX Architecturte document (TC_Architecture_vol1_TC161_TCS_TC16P_TC16E.pdf) and a little bit more extensively in TC2...
- Fri Oct 19, 2012 1:32 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Resource handling inside ISRs
- Replies: 3
- Views: 1733
Re: Resource handling inside ISRs
Exactly that is the right approach. You can find some benchmarck information about Erika on Cortex and PowerPC here: http://erika.tuxfamily.org/wiki/index.php?title=Erika_Enterprise_Benchmark_for_Cortex_M4 http://download.tuxfamily.org/erika/webdownload/benchmarks/2012_05_24_ERIKA_benchmark_ppc.pdf ...
- Fri Oct 19, 2012 10:23 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Resource handling inside ISRs
- Replies: 3
- Views: 1733
Re: Resource handling inside ISRs
Resource handling at ISR2 level it's only implemented in PowerPC and Cortex Architecture, are you using one of them?
- Mon Aug 27, 2012 9:03 am
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Installation issues
- Replies: 30
- Views: 13507
Re: Installation issues
Did you make it work? If yes, nice to hear that. In any case we should provide support even for old Classic IDE, because Freescale said that it would have been discontinued, but they didn't say when :). Probably we will introduce a new EEOPT=PPC_CW_CLASSIC_IDE, to switch beetween the two folder layo...
- Thu Aug 23, 2012 1:43 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Installation issues
- Replies: 30
- Views: 13507
Re: Installation issues
Hello, I'm trying to get an RT-Druid environment for my MPC5668G since a few days. I've got the Error 127 code as well. Console: "C:\\Users\\User\\workspace\\mytest\\Debug\\make_launcher.bat" all C:\cygwin\bin\bash found! Using erika files in /cygdrive/c/eclipse/plugins/CO2D8E~1.201/ee_files CC ee_...
- Tue Apr 17, 2012 2:44 pm
- Forum: ERIKA Enterprise and RT-Druid v2
- Topic: Installation issues
- Replies: 30
- Views: 13507
Re: Installation issues
New CodeWarrior is even more picky than the old one... I fixed the issue you raised. I suggest you to get a local copy of Erika Enterprise (look here how to do it http://erika.tuxfamily.org/wiki/index.php?title=ERIKA_Enterprise_and_RT-Druid_SVN_Access) and configure your RT-Druid to use it (look her...