Renesas Synergy DK-S7G2 Quick Start Manual

Renesas Synergy DK-S7G2 Quick Start Manual

Getting started with netx duo dhcp
Hide thumbs Also See for Synergy DK-S7G2:

Advertisement

Quick Links

Renesas Synergy™ Platform
Getting Started with NetX™ Duo DHCP
Introduction
This application note describes how to install, build, and run a simple DHCP client application along with Web Server
application on a Renesas Synergy development board, using the Renesas e
Package (SSP), and the Express Logic NetX Duo network stack.
Goals and Objectives
The goal of this application note is to help you install, build, and run the example application.
While running using your PC, you can view the DHCP IP address leased by the DHCP server through a Serial Terminal
program such as Putty or Tera Term. Using the IP address leased from the DHCP server, you can also view the Web
server running on the board.
The example application supports both IPv4 and IPv6. Using your PC, you can view the web server application running
on your board in a browser, and watch the application run by observing variables being updated when you refresh the
browser window.
The web server displays an IPv6 address at the bottom of the screen. You can ping the IPv6 address from a command
window on your PC.
Prerequisites
As the user of this application note, you are assumed to have some experience with the Renesas e
SSP, as well as IAR EW and SSC. Before you perform the procedure in this application note, you should follow the
procedure in your board's Quick Start Guide to build and run the 'Blinky' project. By doing so, you will become
2
familiar with e
studio and the SSP, and ensure that the debug connection to your board is functioning properly.
The user of this application note is assumed to have some experience with TCP/IP and basic knowledge of networking.
Required Resources
The example application targets Renesas Synergy S7G2 devices. To build and run the example application, you will
need:
A Renesas Synergy DK-S7G2 (v3.0), SK-S7G2, PK-S5D9, or PE-HMI1 board
A PC running Microsoft
 e
2
studio ISDE v5.3.1 or greater, or IAR EW for Synergy v7.71.1 or greater
 Synergy Software Package (SSP) 1.2.0 or Synergy Standalone configurator (SSC) 5.3.1.
You can download the required Renesas software from the Renesas Synergy Gallery
(https://synergygallery.renesas.com).
The PC must also have USB 2.0 and an Internet connection. In addition, a DHCP server must be available on your
network.
Time Required
You can install, build, and run the example application in under 30 minutes. The high-level steps involved are:
1.
Connect to the target board.
2.
Import, configure, and build the project.
3.
Determine the IP address chosen by the DHCP server.
4.
Run the example application.
5.
Verify the IP address leased by the DHCP server can be observed at a serial terminal.
R11AN0031EU0102 Rev.1.02
Mar 31, 2017
®
®
Windows
7 with the following Renesas software installed:
Application Note
R11AN0031EU0102
2
studio ISDE, Renesas Synergy Software
2
studio ISDE and
Rev.1.02
Mar 31, 2017
Page 1 of 14

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Synergy DK-S7G2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas Synergy DK-S7G2

  • Page 1 PC. Prerequisites As the user of this application note, you are assumed to have some experience with the Renesas e studio ISDE and SSP, as well as IAR EW and SSC. Before you perform the procedure in this application note, you should follow the procedure in your board’s Quick Start Guide to build and run the ‘Blinky’...
  • Page 2: Table Of Contents

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Contents Connecting to the Board ......................3 Importing the Project into e studio ..................4 Determining the IP Address leased by the DHCP Server ............5 Running the NetX Duo DHCP Application ................6 Next Steps ..........................
  • Page 3: Connecting To The Board

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Connecting to the Board To configure and connect your target board: 1. Follow the procedure in your target board’s Quick Start Guide to set up the J-link debugger connection from your PC to the JTAG connector on the target board, and power-up the board.
  • Page 4: Importing The Project Into E Studio

    Follow the procedure in the Synergy Project Import Guide (r11an0023eu0116_synergy_ssp.pdf) to import, build, and debug the project. When prompted to select the debug configuration, select NETX_Duo_DHCP_Webserver Debug (under Renesas GDB Hardware Debugging). If you properly configured, built, and ran the application, you should see the orange light illuminated on the board near the Ethernet connector on the PE-HMI1 and DK-S7G2, as shown in Figure 2.1.
  • Page 5: Determining The Ip Address Leased By The Dhcp Server

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Determining the IP Address leased by the DHCP Server The application contacts the local DHCP server in the network to obtain an IP address. Once this address is obtained, the application sends a text representation of the address over the USB connection to a terminal program (for example, Tera Term) on the PC.
  • Page 6: Running The Netx Duo Dhcp Application

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Running the NetX Duo DHCP Application In order to run the application on the Synergy board (PE-HMI1, SK-S7G2, DK-S7G2, or PK-S5D9), you need to insert the USB drive to the USB connector (USB Mass storage) as shown in Figure 4.1, Figure 4.2, and Figure 4.3).
  • Page 7 Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Figure 4.3 USB Drive, USB CDC Console, J-link and Ethernet Connection for SK-S7G2/PK-S5D9 Board If you properly configured, built, and ran the application, you should see the orange light constantly illuminated on the board near Ethernet connector.
  • Page 8 Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP 1. Open a command prompt on your PC and enter the command ping followed by the IP address that is displayed in your terminal window (for example, ping 143.103.5.102). You should see a view as shown in Figure 4.5. This verifies that the board got the IP address from the DHCP server.
  • Page 9: Next Steps

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Figure 4.8. Hosted Webpage using IPv6 Address Note: The example application only supports IPv6 link local addresses. If you need an IPv6 address outside of your local network, you must add the processing to set the address for the application.
  • Page 10: Appendix

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Appendix 32-bit and 64-bit versions of the driver file required to operate the USB connection in a standard CDC/ACM device, are described in this section. CDC_ACM_Template_Win7_64bit.inf ;************************************************************ ; Windows USB CDC ACM Setup File ;...
  • Page 11: R11An0031Eu0102 Rev.1.02

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\%DRIVERFILENAME%.sys ;------------------------------------------------------------------------------ Vista-64bit Sections ;------------------------------------------------------------------------------ [DriverInstall.NTamd64] include=mdmcpq.inf CopyFiles=DriverCopyFiles.NTamd64 AddReg=DriverInstall.NTamd64.AddReg [DriverCopyFiles.NTamd64] %DRIVERFILENAME%.sys,,,0x20 [DriverInstall.NTamd64.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,%DRIVERFILENAME%.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [DriverInstall.NTamd64.Services] AddService=usbser, 0x00000002, DriverService.NTamd64 [DriverService.NTamd64] DisplayName=%SERVICE% ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\%DRIVERFILENAME%.sys ;------------------------------------------------------------------------------ Vendor and Product ID Definitions ;------------------------------------------------------------------------------...
  • Page 12: R11An0031Eu0102 Rev.1.02

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP [DeviceList.NTamd64] %DESCRIPTION%=DriverInstall, USB\VID_0000&PID_0000 ;------------------------------------------------------------------------------ String Definitions ;------------------------------------------------------------------------------ ;Modify these strings to customize your device ;------------------------------------------------------------------------------ [Strings] MFGFILENAME="CDC_vista" DRIVERFILENAME ="usbser" MFGNAME="ExpressLogic" DESCRIPTION="Communications Port" SERVICE="USB RS-232 Emulation Driver" CDC_ACM_Template_Win7_32bit.inf ; CDC_ACM.inf ; INF file for ExpressLogic simple CDC/ACM class ;...
  • Page 13: R11An0031Eu0102 Rev.1.02

    Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP %MYDEV000%= MYDEV000,USB\VID_0000&PID_0000 [DestinationDirs] FakeModemCopyFileSection=12 DefaultDestDir = 12 [MYDEV000.NT] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=MYDEV000.NT.AddReg [MYDEV000.NT.Services] AddService = usbser, 0x00000002, Service_Inst [Service_Inst] DisplayName = %Serial.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ;...
  • Page 14 Renesas Synergy™ Platform Getting Started with NetX™ Duo DHCP Website and Support Support: https://synergygallery.renesas.com/support Technical Contact Details: • America: https://renesas.zendesk.com/anonymous_requests/new • Europe: https://www.renesas.com/en-eu/support/contact.html • Japan: https://www.renesas.com/ja-jp/support/contact.html All trademarks and registered trademarks are the property of their respective owners. R11AN0031EU0102 Rev.1.02...
  • Page 15 Revision History Description Rev. Date Page Summary 1.00 May 10, 2016 Initial version 1.01 Nov 18, 2016 Minor format changes 1.02 Mar 31, 2017 Updated for SSP 1.2.0...
  • Page 16 (space and undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for which the product is not intended by Renesas Electronics.

This manual is also suitable for:

Synergy pk-s5d9Synergy pe-hmi1Synergy sk-s7g2

Table of Contents