The project implement the FreeRTOS-Plus-TCP stack of FreeRTOS:
The stack is integrated into the RA Flexible Software Package (FSP) which is the software of all Renesas RA microcontrollers:
The code has the following functionality:
- Initialize FreeRTOS IP stack
- Check that both Ethernet Link and IP Link are up
- Send an ICMP ping request to the requested IP address. In this case it is the IP address of "www.freertos.org" domain but any other IP address can be used
- Print useful information to the user on RTT Viewer terminal.
To run this project successfully on EK-RA6M3 you will need:
1) e2studio with a FSP version installed on your PC
2) USB cable connection between EK-RA6M3 and your PC
2) Ethernet cable to connect EK-RA6M3 with a router
3) J-Link RTT Viewer to view the log information from the EK-RA6M3
STEPS to run the project:
1) Import the attached project into e2studio workspace.
2) Build and debug (download) the project on e2studio
3) Open the J-Link RTT Viewer and establish a connection with the EK-RA6M3 board
4) Click on the Run button on e2studio
5) View the results on RTT Viewer
If everything is done correctly you should be able to see some network information of the device, the IP address where the ping request was sent to and the result of the sent and received packets (attached image 1).
The user can change the domain name to ping on usr_app.h file (attached image 2).
Comments