Search found 18 matches

by dimolin
Sun Nov 25, 2018 9:36 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hi Paolo,

You are right. The problem is in the size of the stacks. After I increased them, the example works as is expected.

Thank you!


BR
Dimo
by dimolin
Sun Nov 25, 2018 10:05 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hello, I'm trying to test an alarm assigned to a software counter. I have defined an extended task ( IncrCounter_Task ) that runs every 10ms (using a cyclic alarm IncrCounter_Alarm that expire every 10ms). Inside this task I call the function IncrementCounter(ToggleLED_Counter); . I have also define...
by dimolin
Mon Nov 12, 2018 1:50 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Thank you!
by dimolin
Mon Nov 12, 2018 9:18 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hello, I think the OIL attribute USEGETSERVICEID in the current release doesn't work. OS myOs { EE_OPT = "__AVR8_GCC_C99__"; CFLAGS = "-O0 -g"; CFLAGS = "-DF_CPU=16000000L"; STATUS = EXTENDED; STARTUPHOOK = TRUE; ERRORHOOK = TRUE; SHUTDOWNHOOK = FALSE; PRETASKHOOK = FALSE; POSTTASKHOOK = FALSE; USEG...
by dimolin
Wed Nov 07, 2018 12:14 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hello,

Is it possible the generation of OS files (erika and out folders) to be redirected? For example I want to create a specific folder structure and RT-Druid generated folders (erika and out) to be generated in folder Os.
OsFiles.png
OsFiles.png (9.58 KiB) Viewed 9903 times
BR
Dimo
by dimolin
Wed Oct 31, 2018 12:58 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hi Errico,

Thank you for your fast response.

BR
Dimo
by dimolin
Wed Oct 31, 2018 10:36 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hello again, I faced with the following problem. I have defined an alarm with AUTOSTART = TRUE (see AlarmTask2). I have also defined an application mode RunMode . I want this alarm to start automatically for this mode so I have added the attribute APPMODE = RunMode; . But I get an error during the c...
by dimolin
Wed Sep 26, 2018 6:27 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hi Guiseppe,

You gave me the necessary information. Thank you.

BR
Dimo
by dimolin
Wed Sep 26, 2018 12:59 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hi Giuseppe, Thank you for your advice. Regarding Arduino SDK, I have installed it and the error message from point 8 disappeared but the error message "Unsupported CPU frequency" was generated again. Then after I added the line CFLAGS = "-DF_CPU=16000000L"; the project was built successfully. Just ...
by dimolin
Tue Sep 25, 2018 9:23 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

So it looks that Arduino SDK must be installed even if I’m not going to use it.
Then when I rebuild the project again I got this
by dimolin
Tue Sep 25, 2018 9:19 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

9. The one solution is to install Arduino and to add path to it. I tried it and it works. The other option I tried is to disable this line manually
by dimolin
Tue Sep 25, 2018 8:40 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Re: Erika3 and Avr8

Hi Paolo, Thank you for your answer. This sounds good. Nevertheless I have a problem to run Erika 3 with Avr8. I’ll try to give as much as possible details about the problems that I’m facing with. 1. I’m using Window 10 64-bit 2. I have installed eclipse-rtdruid3-photon-win32-x86_64_20180917_gh47 3....
by dimolin
Mon Sep 24, 2018 3:15 pm
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Erika3 and Avr8
Replies: 20
Views: 13978

Erika3 and Avr8

Hello, My question is if it’s possible to use Erika 3 and Avr8 without Arduino (hardware and software)? I mean I have a non-Arduino pcb board, just a pcb with Atmega328P mounted on it and I want to use it with Erika 3. I'm asking because I tried to create a project following the information from the...
by dimolin
Thu Jan 04, 2018 11:45 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Eclipse Neon 2, Windows 64bit
Replies: 2
Views: 2990

Re: Eclipse Neon 2, Windows 64bit

paolo.gai wrote:Ouch, you are right!

I have just fixed the upload (all the other architectures were unaffected).

Ciao, and Happy new Year!

PJ
Thank you, and Happy New Year too :).
by dimolin
Thu Jan 04, 2018 10:04 am
Forum: ERIKA Enterprise and RT-Druid v3
Topic: Eclipse Neon 2, Windows 64bit
Replies: 2
Views: 2990

Eclipse Neon 2, Windows 64bit

Hello,

Accept my congratulations for the new version of ERIKA v3.x.

I downloaded Eclipse Neon 2, Windows 64bit, but it cannot be unzipped. I get a message that the file is corrupted.
The package is only 35MB.

BR
Dimo