You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ide/Renesas/e2studio/RX72N/README.md
+39-14Lines changed: 39 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
(DRAFT)wolfSSH simple application project for RX72N EnvisionKit board
1
+
wolfSSH simple sftp client application project for RX72N EnvisionKit board
2
2
======
3
3
## 1. Overview
4
4
-----
@@ -7,7 +7,7 @@ We provide a simple sftp client program for evaluating wolfSSH targeting the RX7
7
7
8
8
The sample provided is a single application that can evaluate the following functions:
9
9
10
-
-SFTPClient: A program that performs SFTP communication with the opposite SSH/SFTP server
10
+
-SFTP Client: A program that performs SFTP communication with the opposite SSH/SFTP server
11
11
12
12
Since the H/W settings and S/W settings for operating the evaluation board have already been prepared, the minimum settings are required to operate the sample application.
13
13
@@ -25,7 +25,6 @@ This sample program uses the following hardware and software libraries. If a new
25
25
|Emulator| E2 Emulator Lite |
26
26
|Toolchain|CCRX v3.06.00|
27
27
28
-
29
28
The project of this sample program has a configuration file that uses the following FIT components.
30
29
However, the FIT components themselves are not included in the distribution of this sample application. You need to download it by operating in the IDE. Some FIT components (TSIPs) cannot be downloaded directly from within the IDE and may need to be downloaded separately from the Renesas download site.
31
30
@@ -44,15 +43,13 @@ However, the FIT components themselves are not included in the distribution of t
44
43
|TCP/IP protocol stack[M3S-T4-Tiny] for Renesas MCUs|2.10|r_t4_rx|
45
44
|TSIP(Trusted Secure IP) driver|1.22|r_tsip_rx|
46
45
47
-
## 3. Importing simple sftp client application project into e2Studio
46
+
## 3. Importing a simple sftp client application project into e2Studio
48
47
----
49
48
50
49
There is no need to create a new sample program. Since the project file is already prepared, please import the project from the IDE by following the steps below.
51
50
52
-
+ e2studio "File" menu> "Open project from file system ..."> "Directory (R) ..." Click the import source button and select the folder from which the project will be imported. Select the folder (Renesas/e2studio/{MCU}/{board-name-folder}/Simple) where this README file exists.
53
-
+ Three projects that can be imported are listed, but check only the three projects "test" and "wolfssl" and click the "Finish" button.
54
-
55
-
You should see the **app_sftpclient**, **wolfcrypt_test**, **wolfssl** and **wolfssh_RX72N** 4 projects you imported into the project explorer.
51
+
+ e2studio "File" menu> "Open project from file system ..."> "Directory (R) ..." Click the import source button and select the folder from which the project will be imported. Select the folder (Renesas/e2studio/{MCU}/{board-name-folder}/) where this README file exists.
52
+
+ Three projects that can be imported are listed, but check only the four projects "app_sftpclient", "wolfcrypt_test", "wolfssl_RX72N" and "wolfssh_RX72N" and click the "Finish" button.
56
53
57
54
## 4. FIT module download and smart configurator file generation
58
55
----
@@ -71,23 +68,23 @@ You will need to get the required FIT modules yourself. Follow the steps below t
71
68
72
69
6. Press the "Generate Code" button at the top right of the software component settings pane to have the smart configurator generate the source files. A src/smc_gen folder will be created under the smc project to store source files, libraries, etc.
73
70
74
-
## 5. Select the behavior of the sftp client application
71
+
## 5. SFTP Server and Port Settings for SFTP Client Test Application
75
72
----
76
73
77
74
The test project is a very simple sftp client application, which connects to echo server and gets `working directory` listing.
78
-
75
+
Before building the test application, set the SFTP server IP address and port number in the project properties.
79
76
80
77
- SFTP_SERVER_IP : IP address of the SFTP server
81
78
- SFTP_SERVER_PORT : Port number of the SFTP server (default: 22222)
82
79
83
80
Then build the test application.
84
81
85
-
## 6. Build and run the test application
82
+
## 6. Build and run the the application
86
83
-----
87
84
88
85
Now that the test application is ready to build.
89
86
90
-
1. Build the wolfssl project on the project explorer, then the test project.
87
+
1. Build the wolfssl and wolfssh projects on the project explorer, then the test project.
91
88
92
89
2. After a successful build, connect the target board to the emulator and supply external power.
93
90
@@ -98,9 +95,37 @@ Now that the test application is ready to build.
98
95
5. Press the run button to run the test application.
99
96
100
97
101
-
102
98
## 8. Running sftp client application to echo server
103
-
99
+
You can see the following log output on the Renesas Debug Virtual Console when the sftp client application runs successfully and connects to the echo server.
100
+
101
+
`Server output example`
102
+
```
103
+
./examples/echoserver/echoserver
104
+
Keying Complete:
105
+
WOLFSSH_TEXT_KEX_ALGO : ECDH
106
+
WOLFSSH_TEXT_KEX_CURVE : nistp256
107
+
WOLFSSH_TEXT_KEX_HASH : SHA-256
108
+
WOLFSSH_TEXT_CRYPTO_IN_CIPHER : AES-256 GCM
109
+
WOLFSSH_TEXT_CRYPTO_IN_MAC : AES256 GCM (in ETM mode)
110
+
WOLFSSH_TEXT_CRYPTO_OUT_CIPHER : AES-256 GCM
111
+
WOLFSSH_TEXT_CRYPTO_OUT_MAC : AES256 GCM (in ETM mode)
0 commit comments