Setup environment dependencies
This section describes how to install and setup build environments for your TouchGFX and Renesas Synergy solution. Currently supported environments are IAR Synergy and e2 studio. Please follow the link and use platform installer to download either IAR Synergy or e2 https://www.renesas.com/en-eu/products/synergy/software/ssp.html
Creating a TouchGFX project for PK-S5D9 or PK-S7G2
Open TouchGFX Designer 4.9.0 or newer and switch the Application Template to the desired AT by clicking change on the "Simulator".
Select the desired Application Template, then select the desired UI Template. Not all UI Templates are compatible with all Application Templates, so it may be necessary to start with the Blank UI template. Set the Application Name and Application Directory, then click Create to create the new project. Then design your GUI. For more information about how to use TouchGFX Designer to create your GUI and generate application code, please see these guides.
Compiling with IAR Synergy
Start by launching IAR EW for Synergy and open the workspace by selecting:
The IAR project is located in
Select application.eww and press Open.
Check that the Licenses is installed correctly. Check under Renesas Synergy-
If there is no license file selected, select your Evaluation or Development and Production License, located by default at C:\Renesas\Synergy\ssc_<version>_ssp_<version>\internal\arm\licenses
After you set the path and press “OK” open Tools->Configure Custom Argument Variables… and make sure the two Renesas Synergy variables are set correctly
Run the Synergy Configuration by pressing the icon and wait until the SSC is up and running.
TouchGFX Renesas BSP package does not provide SSP specific files. Press the “Generate Project Content” - Close the SSC, under the project tree you can see the generated files (under synergy and synergy_gen directories).
The application is now ready to be compiled with IAR Embbedded Workbench for Synergy.
Flashing and Debugging with IAR
Flashing the target is done by Selecting Project->Download->Download active application
(Shortcut: ALT+P -> W -> Enter)
Starting a debug session is done by using the shortcut CTRL+D
(Debug without flashing: ALT+P -> h).
You might be promted to specify an alternative file:
Ignore this message by checking the "If possible, do not show this dialog again"-box and press Skip.
Compiling with e2 studio
Start by launching e2 studio, import the newly created project by selecting File->Import
Select General->"Existing Project into Workspace"
Browse to the project directory and select the e2 under the target folder, this should show a project is ready for import, click finish.
Note: When importing the project into e2 studio, the option: Copy projects into workspace is unchecked.
The first time e2 studio is launched make sure that the SSP Licenses are installed correctly. Open: Help->Synergy License.
If there is no license file selected, use this path (The default one) to select the license
TouchGFX Renesas BSP package does not include SSP specific files. Highlight the project in the "Project Explorer" and click on “Open Synergy Configuration”. Generate the nessesary SSP files by pressing on “Generate Project Content”.
The location of the generated files is shown in the console window.
The application is now ready to be compiled with e2 studio.
Flashing and Debugging with e2 studio
To flash and debug the target click on , when prompted for switching to debug view click yes and press the resume button (F8).