fmstr_example_net#
Overview#
Example application demonstrates the Network communication over UDP or TCP protocol. Existing examples use lwIP stack to implement the communication, but in general, it shall be possible to use any other TCP/IP stack to achieve the same functionality.
Supported Boards#
FRDM-RW612
Hardware requirements
USB-C cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
EVK-MIMXRT1020
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
EVK-MIMXRT1064
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
EVKB-IMXRT1050
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
FRDM-IMXRT1152
Hardware requirements
USB-C cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
FRDM-IMXRT1186
Hardware requirements
USB-C cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
This demo uses 100M Ethernet port.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
FRDM-MCXN947
Hardware requirements
Mini/micro USB cable
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
Connect JP13 2-3 pin. Populate R274 to sync reference clock.
Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
FRDM-MCXN947T
Hardware requirements
Mini/micro USB cable
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
Connect JP13 2-3 pin. Populate R274 to sync reference clock.
Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1060-EVKB
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1060-EVKC
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1170-EVKB
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
This demo uses 1G Ethernet port.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1024-EVK
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1040-EVK
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1160-EVK
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
This demo uses 100M Ethernet port.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster
MIMXRT1180-EVK
Hardware requirements
Mini/micro USB cable
Target microcontroller board
Personal Computer
FreeMASTER 3.1.2 with TCP/UDP communication plug-in installed
Board settings
No special settings are required. By default this demo communicates over an Ethernet network. Make sure to connect the Ethernet cable to the board and interconnect it with the PC using a network switch. The demo uses static IP address or an address obtained from DHCP. Refer to network.c (EXAMPLE_USE_DHCP) file for more details about default IP address.
This demo uses 100M Ethernet port.
Prepare the demo
Interconnect the board with a switch and the host computer.
Compile and download the program to the target microcontroller.
Run and resume application execution when debugger stops in the main() function.
Connect with FreeMASTER
Run FreeMASTER, use the Connection Wizard or open Project Options.
Select network communication and configure the plug-in for TCP or UDP protocol with the port that matches the settings in the freemaster_cfg.h.
Start communication, FreeMASTER loads the initial TSA Active Content links in the Welcome page.
Click the “FreeMASTER Demonstration Project (embedded in device)” in the Welcome page.
The demo is now running, you should be able to watch variable values and graphs.
More information
Read more information about FreeMASTER tool at http://www.nxp.com/freemaster. Feel free to ask questions and report issues at FreeMASTER’s community page at https://community.nxp.com/community/freemaster