hello,
is it possible to use the flex-code generation for other micro-controllers then the dsPIC?
If yes, which files would have to be modified?
thanks already for any responses!
Other micro-controllers?
Moderator: paolo.gai
Re: Other micro-controllers?
Hi!
I guess you are referring to the Scicos-FLEX code generator and not to the E4Coder Generator (both can generate code for the dsPIC).
Yes, it is possible...
We inserted some time ago some instruction at the following link... just check it out!
http://erika.tuxfamily.org/wiki/index.p ... LEX_boards
PJ
I guess you are referring to the Scicos-FLEX code generator and not to the E4Coder Generator (both can generate code for the dsPIC).
Yes, it is possible...
We inserted some time ago some instruction at the following link... just check it out!
http://erika.tuxfamily.org/wiki/index.p ... LEX_boards
PJ
Re: Other micro-controllers?
Thanks for the fast reply! :D
I already knew the site you posted, so if I want to use the flex-codegeneration for another microcontroller do I still have to put the template into the examples/pic30/ directory?
another thing I wonder is, what does the <category> tag in the template.xml file mean?
We are building a board for automation purposes at school as the final year project and we want to make it possible to be programmed with scicos and erika-enterprise :)
As microcontroller we are using the lpc1768 cortex-m3 from nxp. So first we will also have to adapt rt-Druid to support the microcontroller.
I already knew the site you posted, so if I want to use the flex-codegeneration for another microcontroller do I still have to put the template into the examples/pic30/ directory?
another thing I wonder is, what does the <category> tag in the template.xml file mean?
We are building a board for automation purposes at school as the final year project and we want to make it possible to be programmed with scicos and erika-enterprise :)
As microcontroller we are using the lpc1768 cortex-m3 from nxp. So first we will also have to adapt rt-Druid to support the microcontroller.
Re: Other micro-controllers?
Hi!
Nice project!
The template must stay inside the "examples" directory. Make it somethink like "examples/cortexm3/XXXX" or similar, where XXX is the name of the template.
The "Category" is the path under which the template is available when you make "New Project", see Figure
http://erika.tuxfamily.org/wiki/index.p ... oject2.png
About the Cortex M3 porting... Many things have already been done for Cortex M0 and M4. Please also follow the Porting guide available on the wiki:
http://erika.tuxfamily.org/wiki/index.p ... controller
When you follow the steps, do the initial part of the work without RT-Druid. When you have a working system, then we'll add together the options for your board in the OIL file specification...
Have a nice weekend,
PJ
Nice project!
The template must stay inside the "examples" directory. Make it somethink like "examples/cortexm3/XXXX" or similar, where XXX is the name of the template.
The "Category" is the path under which the template is available when you make "New Project", see Figure
http://erika.tuxfamily.org/wiki/index.p ... oject2.png
About the Cortex M3 porting... Many things have already been done for Cortex M0 and M4. Please also follow the Porting guide available on the wiki:
http://erika.tuxfamily.org/wiki/index.p ... controller
When you follow the steps, do the initial part of the work without RT-Druid. When you have a working system, then we'll add together the options for your board in the OIL file specification...
Have a nice weekend,
PJ
Re: Other micro-controllers?
thank you very much for the help!
I will post again when we have made some progress ;)
I will post again when we have made some progress ;)
Re: Other micro-controllers?
hi,
we are having some problems with the porting. we first wanted to try the porting example from the s12xs and found some strange problems
we set the directory in cygwin to the monostack EEtest0 debug file and then tried the make all command but then we received this error:
another error occures when we start scicosLab, during the loading of the flex plug-in this message:
could this be the reason for an error when using the flex-code generator for dsPIC, we get his error-message:
and then it also doesn't find the conf.oil
we have no idea how to continue and it would be great if we could get some help! ;)
we are having some problems with the porting. we first wanted to try the porting example from the s12xs and found some strange problems
we set the directory in cygwin to the monostack EEtest0 debug file and then tried the make all command but then we received this error:
we then deleted the "-ms" option in the cygpath commands but the we got this error:cygpath: cannot create short name of /cygdrive/c/Evidence/eclipse_160_old/plugins/com.eu.evidence.ee_1. 6.0.20111115_1040/ee_files
we then changed the path in the makefile to match our location of the rules.mk file and still got the error:no such file or directory /cygdrive/c/Evidence/eclipse_160_old/plugins/com.eu.evidence.ee_1. 6.0.20111115_1040/ee_files/pkg/cfg/rules.mk
but the file exists and the path is correct :'(no such file or directory /cygdrive/c/Evidence/eclipse/plugins/com.eu.evidence.ee_2.0.0.20120721_1319/ee_files/pkg/cfg/rules.mk
another error occures when we start scicosLab, during the loading of the flex plug-in this message:
we are not sure if this is a serious problem?link failed for dll C:\PROGRA~1\SCICOS~1.1\contrib\scicos_ee\scicos_flex\dspic\Flex-Sim\Release\libflexsim.dll
ease\libflexsim.dll', comp_fun, 'c')
!--error 236
link: the shared archive was not loaded
at line 97 of exec file called by :
exec(EESCI_DSPIC_PATH + "/Flex-Sim/loader.sce");
at line 84 of exec file called by :
exec(startup,-1);mclose(startup)
at line 259 of exec file called by :
exec('SCI/scilab.star',-1);;
could this be the reason for an error when using the flex-code generator for dsPIC, we get his error-message:
Code: Select all
./compile.sh: line 36: gcc: commamd not found
we have no idea how to continue and it would be great if we could get some help! ;)
Re: Other micro-controllers?
There are a few issues in this post I'll try to give some answer to help...
- please note that the porting examples are there as a reference. Being committed while the developed was working on it, there may be references to non existing paths. Whenever you found them, we will be happy to fix them... We do not catch these sometimes because the regression tests made in Evdience currently does not cover all the architectures (we do not have the licenses for all compilers as some compilers were users by other contributors).
- About ScicosLab: please check that you installed Vistal Studio express edition 2008 (support for 2010 and maybe 2012 will come in the next version of the Scicos Pack)
- About the errors with Cygpath: The first errors were because of a non-existent file or directory (in particular eclipse_160_old)
- the last error says "no such file or directory". It means that the file in the path does not exist. I guess the problem is in the plugin names. For example, on my machine I have installed a quite recent version, and the plugins have the dates which are 2.0.0.20120703_2050 and 2.0.0.20121025_2010 . Please check that the numbers are correct... also it is probably worth an update of the plugins (the latest version published is 2.0.0.20130121_2013 ...).
- About the missing gcc. Please install Cygwin from http://erika.tuxfamily.org/drupal/download.html , in particular from http://download.tuxfamily.org/erika/web ... _1_7_9.zip . then go in the Cygwin page (http://www.cygwin.com), download setup.exe and do an update of the packages (just to be sure).
I hope it helps.
PJ
- please note that the porting examples are there as a reference. Being committed while the developed was working on it, there may be references to non existing paths. Whenever you found them, we will be happy to fix them... We do not catch these sometimes because the regression tests made in Evdience currently does not cover all the architectures (we do not have the licenses for all compilers as some compilers were users by other contributors).
- About ScicosLab: please check that you installed Vistal Studio express edition 2008 (support for 2010 and maybe 2012 will come in the next version of the Scicos Pack)
- About the errors with Cygpath: The first errors were because of a non-existent file or directory (in particular eclipse_160_old)
- the last error says "no such file or directory". It means that the file in the path does not exist. I guess the problem is in the plugin names. For example, on my machine I have installed a quite recent version, and the plugins have the dates which are 2.0.0.20120703_2050 and 2.0.0.20121025_2010 . Please check that the numbers are correct... also it is probably worth an update of the plugins (the latest version published is 2.0.0.20130121_2013 ...).
- About the missing gcc. Please install Cygwin from http://erika.tuxfamily.org/drupal/download.html , in particular from http://download.tuxfamily.org/erika/web ... _1_7_9.zip . then go in the Cygwin page (http://www.cygwin.com), download setup.exe and do an update of the packages (just to be sure).
I hope it helps.
PJ