netc_switch standalone#
Overview#
The NETC Switch demo application demonstrates that the NETC is working fine during all_reset_but_netc reset.
Supported Boards#
IMX943-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT1180-EVK board
Personal Computer
Board settings
Populate R469 and set reset pin as open-drain to complete the PHY hardware reset properly.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Note: To use 2.5G SGMII of switch port0 and port1 and on-board PHY instead of 100M MII, add below definition in app.h.
#define EXAMPLE_USE_PHY_GPY215 1U
Running the demo
When the demo runs successfully, the log would be seen on the OpenSDA terminal like:
NETC Switch example start.
Frame forwarding...