Page 1 of 1

ERIKA Entreprise and nios2

Posted: Tue Mar 31, 2015 10:01 pm
by Faouzi
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

Re: ERIKA Entreprise and nios2

Posted: Wed Apr 01, 2015 10:13 am
by Faouzi
please Mr Paolo help me

Re: ERIKA Entreprise and nios2

Posted: Wed Apr 01, 2015 10:18 am
by paolo.gai
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

Re: ERIKA Entreprise and nios2

Posted: Wed Apr 01, 2015 6:32 pm
by Faouzi
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

Re: ERIKA Entreprise and nios2

Posted: Thu Apr 02, 2015 1:01 am
by Faouzi
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

Re: ERIKA Entreprise and nios2

Posted: Thu Apr 02, 2015 6:30 am
by paolo.gai
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

Re: ERIKA Entreprise and nios2

Posted: Thu Apr 02, 2015 7:41 am
by Faouzi
thank you for your explanation ,but if i trying to install altera tools what is the setup if you know ?

Re: ERIKA Entreprise and nios2

Posted: Thu Apr 02, 2015 7:55 am
by paolo.gai
The version we released works with Nios II IDE 8.1 . You need to check on the Altera website.

Regards,

Paolo

NIOS2 and ERIKA Entreprise Problem

Posted: Sun Apr 12, 2015 6:18 pm
by Faouzi
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 ?

Re: ERIKA Entreprise and nios2

Posted: Mon Apr 13, 2015 7:58 am
by paolo.gai
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

Re: ERIKA Entreprise and nios2

Posted: Mon Apr 13, 2015 10:55 am
by Faouzi
I'm creating a RT-Druid project
like this

How to change periode of periode of time

Posted: Sun May 10, 2015 10:28 pm
by Faouzi
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

Re: ERIKA Entreprise and nios2

Posted: Fri Jun 12, 2015 6:55 pm
by paolo.gai
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