ERIKA Entreprise and nios2

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
Faouzi

ERIKA Entreprise and nios2

Post 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
Faouzi

Re: ERIKA Entreprise and nios2

Post by Faouzi »

please Mr Paolo help me
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post 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
Faouzi

Re: ERIKA Entreprise and nios2

Post 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
Faouzi

Re: ERIKA Entreprise and nios2

Post 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
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post 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
Faouzi

Re: ERIKA Entreprise and nios2

Post by Faouzi »

thank you for your explanation ,but if i trying to install altera tools what is the setup if you know ?
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post by paolo.gai »

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

Regards,

Paolo
Faouzi

NIOS2 and ERIKA Entreprise Problem

Post 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 ?
Attachments
that's my project  nios2_task like  tutorial
that's my project nios2_task like tutorial
Sans titre.png (137.29 KiB) Viewed 13493 times
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post 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
Faouzi

Re: ERIKA Entreprise and nios2

Post by Faouzi »

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

How to change periode of periode of time

Post 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
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Entreprise and nios2

Post 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
Locked