Quick Start For The 01_Simple_Io Application; Application Behavior; Changing Mac Address; Changing Ip Address - Renesas RZ Series Quick Start Manual

Hide thumbs Also See for RZ Series:
Table of Contents

Advertisement

RZ/N1D/S/L Group
Application Note
PROFINET Quick Start Guide

3.4 Quick Start for the 01_simple_io application

3.4.1 Application behavior

The application behavior is controlled by the file appl\goal_pnio\01_simple_io\goal_appl.c. The first
part of the file controls the device configuration (modules and slots), the second part is the application
itself that mirrors the received output data to the input data. Input and output directions are always
described from the view of the PLC.

3.4.2 Changing MAC Address

The default value of the RZ/N1 board MAC address is 02:00:00:00:00:01.
The MAC address can be set by the application during the initialization of the device by (re)-defining the
weak function goal_tgtBoardEthMacGet(). This function is called by the Ethernet driver during its
initialization to directly fetch an individual and non-default User-MAC-Address.
Like shown in the following example, the User-MAC-Address must only be copied to the address of the
corresponding function parameter:

Figure 3-2: Code example for setting User device MAC-Address

3.4.3 Changing IP Address

The IP address is managed by the PLC. With a DCP configuration tool like "Tia Portal" or "Primary Setup
Tool" the IP address can be changed.

3.5 Running the 01_simple_io application

The RZ/N1D and RZ/N1S use the U-Boot bootloader for initial setup of the hardware and loading of the
CM3 firmware. Additionally, the RZ/N1D U-Boot bootloader is used for booting the Linux Kernel. The
RZ/N1L is working without any bootloader. This chapter describes how to install the management
software on the flash of the board. If no bootloader was yet installed on the RZ/N1D and RZ/N1S please
R11QS0010ED0143 Rev.1.4.3
July 09, 2019
Preliminary document. Specifications in this
document are tentative and subject to change.
3. Project Setup
Page 10 of 26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/n1 seriesRz/n1dRz/n1sRz/n1l

Table of Contents