ERIKA Entreprise and nios2

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

ERIKA Entreprise and nios2

Post by Faouzi » Tue Mar 31, 2015 10:01 pm

Hello Sr
I'm Mahmoudi Faouzi a future engineer and I need to realize a communication between processor nios2 and Erika Enterprise platform in order to creation an application to minimize energies in multi-processor altera nios 2
please helpe me i didn't any documentation from this project
best regard
Faouzi

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

Re: ERIKA Entreprise and nios2

Post by Faouzi » Wed Apr 01, 2015 10:13 am

please Mr Paolo help me

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai » Wed Apr 01, 2015 10:18 am

Dear Faouzi,

The information about the Niso II port are on the Wiki:

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

Additional documentation is available at:

http://erika.tuxfamily.org/drupal/documentation.html

Please note that Nios II support was up to date until Nios II IDE 8.1 .

Regards,

Paolo

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

Re: ERIKA Entreprise and nios2

Post by Faouzi » Wed Apr 01, 2015 6:32 pm

we can not do project with this platform like this like cause my framer proposed to me this platform
http://www.erika-enterprise.com/downloa ... _RETIS.pdf
it's possible to do this task in this platform or no

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

Re: ERIKA Entreprise and nios2

Post by Faouzi » Thu Apr 02, 2015 1:01 am

thank you Mr Paolo ,i know this solution
we can not do project with this platform like this link ? cause my framer proposed to me to do my project in this virtual machine "http://www.erika-enterprise.com"
http://www.erika-enterprise.com/downloa ... _RETIS.pdf
it's possible to do this task in this platform or no
best reguard
Faouzi

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai » Thu Apr 02, 2015 6:30 am

The Virtual machine we distribute works for Arduino, STM32, and for Cubieboard (Xen)...

It does NOT have the Altera tools pre-installed. I never tried to install the Altera tools on a virtual machine. Maybe they work, but you have to try. We cannot release the Altera tools in a VM because they are not open-source.

The alternative is either to use one of the supported hw in the VM or to install Altera Nios II IDE 8.1 on your machine directly (no VM), or to try a port to a newer Altera distribution.

PJ

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

Re: ERIKA Entreprise and nios2

Post by Faouzi » Thu Apr 02, 2015 7:41 am

thank you for your explanation ,but if i trying to install altera tools what is the setup if you know ?

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai » Thu Apr 02, 2015 7:55 am

The version we released works with Nios II IDE 8.1 . You need to check on the Altera website.

Regards,

Paolo

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

NIOS2 and ERIKA Entreprise Problem

Post by Faouzi » Sun Apr 12, 2015 6:18 pm

Hello Sr
I'm trying to create a new project contain .c and .oil file
but i'm tramping by this problem
"ERROR > The project nios2_task doesn't contains the RT-Druid config file conf.oil"
but i'm creating this file
can you help me ?
Attachments
that's my project  nios2_task like  tutorial
that's my project nios2_task like tutorial
Sans titre.png (137.29 KiB) Viewed 4325 times

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai » Mon Apr 13, 2015 7:58 am

it seems you created a C project and not a RT-Druid Project. The RT-Druid Project is available once you install correctly the RT-Druid plugins.

PJ

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

Re: ERIKA Entreprise and nios2

Post by Faouzi » Mon Apr 13, 2015 10:55 am

I'm creating a RT-Druid project
like this
Attachments
yy.png
yy.png (142.59 KiB) Viewed 4316 times

Faouzi
Newbie
Posts: 14
Joined: Tue Mar 31, 2015 6:34 pm

How to change periode of periode of time

Post by Faouzi » Sun May 10, 2015 10:28 pm

I didn't know to change periodic time
I have tow chose and i can know how is responsible from periodic time
SetRelAlarm(AlarmTask1, 10,10000);
or
COUNTER Counter1 {
CPU_ID = "cpu0";
MINCYCLE = 2;
MAXALLOWEDVALUE = 0x10000000 ;
TICKSPERBASE = 1;
};
i need help
thank's

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai » Fri Jun 12, 2015 6:55 pm

I just saw the notification for this message.

The system works as follows:

- you need to declare a counter in the OIL file
- you need to periodically increment the counter in a timer
- you need to declare an alarm in the OIL file attached to the counter
- you can then activate the alarm using SetRelAlarm

I hope it helps...

PJ

Post Reply