Tutorial: Installing scicoslab and generating code from a Scicos diagram

From ErikaWiki

Revision as of 07:53, 28 October 2010 by Erikadds (Talk | contribs)
Jump to: navigation, search

This is the Wiki page dedicated to the Scicos code generator originally developed by Roberto Bucher from SUPSI Lugano.

The code of the code generator is distributed under GPL2. The project is currently lead by Roberto Bucher, from SUPSI Lugano, and is hosted on the Evidence web site.

Scicoslab 4.4b7 code generator for FLEX - Installation procedure

Steps to set up the Scicoslab code generation for FLEX

  1. Download Erika Enterprise 1.5.1 (the executable contains: Erika Enterprise kernel, RT-Druid and Cygwin) from Erika installer site and install it. Then launch the program and update the software with the nightly build version (with Help->Software Updates...) from Erika update site It is recommended to update periodically the program. Update is needed only if you want to use last version of Scicoslab pack.
  2. Download Microsoft Visual C++ 2008 from Microsoft Visual C++ site and install it. It is required from the Evidence Scicoslab pack.
  3. Download Scicoslab from ScicosLab site and install it. Then download the Scicoslab_pack you want to use and follow the instructions contained in the readme file to set up the pack inside Scicoslab.
  4. Download Microchip MPLAB IDE from MPLAB IDE site and install it. It is required to program the dsPIC microcontroller mounted on the FLEX board. Then download a C30 compiler, for example from Microchip MPLAB C30 compiler site and install it. A compiler is required to compile your control application. To program the dsPIC microcontroller you need a programmer. You can buy a programmer for dsPIC from Microchip site. Programmers suggested are: Microchip MPLAB ICD2 or Microchip MPLAB ICD3. See Microchip for more informations:Microchip programmers site

5 Compile you first Scicos diagram, flash the microcontroller, test your application and ... enjoy!

For other informations you can visit the Wiki Erika Wiki If you have any problem please contact us using the Forum: Erika Forum

Personal tools