Download Print this page
Renesas RZ/N1D Series Quick Start Manual
Renesas RZ/N1D Series Quick Start Manual

Renesas RZ/N1D Series Quick Start Manual

Hide thumbs Also See for RZ/N1D Series:

Advertisement

Quick Links

RZ/N1D Group
CONNECT IT! ETHERNET RZ/N1D-DB
Introduction
RZ/N1 is a family of scalable ARM® based industrial Ethernet switches. Due to the integrated performant
ARM® Cortex®-A7 CPU, they are ideal choice for building products such as Programmable Logic Controllers
(PLC), complex remote-IO slaves, industrial switches, gateways or operator terminals.
RZ/N1 Family consists of three devices, out of which the RZ/N1D, is an industrial ethernet communication
System on Chip with 5-ports, in a 400BGA package.
This guide shall assist you to quickly start with your evaluation of the RZ/N1D device on the related Solution
Kit board(s) and the Solution Kit software and documentation. It represents a short guide for the first time users
with the instructions for the first startup of the board.
In addition to this document, please be aware of the extensive documentation on RZ/N1 devices, evaluation
boards and software that you may find in the Solution Kit Documentation directory.
The Solution Kit boards can solely be used for evaluation purposes. It is not allowed to use the boards for
commercial purposes.
List of reference documents
Document name
User's Manual: System Introduction, Multiplexing, Electrical and Mechanical Information
User's Manual: System Control and Peripheral
User's Manual: Peripherals
User's Manual: R-IN Engine and Ethernet Peripherals
User's Manual: Generic Open Abstraction Layer
RZ/N1D Development Board Schematic
RZ/N1D Development Board Setup Notes
RZ/N1 U-Boot User Manual
RZ/N1 Linux User Manual
R01QS0022ED0060 Rev. 0.60
Jan.31.2020
Quick Start Guide
Page 1 of 29

Advertisement

loading
Need help?

Need help?

Do you have a question about the RZ/N1D Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas RZ/N1D Series

  • Page 1 Quick Start Guide RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Introduction RZ/N1 is a family of scalable ARM® based industrial Ethernet switches. Due to the integrated performant ARM® Cortex®-A7 CPU, they are ideal choice for building products such as Programmable Logic Controllers (PLC), complex remote-IO slaves, industrial switches, gateways or operator terminals.
  • Page 2: List Of Abbreviations And Acronyms

    RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB List of Abbreviations and Acronyms Abbreviation Full Form Application Programming Interface Board Support Package CANopen Bus Protocol Device Level Ring Protocol EtherCAT / ECAT EtherCAT Network Protocol EtherNet/IP / EIP EtherNet/IP Network Protocol Ethernet POWERLINK Network Protocol PNIO PROFINET IO Protocol PROFINET...
  • Page 3 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 1. Overview The following chapters will help you setup the hardware and software environment and run a sample application on your RZ/N1L evaluation board. • The Solution Kit is being actively updated and new versions of it are iteratively released •...
  • Page 4 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 2. Hardware Setup 2.1 CPU Demo Board Setup To get started quickly with the board, please identify the connectors on the RZ/N1D-DB CPU Board. Figure 2-1: Board connectors overview R01QS0022ED0060 Rev. 0.60 Page 4 of 29 Jan.31.2020...
  • Page 5 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 1. Switches and Jumpers Please take care that the following switches are set according to the tables below. Table 1: RZ/N1D GPIO Multiplexer DIP-Switch SW2 Number SW ON (low) SW OFF (high) Setting RMII/MII CAT/S3 PMOD MSEBI...
  • Page 6 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Table 4: Boot config dip switches The single dip switches are used to select the power on setup. Boot Mode Switch On Setting (white bar) (default) Off Setting Boot Mode NAND Boot Mode QSPI / USB Debug Mode Switch On Setting (white bar)
  • Page 7 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB GPIO Pull up Switch On Setting (white bar) (default) Off Setting LCD [145:127,73:62] pull up LCD [145:127,73:62] pull down GPIO Pull up Switch On Setting (white bar) (default) Off Setting LCD [111:105,59:36] pull up LCD [111:105,59:36] pull down Table 5: Ethernet RX Clock ETH4: RX_CLK...
  • Page 8 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB If you are using the expansion board together with RZ/N1D CPU Board, please remove the jumper CN6. 1. JTAG Debug Connector This connection is required for software development purposes, to be able to run and debug the software on the target.
  • Page 9 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB board via USB, you should be able to see a new device registered 4 new USB Serial COM ports. You may use any of the terminal emulator on your PC to open a serial port connection to the board. The board uses the 3rd port for UART output at 115200,8,n,1.
  • Page 10 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 2.2 Expansion Board Setup If you are using the expansion board together with your RZ/N1D CPU Board, here you may find some setup notes for it. The expansion board comes with an external power supply to drive the expansion board and the RZ/N1x CPU board plugged onto the connectors J1 and J2.
  • Page 11 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB If using the RZ/N1-EB expansion board, please ensure the following jumper and switch settings. Table 8: Expansion Board switch settings CN10 CAN Rx Connect pins 1 and 2 (CAN2) CN11 CAN Tx Connect pins 1 and 2 (CAN2) CN15 PHY2/PHY3 MDC Connect pins 2 and 3 (MDIO2)
  • Page 12: Software Setup

    CONNECT IT! ETHERNET RZ/N1D-DB 3. Software Setup RZ/N1D Solution Kit contains a software package on a DVD (also downloadable on Renesas’ official website) that enables the user to evaluate various functionalities of our industrial automation multi-core chip. The software for RZ/N1D comes as either IAR compilable code for Cortex A7 and Cortex M3, or as Linux and U-boot that run on Cortex A7.
  • Page 13 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB During the installation process, you can continue with the steps below. 2. Locate the RZ/N1D IAR software projects in the Solution Kit The software is stored in the folder YCONNECT-IT-RZN_V1.x\Software in the Solution Kit. This folder consists of software packages for all RZ/N1 platforms, not only for RZ/N1D.
  • Page 14 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB r11qs0012ed0131-rzn1-goal-quick-startguide-canopen.pdf r11qs0007ed0131-rzn1-goal-quick-startguide-eip.pdf r11qs0010ed0131-rzn1-goal-quick-startguide-profinet.pdf r01an4412ej0120-rzn1_Modbus.pdf r11qs0009ed0131-rzn1-goal-quick-startguide-powerlink.pdf Please note that there are multiple variants of IAR GOAL projects, one for each board configuration: …\rzn1d_demo_board\rzn1d_demo_board.eww – RZ/N1D CPU Board …\rzn1d_demo_board_eb\rzn1d_demo_board_eb.eww – RZ/N1D CPU Board + Expansion B. …\rzn1l_demo_board\rzn1l_demo_board.eww –...
  • Page 15 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Find the Windows version of dfu-util in the solution kit under YCONNECT-IT-RZN_V1.X \Tools\dfu- util. Alternatively download this dfu-util command line version https://sourceforge.net/projects/dfu-util/files and unpack the zip file. No installation is required, where this document tells you to run dfu-util, simply run the dfu-util-static.exe – the Windows executable from a Windows command prompt.
  • Page 16 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB e. On the board, hold down switch SW5 (to select DFU boot mode instead of QSPI) and press switch SW4 (soft reset). The RZ/N1 serial port should output: ** BOOTLOADER STAGE0 for RZN1 ** Boot source: USB Download U-Boot to SRAM.
  • Page 17 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB command in a terminal. This way the user does not need to open the command prompt and type the dfu commands on his own, since they are automatically generated and executed by the program on user’s host PC.
  • Page 18 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB dfu-util.exe -a "sf_uboot" -D "u-boot-rzn1d400-db.bin.spkg" in Windows sudo dfu-util -a "sf_uboot" -D u-boot-rzn1s324-db.bin.spkg in Linux Wait until it completes, the U-Boot console will prompt you to press Ctrl-C when done. Note: The "sf_uboot" DFU target corresponds to the second region of the QSPI Flash. If there is a valid SPKG written into the first region ("sf_spl"), the BootROM will load this instead of U-Boot.
  • Page 19 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 2. From U-Boot, run dfu: 3. Write the dtb to QSPI. On your host PC run: dfu-util.exe -a "sf_dtb" -D "uImage-rzn1d400-db.dtb" in Windows sudo dfu-util -a "sf_dtb" -D uImage-rzn1d400-db.dtb in Linux 4. Write the kernel to QSPI. On your host PC run: dfu-util.exe -a "sf_kernel"...
  • Page 20 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Reset the board, you will see the boot messages followed by a log on prompt. This can take quite a while. rzn1d400-db login: root. Log on with username Now you have Linux running, you can ping your PC’s NIC. ping 192.168.1.30 You have now successfully started U-Boot and Linux on the Cortex A7.
  • Page 21 CONNECT IT! ETHERNET RZ/N1D-DB 4. Select the workspace file YCONNECT-IT- RZN_V1.x\Software\GOAL\goal\projects\00410_goal\chase_lights\iar\renesas\rzn1d_demo_board\r zn1d_demo_board.eww if you are using the CPU Board standalone, otherwise if you are using it in combination with expansion board, open the rzn1d_demo_board_eb.eww workspace. As already mentioned, there are 5 variants of project settings for each board configuration: …\rzn1d_demo_board\rzn1d_demo_board.eww...
  • Page 22 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 8. Click on the “Download and Debug” button in the program control panel in IAR EWARM, as shown below. 9. In the Debug Log window there should be no errors nor warnings and the program should be stopped at the beginning of the main() now.
  • Page 23 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB [CC_I|goal_lmLogLegacy:1152] [I|goal_memInitDone:128] fixed memory usage: 16020/196608 bytes [CC_I|goal_lmLogLegacy:1152] [I|goal_memInitDone:129] fixed memory usage: (9%) 3.2.2 Run and debug Cortex A7 software from RAM with IAR Debugger The steps are almost the same as the ones described in chapter3.2.1. Reset the board by pressing SW4. Follow the steps 1-4 from the previous chapter with the difference that you should open a Cortex A7 workspace file in IAR EWARM (step 4): YCONNECT-IT-RZN_V1.X\Software\ThreadX\rzn1\iar\x-ware_platform.eww...
  • Page 24 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB 7. Click on the “Download and Debug” button in the program control panel in IAR EWARM, as shown below. 8. In the Debug Log window there should be no errors nor warnings and the program should be stopped at the beginning of the main() now.
  • Page 25 1. Open an rzn1d_demo_board project for Cortex M3 in IAR, for example: YCONNECT-IT- RZN_V1.x\Software\GOAL\goal\projects\00410_goal\chase_lights\iar\renesas\rzn1d_demo_board\rz n1d_demo_board.eww 2. Right-click on the rzn1d_demo_board and click on “Options”. Click on “Output Converter” in the left tab of the options window and check if the the box “Generate additional output” is ticked and select raw binary output format, if not already set per default for that project.
  • Page 26 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB MMC: sdhci@0x40100000: 0 SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 10000000 serial@0x40060000 Out: serial@0x40060000 Err: serial@0x40060000 Net: , dwmac.44002000 Hit any key to stop autoboot: =>...
  • Page 27 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Now your Cortex M3 image is stored in flash and you need to set the U-boot environment variables to boot it after reset. Please type the following commands in the U-boot console: => setenv bootcmd "sf probe && sf read 0x4000000 d0000 80000 && rzn1_start_cm3"...
  • Page 28 RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Reset the board – SW4. After the autoboot period of couple of seconds, you have both binaries running simultaneously. R01QS0022ED0060 Rev. 0.60 Page 28 of 29 Jan.31.2020...
  • Page 29: Revision History

    RZ/N1D Group CONNECT IT! ETHERNET RZ/N1D-DB Revision History Description Rev. Date Page Summary Draft – first revision 22.Feb.2018 23.Mar.2018 Added eth rx clk and push button settings table and dfu-util driver information 25.Jul.2018 Typo fixes, grammar check and adaptation to the GOAL for Solution Kit v1.3.1 11.Sep.2018 Inserted important notes regarding the flexible power supply...
  • Page 30 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.
  • Page 31: Corporate Headquarters

    Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.

This manual is also suitable for:

Rz/n1d-db