Core To Core Variant - Rz/N1D (Application Core) - 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
6. On a Linux terminal start the command
sudo dfu-util -a "sf_cm3" -D FIRMWARE
Replace FIRMWARE with the file name of the software to install.
7. When the download process is complete, press Ctrl+C on U-Boot.
8. If the autoboot command was already configured, go to step 10.
9. Set the autoboot command in the U-Boot:
setenv bootcmd "sf probe && sf read 0x4000000 d0000 90000 && sf read 0x8ffe0000 b0000
20000 && sf read 0x80008000 1d0000 f00000 && rzn1_start_cm3 && sleep 4 && bootm
0x80008000 - 0x8ffe0000"
10. Save the command to the flash: saveenv
11. Reset the device
It is also possible to debug the RZ/N1D communication core. The steps accored to section 3.5.1.1, but
the boot command has to be set to
setenv bootcmd "mw 0x04000004 1 && rzn1_start_cm3 && sleep 20 && sf probe && sf read
0x80008000 1d0000 f00000 && sf read 0x8ffe0000 b0000 20000 && bootm 0x80008000 -
0x8ffe0000"
This delays the boot of Linux about 20 seconds. Meanwhile the CM3 core has to be startet.
3.5.4 Core To Core variant – RZ/N1D (Application Core)
The user application runs on the Linux system of the CA7. Its binary must be created by GCC and
downloaded to the RZ/N board manually.
Note: It is recommended to maintain a consistent boot order of the communication and the
application core. Therefore it is advised to always start the R-IN engine / Cortex-M3
(communication core) first and boot the Cortex-A7 (application core) after the
communication core has finished its initialization.
3.5.4.1 Building and downloading the user application
The following steps describe, how to build a binary and download it to the RZ/N1 board.
1. Navigate with the terminal of a Linux PC to the project of the application core at
goal/projects/goal_pnio_rpc_lib/01_simple_io/gcc.
2. Start the build process by executing the Makefile by typing
make
3. Select as target platform "rzn_a7_demo_board".
4. Power up the board and wait till Linux booted successfully.
5. Copy the created binary file build/rzn_a7_demo_board/goal_rzn_a7_demo_board.bin to the
RZ/N1 board by e.g. secure copy (scp).
6. Copy the application corresponding library
goal/projects/goal_pnio_rpc_lib/00_lib/gcc/build/rzn_a7_demo_board/libgoal_rzn_a7_demo_
board.so to the RZ/N1 board by e.g. secure copy (scp).
7. Start the binary file on the target by typing the commands
export LD_LIBRARY_PATH=.
R11QS0010ED0143 Rev.1.4.3
July 09, 2019
Preliminary document. Specifications in this
document are tentative and subject to change.
3. Project Setup
Page 14 of 26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/n1 seriesRz/n1dRz/n1sRz/n1l

Table of Contents