Other Parts Discussed in Thread: J721EXCPXEVM,
Tool/software:
How to run ETHFW without connecting GESI card to J721EXCPXEVM for TDA4VM/J721E? When using TI SDK ETHFW was failed to load.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
How to run ETHFW without connecting GESI card to J721EXCPXEVM for TDA4VM/J721E? When using TI SDK ETHFW was failed to load.
The default ETHFW enabled all 8 Mac ports of CPSW on TDA4VM, as GESI expansion and QUAD ENET expansion connectors are available to customers on ti.com.
J721E EVM : www.ti.com/.../J721EXCPXEVM
GESI Expansion: https://www.ti.com/tool/J7EXPCXEVM
QUAD ENET Expansion: https://www.ti.com/tool/J721EXENETXPANEVM
TDA4VM EVM default has 4 Mac ports mapped on GESI expansion, and 4 are on QUED ENET expansion. Please refer to the ETHFW User Guide for default port mapping to expansion cards.
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/ethfw/docs/user_guide/ethfw_c_ug_top.html#ethfw_depend_hw
GESI card has a mapping of Port-1, 3, 4, and 8 for it, out of those Port-1 & Port-4 are configured as MAC-only ports, and Port-3 & Port-8 are configured as switch ports.
So, when the GESI card was not connected to EVM, we need to remove/disable all the ports mapped to the GESI card i.e. Port-1, 3, 4, and 8, from wherever used in both ETHFW Server & client.
Below is the list of changes to remove/disable ports mapped to the GESI card.
1. Disable the ports mapped to GESI (Port-1,3,4,8) expansion from the "gEthAppPorts" array from the server main.c file.
2. Need to disable ENABLE_MAC_ONLY_PORTS Macro , by default Port-1, Port-4 are marked as MAC Only ports and mapped to clients MPU1_0 & MCU2_1 respectively. It needs to be removed from the Client side as well.
Comment above from concerto.mk files.
3. Also, Remove Ports on the GESI card (Port-3, Port-8) under "gEthAppSwitchPorts" as gPTP tried to initialize the PTP on switch ports if it exists, as it was available only from SDK 9.1 onwards.
4. Change the Port number under "gRemoteAppMacPorts" to one of the active MAC ports (default it was MAC Port-3) under the switch ports list for the RTOS client on MCU2_1. The port number mentioned under this will be used for link status. If that port is linked up then only the client will respond to the ping request.
For Linux client, please refer to the below FAQ and follow only the changes required on the Linux side for older SDK's 8.x