Problem with creating new project. Pack Missing errors. SSP 1.1.3

I am walking through "add cloud driven gpio to smart chef tutorial"  (http://renesas-blog.mediumone.com/add-cloud-driven-gpio-to-smart-chef/).   I downloaded smart chef source code (D6000809 2/14/17).   I installed e2 studio 5.2.0.020.    I used the smartchef to create new project called GPIO.

After tutorial step 1 (project import and creation), I received 2 errors and 36 warnings.

Description Resource Path Location Type
Program "arm-none-eabi-g++" not found in PATH GPIO Project Properties, C++ Preprocessor Include.../Providers, [CDT GCC Built-in Compiler Settings Cross ARM] options C/C++ Scanner Discovery Problem
Program "arm-none-eabi-gcc" not found in PATH GPIO Project Properties, C++ Preprocessor Include.../Providers, [CDT GCC Built-in Compiler Settings Cross ARM] options C/C++ Scanner Discovery Problem
Invalid project path: Include path not found (GPIO\src\synergy_gen). GPIO pathentry Path Entry Problem
Invalid project path: Include path not found (GPIO\synergy_cfg\ssp_cfg\bsp). GPIO pathentry Path Entry Problem
Invalid project path: Include path not found (GPIO\synergy_cfg\ssp_cfg\driver). GPIO pathentry Path Entry Problem

After tutorial stetp 2 (opening CONFIGURATION.XML), I received 2 window boxes.

1. Warnning:Pack missing for project's current selected SSP version of 1.1.3.  Project: GPIO   If you remain with this SSP version you will not be able to add further SSP components or re-extract SSP source files.

2. Editor could not be initialized. Check installation of pin mapping files.

On the components tab, all the components have a warning yellow symbol (PACK missing either user.s3_iot_led.dev.1.1.3.pack or Renesas.synergy.1.1.0/1.1.1 packs)

I created the project three times.  I got the same result.   Thank you for any help.  

Michael

PS: I am new developer.   Maybe I did not install e2 correctly.   Please advice.  Thanks.GPIO_Tutorial_summary.pptx 

 

 

 

  • Michael, the issue is with the conflict between configuration of the project and the development environment.  This happened after the release of SSP (Synergy Software Package) 1.2.  It might be a little confusing, but let me try to walk you through the process.

    e2studio is Reneas' IDE developed on top of eclipse framework.  Although e2studio uses a lot of built-in features of CDT (C++ Development Tools), an existing feature-set of eclipse, it also has it's own set of features/plug-ins, and SSP is one of them.  On top of it, like any other C++ IDE, it requires you to have some compiler to compile your code and generate binaries for your target platform.  So in a nutshell, you need three (3) tools to setup before you are able to compile the source.  (i) e2studio IDE, (ii) Compiler (GNU C Compiler for ARM), and (iii) SSP.  Now as your versions are not compatible with the source code and the installation that you have, it's recommended that you remove your current installation of e2studio and perform a fresh one from scratch.  As cumbersome it might look, it really is not that complex.  The process goes like:

    1. Get the e2studio installation.  I believe that you already have done that.  If not you can download it from https://synergygallery.renesas.com/isde/package#read.  The current version of e2studio, which is 5.3.1.002, should be backward compatible for Smart Chef Source.
    2. You'll need SSP 1.1.3 for Smart Chef Tutorial.  The current version of SSP is 1.2, and is NOT backward compatible.  For that you need to register for Synergy Gallery and download version 1.1.3.  You'll be able to find the archive releases at the URL https://synergygallery.renesas.com/ssp/archive#read
    3. Once you have both installers, you can start with e2studio setup first.  During the installation, make sure that you select 'Renesas Synergy' (Support for Synergy Devices, Integrated Solution Development Environment for Renesas), on the "Devices Family" step.  It'll be even more simple, if you do not change default paths for installation.
    4. you can make your choices for "Extra Components" and after that, the very next step of installation will be 'Components".  Make sure that you have selected "Renesas Synergy" in the Optional Components list.
    5. The next step of installation should be "Additional Software".  Make sure you select "GCC ARM Embedded 4.9.2015q3" as your compiler under "GCC ARM Embedded" list.  This will download and install the Compiler part of the installation.  For the rest of the installation, you can make your own choices, and it should be all fine.
    6. Once e2studio and GCC compiler setup is complete.  Run the SSP 1.1.3 setup.  It'll ask you about the e2studio installation path and will install the SSP featureset on the freshly installed e2studio.
    7. You're all set to go with your source code to follow the tutorial.

    Let me know how did it go for you after these steps.

  • In reply to Faheem:

    I see. I read about some posts concerning SSP 1.2. I am excited to walk through these steps and learn something. Look forward to compile my first code. I will try it today! I will let you know how it goes.

    Thank you for writing the detailed steps and taking time to explain briefly about e2studio. e2studio seems a very nice tool to use.

    Regards,
    Michael
  • In reply to Faheem:

    Renesas IOT e2 5.3 errors.pptx

    Hi Faheem,

    I have successfully installed everything. After configuration, I got one error regarding missing SSP 1.1.3 for s3_iot_lcd_dev component only. When I build the original smartchef project, I get errors regarding license problems. I also see some other errors and warnings. Attached is the screen shot of the project. The build process fails. I get same errors for GPIO project which is based on smartchef project with modifications.

    Can you help me to solve these problems? Thank you.

    Regards,
    Michael

  • In reply to Mike:

    Mike, thanks for sharing the screen-shots. I was able to understand the missing piece there.

    In your smart-chef project archive file (an-r11an0077eu0100-synergy-smart-chef-demo.zip), you should be able to see a file "user.s3_iot_lcd_dev.1.1.3.pack". You need to copy this file on the path "<e2studio-dir>\internal\projectgen\arm\Packs".

    It will be better if you delete your current smartchef2 project (and it's subdirectories) from e2studio by right-click -> Delete on the project name, and after placing the pack file, re-import the source from the archive file. Now if you'll open the project, it should be able to compile successfully without any issues. The reason to clean up and start from scratch again, is that you might have accidentally changed the configurations, and this cleanup will ensure that your basic setup is complete.

    I hope it'll solve the current issue.
  • In reply to Faheem:

    Thank you.    I found the PACK file.   I copied it.  I deleted the smartchef2 project and created it from scratch.  Now the component tab is clean.   The bsp tab still has a warning message about missing PACK.   There are problems building the project.   Please see the summary.  Thank you.

    Renesas IOT e2 5.3 errors with Pack file 2.pptx

  • In reply to Mike:

    The first page outlines the steps I took. Hope it will give you a better understanding of what I did. Hope that I am getting closer.

    Thank you for your warm support. Look forward to hearing your suggestions. Thank you.

    Michael
  • In reply to Mike:

    Mike, you followed the correct order of steps. I'm myself not sure what might have caused the issue, but I'll need your assistance to figure it out.

    I believe that there's issue with missing touch-panel component. Can you send me the screen-shot of 'Components' tab of your configuration.xml, such that if you scroll it all the way down, and expand everything under "Framework Services", "HAL Drivers", and "Projects".

    If you double-click on the title of the window (in your case it is labeled as '[smartchef2] Synergy Configuration', it will maximize it to full screen, and will greatly help for screen shot purpose.
  • In reply to Faheem:

    Mike, I just wanted to make sure that you click the "Generate Project Content" to generate the SSP drivers before you build the project. It looks like the project can't find some of the SSP components. Neelima
  • In reply to Faheem:

    Renesas IOT component tab summary.pptx

    Sure. I will be happy to help. I believe that you and your team will be able to figure it out.   Here are the screen shots.   I maximize the window as you suggest.

    Mcihael

  • In reply to Neelima:

    Hi Neelima,

    Thank you for your suggestions. Yes, I did this step. I clicked "Generated Project Content" and e2 studio extracted a long lists of files. I did this important steps. I still had the errors.

    Since this is easy to do, I went ahead did it two more times again now. Nothing changed. I got the same compilation errors. Since I have already generated project content, the console showed no files needed to be extracted.

    Appreciate your suggestions. Hope to find the clue.

    Best regards,
    Michael
  • In reply to Mike:

    Mike, I tried to simulate the situation with my machine, but don't get build errors. From your ppt, the project looks fine, but I still like to take a look of your project and see if there is anything missing? Neelima
  • In reply to Neelima:

    Hi Neelima,

    I feel excited and hopeful when you said that you are able to get it right on your machine. Thank you for spending your time to help me. There is a hope that it can work right on my machine if we know the root cause.

    I will be happy to provide what you would like to look at. I hope that I am getting ever closer. I look forward to use the compiler.

    Best regards,
    Michael
  • In reply to Faheem:

    Hi Faheem,

    Any update or suggestions? If not, I want to re-do the whole process. Since Neelima has success, perhaps I can get it right this time. If you have some new suggestions, feel free to let me know. Thank you.

    Michael
  • In reply to Mike:

    Hi Michael,

    I thought that you were supposed to share your project for Neelima to have a look at it. I'm sorry if it was confusing, but please share your project with us. It is really easy to share. Just right-click on your project and select 'Export Synergy Project'. Make sure that you select the ZIP format, and that you do NOT select the 'Debug' Folder on the left-side pane. Once you share that with us, Neelima will come back to you.

  • In reply to Faheem:

    Hi Faheem,

    No problem.   I am so happy to get your support.   I am making very good progress in understanding how everything works.   I have a lot of fun with this development kit.

    The debug folder was not selected when the zip file is generated.   The project zip file size is 10,427kB which exceeds the allowable maximum file size (1024kB) to upload.   So, I could not attach the zip file here for you and Neelima.

    The image shows what I have selected to include in the zip file.   Can you give me some advice?   Thank you again to you and Neelima.

    Best regards,
    Michael