R20AN0311EJ0106 Rev.1.06 Interface conversion module for Ethernet Driver and Embedded system M3S-T4-Tiny Nov 30, 2016

Similar documents
R-IN, RZ/T1, TPS-1 Groups

1. Overview TPS-1 GUI Configuration Tool Procedure of configure TPS Error Code... 9

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

R-IN32M3-EC, EC-1, RZ/T1

1. Opening the sample code workspace Loading the selected sample code project Opening Sample Code and Source Files...

1. Installation Creating the Project Workspace Opening Sample Code and Source Files Source Code Functionality...

RL78 Family Flash Self-Programming Library Type01 Ver.2.21 for the CC-RL compiler

SEGGER J-Link Lite for Renesas Synergy TM

1. Overview of RX DSP Library System Requirements for the Sample Project... 2

QE for USB: A Dedicated Tool for USB

1. Installation Creating the Project Workspace Adding Sample Code into DS Adding GNU Toolchain Support for DS-5...

PK-S5D9 v1.0 Out-of-Box Demonstration Programming Guidelines

AP4 for RH850 V

RX Family APPLICATION NOTE. DNS client using the embedded TCP/IP M3S-T4-Tiny Module Firmware Integration Technology. Introduction.

Renesas Starter Kit Sample Code for Cubesuite + Toolchain

Tools used Renesas R32C/100 Standard Toolchain version (compiler, assembler, linker): E8a in-circuit debugger.

Target Board S5D5 (TB-S5D5)

Renesas Flash Programmer V

1. Uses of Breakpoints... 2

1. Overview Board Specifications S3 Series Board System... 3

Target Board S1JA (TB-S1JA)

Customizing a SSP Module

USER S MANUAL ISL55110_11EVAL1Z, ISL55110_11EVAL2Z. Before Getting Started. BNC Connections. Scope Probe Connections. Power Down Feature

1. Kit Contents Features Device Components Programming to the SK-S7G2 Starter Kit... 15

Renesas Flash Programmer V

USER S MANUAL. Features. Evaluation System Contents. JESD204B High Speed ADC. Evaluation Kit. AN1809 Rev 0.00 Dec 5, 2012

Simple Audio Playback Example for DK-S124

Getting Started with NetX Duo Web Server

USER S MANUAL ISL2800XEVAL1Z. Introduction. Reference Documents. Evaluation Board Schematic. Power Supplies. Optional Transient Protection

FIGURE 1. DIGITAL POT POWER TRENDS

APPLICATION NOTE. Basic SPI Bus Information. Bus Configuration and SPI Protocol of Multiple DCPs. SPI Protocol and Bus Configuration of Multiple DCPs

APPLICATION NOTE. R8C/LA8A Group. Abstract. Product. Timer RJ in Timer Mode. This document describes timer RJ in timer mode in the R8C/LA8A Group.

APPLICATION NOTE. Introduction. Copying the SPICE Netlist. Model Editor. From SPICE Netlist to Allegro Design Sub-Circuit. AN1613 Rev.0.

Getting Started Guide for LED Toggle Kit

Getting Started Guide for Heartbeat Kit

e² studio V7.0.1 Linux Host Public Beta for RZ

IAR Embedded Workbench for Renesas Synergy v8.21.1

Out-of-Box Demonstration for S1/S3/S5 Target Boards

Introduction to Renesas Synergy SSP v.1.2.0

Development Kit S124 (DK-S124)

Synergy Standalone Configurator (SSC) v Release Note. Renesas Synergy Platform Synergy Tools & Kits. Release Note

PB0 25 PB1 26 PB2 27 PB3 28 PB4 29 PB5 30 PB6 31 PB7 32 VCC PC0 9 PC1 10 PC2 11 PC3 12 PC4 13 PC5 14 PC6 15 PC7 16

APPLICATION NOTE. Introduction. Scope. Hardware Connections. Serial Port Operation. The X24C44 NOVRAM Teams up with 8051 Microcontrollers

USER S MANUAL. Key Board Features. Description. References. Specifications. Ordering Information ISL91110IIN-EVZ, ISL91110II2A-EVZ, ISL91110IIA-EVZ

Development Kit S128 (DK-S128)

USER S MANUAL ISL54206AEVAL1Z. Picture of Evaluation Board (Top View) Description. Board Architecture/Layout. Features.

RL78 Software Migration Guide

PG-FP6 Gang Programmer V1.00 User s Manual

This document describes how to set up and use the timer RA in timer mode on the R8C/25 Group device.

Renesas Synergy APPLICATION NOTE. Project Migration Guide: SSP v1.0.0 to SSP v Introduction. Goals and Objectives.

e² studio Pin Configurator Usage

Renesas Synergy Project Import Guide

1. Overview Hardware Hardware Configuration Clock Settings Pin Settings... 6

APPLICATION NOTE. 16-Bit Data Bus Operation. Summary of 16-Bit Data Bus Performance. 80C286/80386 Hardware Comparison. AN112 Rev 1.

USBX Mass Storage Class (Device)

APPLICATION NOTE. Sample Code for Performing SPI Communication with Analog Block

GATTBrowser for Android

1. Overview BACnet Demo Software Architecture Programming and Debugging Building Sample Project... 5

Block Media RAM Framework Module Guide

Debugging Your Application with IAR C-SPY

USER S MANUAL. Description. Key Features. References. Specifications. Ordering Information ISL9120IIA-EVZ. Evaluation Board User Guide

Migrating Existing e 2 studio Projects to IAR Embedded Workbench for Renesas Synergy

I/O Port HAL Module Guide

USER S MANUAL. Description. Evaluation Board. Board Architecture/Layout. Features

1. Overview RL78 High Speed Hardware CRC Function RL78 General Purpose ( Low Speed ) Hardware CRC Function... 3

Introduction Serial Programing... 2 Write Cycle... 2 Read Cycle... 2 Shared Timing Requirements Write Timing Diagram...

GUIX Studio v Release Note. Renesas Synergy Platform Synergy Software Express Logic GUIX Studio v

1. RTC HAL Module Features RTC APIs Overview RTC HAL Module Operational Overview... 3

I²C Slave HAL Module Guide

USER S MANUAL. ISL54059EVAL1Z Through ISL54064EVAL1Z. Description. Picture of Evaluation Board (Top View) Board Architecture/Layout.

78K0, 78K0R, RL78 and V850 Devices

USBX CDC ACM (Device) for Target Boards

APPLICATION NOTE. Hardware Implementation. Power-On-Reset (POR) Software Implementation. Low Voltage Reset (LVR) Watchdog Timer

S7G2 MCUs High-Speed USB 2.0 Board Design Guidelines

Old Company Name in Catalogs and Other Documents

R-IN32M3 Series APPLICATION NOTE. EtherNet/IP Transfer Procedure Startup Manual. Outline. Target Devices. Sample Program. R01AN4281EJ0100 Rev.1.

EX 6 XT 5 RESET 2 3 INT VCC FIGURE 1. TYPICAL HARDWARE CONNECTION FOR INTERFACING AN X24C44 TO A 6805 MICROCONTROLLER.

RX Family RXv2 CPU Products

Key Matrix HAL Module Guide

Old Company Name in Catalogs and Other Documents

1. DTC HAL Module Features DTC HAL Module APIs Overview DTC HAL Module Operational Overview... 3

RZ/T1 Group APPLICATION NOTE. EtherNet/IP Transfer Procedure Startup Manual. Outline. Target Devices. Sample Program

Synergy Software Package Pin Configurator Usage

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents

Contents. RL78 Family. Flash Self-Programming Library Type01 Package Ver.2.21B Release Note

COMMON INFORMATION. AC Power Faults. Introduction. Overview of Telecom and ESD Standards. Transients. Electrostatic Discharge (ESD) Lightning

PA3 PA4 PA5 PA6 PA7 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 VCC PD0 PD1 PD2 PD3 PD4 PD5 MODA MODB 27 AS 26 R/W 28

RX Family APPLICATION NOTE. LPT Module Using Firmware Integration Technology. Abstract. Target Devices. Related Documents. R01AN2571EJ0122 Rev.1.

JPEG Decode Framework Module Guide

Open Source FAT File System M3S-TFAT-Tiny: Introduction Guide

E1/E20 Emulator Additional Document for User s Manual (RX User System Design)

External IRQ HAL Module Guide

Old Company Name in Catalogs and Other Documents

Contents. RL78 Family. EEPROM Emulation Library Pack02 Package Ver.2.00 Release Note

Sample Program using USB Host Communication Device Class Driver(HCDC) to communicate via USB with CDC device Firmware Integration Technology

APPLICATION NOTE. TCP/IP for Embedded system M3S-T4-Tiny: Introduction Guide. 1. Structure of product Library specification...

RL78/G11 APPLICATION NOTE. Demonstration Application. Introduction. Target Device. R01AN3918EG0100 Rev July 12, 2017

DATA SHEET ZENER DIODES 1.0 W PLANAR TYPE 2-PIN SMALL POWER MINI MOLD. Parameter Symbol Ratings Unit Remarks

RL78 Family. User s Manual. Flash Self-Programming Library Type Bit Single-Chip Microcontrollers. Rev.1.04 Dec 2016.

Transcription:

Introduction APPLICATION NOTE R20AN0311EJ0106 Rev.1.06 This application note explains the software information about to convert the Embedded TCP/IP Library M3S-T4-Tiny (T4) user defined functions to the RX Family Ethernet Driver Interface (This module). T4 supports Ethernet communication. T4 is divided TCP/IP process and Ethernet control, and user can custom the parts of Ethernet control. This module provides the source code fitting T4 to RX Family Ethernet driver. For about T4, please refer to the following URL. https://www.renesas.com/mw/t4 This module and T4 are provided as FIT Module. Please refer to the URL to understand FIT outline. FIT:. https://www.renesas.com/en-us/solutions/rx-applications/fit.html Target Device RX Family R20AN0311EJ0106 Rev.1.06 Page 1 of 7

Contents 1. Overview... 3 2. API Information... 4 3. Relation about T4 modules... 6 4. Specification about module... 6 R20AN0311EJ0106 Rev.1.06 Page 2 of 7

1. Overview This module includes the following files. Table 1 file/folder structure file/folder name description r20an0311ej0106-rx-t4.pdf Application note reference_documents r01an1723eu0111_rx.pdf r01an1826ej0102_rx.pdf how to build into the e 2 studio how to build into the CS+ FITModules r_t4_driver_rx_v1.06.xml r_t4_driver_rx_v1.06.zip configuration (r_config) r_t4_driver_rx_config.h FIT Module (r_t4_driver_rx) document(doc) english (en) r20an0311ej0106-rx-t4.pdf japanese(ja) r20an0311jj0106-rx-t4.pdf configuration refer reference (ref) r_t4_driver_rx_config_reference.h source code(src) readme (readme.txt) FIT plug-in XML FIT plug-in ZIP configuration file(default) Application note (English) (this document) Application note (Japanese) configuration file(template) readme R20AN0311EJ0106 Rev.1.06 Page 3 of 7

2. API Information This API adheres to the Renesas API naming standards. 2.1 Hardware Requirements None 2.2 Software Requirements This FIT Module is dependent upon the following packages: - r_bsp - r_sys_time_rx - r_t4_rx - r_ether_rx 2.3 Supported Toolchains This driver is tested and works with the following toolchain: - Renesas RX Toolchain v.2.05.00 2.4 Header Files All API calls and their supporting interface definitions are located in r_t4_itcpip.h 2.5 Integer Types This project uses ANSI C99. R20AN0311EJ0106 Rev.1.06 Page 4 of 7

2.6 Configuration Overview The configuration options in this module are specified in r_t4_driver_rx_config.h. The option names and setting values are listed in the table below. Table 2 configuration options Configuration options in r_t4_driver_rx_config.h None --- 2.7 API Data Structure No structures in the APIs using. 2.8 Return Values None 2.9 Adding Driver to Your Project Please refer to the Adding Modules to Projects (r01an1723eu0111_rx.pdf, for e2 studio) or the Adding Modules to CS+ Projects (r01an1826ej0102_rx.pdf). R20AN0311EJ0106 Rev.1.06 Page 5 of 7

3. Relation about T4 modules This figure shows 2 cases of T4 software stack. case1: ITRON TCP/IP APIs Style (T4 native) Sample Program Echo server application T4 Library (R20AN0051) case2: Socket APIs style Sample Program Echo server application Socket API (R20AN0296) T4 Library (R20AN0051) Software Interface conversion module for Ether Driver and Embedded system T4 (R20AN0311) Software Interface conversion module for Ether Driver and Embedded system T4 (R20AN0311) Ether Driver (R01AN2009) System Timer (R20AN0431) Ether Driver (R01AN2009) System Timer (R20AN0431) CMT Driver (R01AN1856) CMT Driver (R01AN1856) BSP (R01AN1685) BSP (R01AN1685) EtherC/EDMAC CMT EtherC/EDMAC CMT Figure 1 Relation about T4 modules 4. Specification about module Please refer to the T4 user s manual (r20uw0031ejxxxx_t4tiny.pdf) and Ethernet Driver Interface Specification (r20uw0032ejxxxx_t4tiny.pdf). These documents are included to T4 FIT Module (R20AN0051). In case, not be allocated from Systemtimer module, this module will stop. R20AN0311EJ0106 Rev.1.06 Page 6 of 7

Website and Support Renesas Electronics Website http://www.renesas.com/ Inquiries http://www.renesas.com/contact/ All trademarks and registered trademarks are the property of their respective owners. R20AN0311EJ0106 Rev.1.06 Page 7 of 7

Revision History Rev. Date Description Page Summary 1.06 Added lan_check_link(). Added register_callback_linklayer(). Dependence upon r_sys_time_rx module. Fixed Figure1. 1.05 Oct 01, 2016 Added Support MCUs(RX63N,RX65N).. Added the LinkProcess function execution (R_ETHER_LinkProcess()) during processing of the timer interrupt. 1.04 Apr 15, 2016 Fixed: count timing for 10ms tick software counter variable "tcpudp_time_cnt". 1.03 Dec 01, 2015 Added: get_random_number() Changed: - When transmit data size is lesser than 60 byte, lack size amount will be padded using zero-padding in lan_write(). 1.02 Jan 05, 2015 Changed document Title. Added Support MCUs. Changed FITModule name. 1.01 Jul 01, 2014 Enabled multiplex interrupt in the following function, timer_interrupt() and lan_inthdr(). 1 Fixed Introduction. 3 Fixed Section 2.2, 2.3 5 Fixed Figure 1, and section 4 1.00 May 01, 2014 First edition issued

General Precautions in the Handling of Microprocessing Unit and Microcontroller Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products. 1. Handling of Unused Pins Handle unused pins in accordance with the directions given under Handling of Unused Pins in the manual. The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. Unused pins should be handled as described under Handling of Unused Pins in the manual. 2. Processing at Power-on The state of the product is undefined at the moment when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. In a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. Prohibition of Access to Reserved Addresses Access to reserved addresses is prohibited. The reserved addresses are provided for the possible future expansion of functions. Do not access these addresses; the correct operation of LSI is not guaranteed if they are accessed. 4. Clock Signals After applying a reset, only release the reset line after the operating clock signal has become stable. When switching the clock signal during program execution, wait until the target clock signal has stabilized. When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. Differences between Products Before changing from one product to another, i.e. to a product with a different part number, confirm that the change will not lead to problems. The characteristics of Microprocessing unit or Microcontroller unit products in the same group but having a different part number may differ in terms of the internal memory capacity, layout pattern, and other factors, which can affect the ranges of electrical characteristics, such as characteristic values, operating margins, immunity to noise, and amount of radiated noise. When changing to a product with a different part number, implement a system-evaluation test for the given product.

Notice 1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others. 4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappropriation of Renesas Electronics product. 5. Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High Quality". The recommended applications for each Renesas Electronics product depends on the product's quality grade, as indicated below. "Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots etc. "High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; and safety equipment etc. Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable 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. 6. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges. 7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or systems manufactured by you. 8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You should not use Renesas Electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. When exporting the Renesas Electronics products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of Renesas Electronics products. 11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics. 12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries. (Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its majority-owned subsidiaries. (Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics. SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 9251 Yonge Street, Suite 8309 Richmond Hill, Ontario Canada L4C 9T3 Tel: +1-905-237-2004 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-585-100, Fax: +44-1628-585-900 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-6503-0, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. Room 1709, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100191, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 301, Tower A, Central Towers, 555 Langao Road, Putuo District, Shanghai, P. R. China 200333 Tel: +86-21-2226-0888, Fax: +86-21-2226-0999 Renesas Electronics Hong Kong Limited Unit 1601-1611, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2265-6688, Fax: +852 2886-9022 Renesas Electronics Taiwan Co., Ltd. 13F, No. 363, Fu Shing North Road, Taipei 10543, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 80 Bendemeer Road, Unit #06-02 Hyflux Innovation Centre, Singapore 339949 Tel: +65-6213-0200, Fax: +65-6213-0300 Renesas Electronics Malaysia Sdn.Bhd. Unit 1207, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics India Pvt. Ltd. No.777C, 100 Feet Road, HALII Stage, Indiranagar, Bangalore, India Tel: +91-80-67208700, Fax: +91-80-67208777 Renesas Electronics Korea Co., Ltd. 12F., 234 Teheran-ro, Gangnam-Gu, Seoul, 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141 http://www.renesas.com 2016 Renesas Electronics Corporation. All rights reserved. Colophon 5.0