ERIKA Enterprise for STM32F4

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

raghu.ponuganti

ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

I want to start with Erika Enterprise on STM32F4, unfortunately I do could not find any tutorials for it.

Are there any detailed tutorials to start with. Since I am new here, I request your help.

regards,
Raghavendra
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

Hi!

The STMF4 has been used recently in the Embedded System Course at the Retis Lab of the Scuola Superiore S. Anna. I'll check if they can provide some tutorials for the board!

Ciao,

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

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

There is something in particular a wiki page on the debugging in Eclipse with the GNU toolchain. Also there are available a set of examples to be used with the STM32 Discovery kit...

Here are some links:

-Tutorial: STM32 -Integrated Debugging in Eclipse using GNU toolchain:
http://erika.tuxfamily.org/wiki/index.p ... _toolchain

- GCC compiler (Linux, MAC, Windows):
https://launchpad.net/gcc-arm-embedded/

- Compilatore and Keil IDE (only Windows):
https://www.keil.com/

We are also thinking to release soon a virtual machine with everything pre-installed...

Ciao,

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

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

Finally, last but not least, here is the link to the slides of this year Embedde System course which used STM32F!

http://retis.sssup.it/people/nino/LabES ... 2013_2014/

PJ
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

Thank you very much. Hope these slides will help me.
I will go through these and get back to you if I face some problems.

Thanks & regards,
Raghavendra
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

Sorry for late reply.

I am still not successful in running ERIKA on STM32 ( I was on vacation and just resumed my work). I stuck with compile error. Please find the compile error in the attached image. It shows some make file is not existing, but it does exist in the same directory.

Please help me fix this error. Is it something to do with my configuration setting ? or am I missing something.

I installed Cygwin and GNU toolchain for ARM.

Thanks & regards
Raghavendra Ponuganti
Attachments
Screenshot 2014-05-29 01.09.18.png
Screenshot 2014-05-29 01.09.18.png (146.83 KiB) Viewed 158104 times
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

Hi!

Seems strange...

Please check that the e:\MY_PRO... path is the correct one, that is whether Eclipse is really installed on that drive, and the rules.mk is on that directory.

Also check the prints "Copy Skeleton Files..." ... do you have a working cygwin installation? ideally, no warning messages should appear whne you open the cygwin shell...

Btw, we are preparing a pre-configured linux VM with all the Cortex M4 compilers preinstalled, in collaboration with the RETIS Lab of the Scuola S. Anna. This should help things a bit in the future we hope...

Ciao, PJ
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

Thank you very much for your support and quick reply.

I do not see any warning when I open cygwin shell.

I have checked the path. I am able to reach the path in cygwin shell and rules.mk does present in that path (please see the attached screenshot).

I also tried by running the eclipse as administrator but no go. Any further suggestions will be helpful.

Thanks for making the pre-configured linux VM, that will really reduce the setup time. Will be waiting to try that.

Thanks & regards
Raghavendra Ponuganti
Attachments
Screenshot 2014-05-30 22.26.39.png
Screenshot 2014-05-30 22.26.39.png (109.22 KiB) Viewed 158094 times
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

One basic question, What should be the toolchain used ?
I am trying to build the sample program. I am creating the sample project from the template.

Thanks & regards,
Raghavendra Ponuganti
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

There is a strange warning when you run "ls". Never seen it before. could be a "strange"installation of cygwin.

Could you try a "ls -l"? just to check if you ahve permissions to access that file.

About the compiler: should be the gcc as well as the Keil compiler. Instructions on the wiki page,
http://erika.tuxfamily.org/wiki/index.p ... _Cortex_MX

Anyway we'll release soon a virtual machine able to compile for the Discovery, Arduino Uno and Due...

PJ
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Hi,

Is the virtual machine released. ?
If not when is it planned to release ?

regards,
Raghavendra Pounganti
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

Hi!

Our plan is to release a VM with Diab+TRACE32+ERIKA for PPC by the end of June.

Probably the STM32 VM will be ready by that time too. If not ready by end of June, likely it will be ready by the end of July.

Ciao,

PJ
raghu.ponuganti

Re: ERIKA Enterprise for STM32F4

Post by raghu.ponuganti »

Thank you very much for the reply.
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA Enterprise for STM32F4

Post by paolo.gai »

Hi Raghavendra Pounganti!

The VM have been released...

The web site is:
- http://www.erika-enterprise.com/#VM
- a video that shows how the system works is also available at http://youtu.be/euSF3V681CM

Ciao!

PJ
ffddybz

Re: ERIKA Enterprise for STM32F4

Post by ffddybz »

I try to read the Makefile for keil MDK porting example and GNU porting example of STM32F4, I found that there only existed one commands to build the project as below:
all: $(RTDRUID_OUTPUT)
$(MAKE) -C $(OUTPUT_DIR) all
It seems that we should only prepare the make toolchain for building?Any documents talking about the setting and usage of arm-gcc or keil MDK??
Locked