Download Print this page
Renesas DK-S7G2 Quick Start Manual
Hide thumbs Also See for DK-S7G2:

Advertisement

Quick Links

Console Swap Demonstration
Synergy
Description:
This demonstration illustrates on of the key advantages of the Synergy Platform in
accelerating time to market and similifying development. SSP Frameworks use common interfaces that
make it very easy to swap in and out different versions of hardware based implementations. In this
demonstration a simple user interface Console will be quickly modified to switch between a USB
communications implementation and a Telnent communications implementation.The swap is easily
accomplished without writing any code since the Console Framework uses common API and structures
between the USB Communications Framework and the Telnet Server Communications Framework.
Demonstration Objectives
1. Illustrate, using a hands-on example,
how easy it is to modify Synergy
Platform designs for different
hardware implementations
Design Journey Lab 1 – FL00IA/B
QUICK START GUIDE
Demonstration Materials
 PC or Laptop
 ISDE 4.2.0.012
 SSP v1.00
 J-Link Driver
 TeraTerm Pro
 DKS7G2 Kit
 5V AC/DC power adapter
 USB Cables Type-A to Micro-B (2)
 Ethernet Cable
Page 1 of 16

Advertisement

loading

Summary of Contents for Renesas DK-S7G2

  • Page 1 QUICK START GUIDE Console Swap Demonstration Synergy Description: This demonstration illustrates on of the key advantages of the Synergy Platform in accelerating time to market and similifying development. SSP Frameworks use common interfaces that make it very easy to swap in and out different versions of hardware based implementations. In this demonstration a simple user interface Console will be quickly modified to switch between a USB communications implementation and a Telnent communications implementation.The swap is easily accomplished without writing any code since the Console Framework uses common API and structures...
  • Page 2 Procedural Steps Step 1.1 Connect the DK-S7G2 (Figure 1) to power, the Seeger J-Link OB Debug port to the laptop and the USB Console port to the laptop (Figure 2). Driver recognition for the console connection isn’t found until the DK-S7G2 is running, so don’t worry if you don’t hear the audio indication yet.
  • Page 3 Once the Power and J-Link OB are connected to the DK- S7G2, LED3 should be a solid Green. If LED3 is flashing and the J- Link OB is connected to the correct USB port on the DK-S7G2, then  the Segger driver on the host computer is incorrectly installed. Refer to the ISDE installation guide to resolve the issue.
  • Page 4 QUICK START GUIDE 2 Import the Console Swap Demonstration Project Procedural Steps Open e2 studio, click ‘File’ and then ‘Import’ Step 2.1 Design Journey Lab 1 – FL00IA/B Page 4 of 16...
  • Page 5 QUICK START GUIDE Select ‘Existing Projects into Workspace’ and click ‘Next’ Step 2.2 Design Journey Lab 1 – FL00IA/B Page 5 of 16...
  • Page 6 QUICK START GUIDE Select the ‘Select archive file’ radial button and click browse. Locate the ConsoleSwapUSB Step 2.3 zip file. Make sure the check box is selected and click ‘Finish’. (If this project name already exists in your workspace, you won’t be able to select the check box. You will need to remove that project in order to import).
  • Page 7 Once your correct license file is selected, click ‘Apply’ and then ‘OK’. (An example location and file name is given below). C:\Renesas\e2_studio\internal\projectgen\arm\Licenses\SSP_License_Example_EvalLicense_20151120.xml Once the project is open, double-click the ‘configuration.xml’ file as shown below to open the Step 2.5...
  • Page 8 Run the debugger. (If you need to create a debug configuration file, you can create one by selecting Run > Debug Configurations, then double click Renesas GDB Hardware Debugging, select the executable file from the Debug folder, and on the Debugger tab, select target device R7FS7G2.
  • Page 9 QUICK START GUIDE Type in “TOGGLE” to toggle the LED on the DK-S7G2. Type it a few times to verify the toggle Step 2.9 works. Note that you can use an up arrow to ‘replay’ the previous command. This feature is supported automatically within the console framework.
  • Page 10 QUICK START GUIDE Design Journey Lab 1 – FL00IA/B Page 10 of 16...
  • Page 11 QUICK START GUIDE 3 Configure the Telnet Communications Interface Procedural Steps Go to the ‘Threads’ tab of the Synergy Configuration tool and select the Console Thread. Step 3.1 Step 3.2 Select the Thread Modules associated with the USB Communications stack as shown below. Click Remove.
  • Page 12 QUICK START GUIDE Step 3.3 Now add the Telnet Communciations Framework by selecting New/ Framework/ Connectivity/ Communications Framework on sf_el_nx_comms. By hovering over this selction you will see the additional modules that need to be added. Select the g_sf_comms module and in its parameters window change the Channel from 0 to 1.
  • Page 13 QUICK START GUIDE Step 3.8 You should be able to get the Telnet console window after hitting Enter in the terminal window as seen in the figure below. Type in the TOGGLE command a few times to see the LED blink. When finished exit the debugger.
  • Page 14 QUICK START GUIDE Design Journey Lab 1 – FL00IA/B Page 14 of 16...
  • Page 15 QUICK START GUIDE 4 Appendix This appendix provides detailed descriptions of how to set-up the console PC to use the Ethernet Port for a Telnet session over TeraTerm. This process is for Windows 8, but should be similar for other versions of Windows.
  • Page 16 QUICK START GUIDE Design Journey Lab 1 – FL00IA/B Page 16 of 16...