hello?
I found the following issue while testing CUTTHROUGH using the basic example of the latest TI SDK, enet_layer2_icssg.
The specific port goes down(no packet reception) under specific conditions during the testing of port connection/disconnection in CUTTHROUGH operation mode.
We are approaching product launch and need urgent resolution. Assistance would be greatly appreciated.
1. Environment:
SDK: mcu_plus_sdk_am243x_09_02_00_50
Test board: LP-AM243
Example source: \mcu_plus_sdk_am243x_09_02_00_50\examples\networking\enet_layer2_icssg\icssg_layer2_switch\am243x-lp\r5fss0-0_freertos
2. Pre Conditions:
2.1 CUTTHROUGH modification
mcu_plus_sdk_am243x_09_02_00_50\source\networking\enet\core\src\per\icssg.c
684, void IcssgMacPort_initCfg(IcssgMacPort_Cfg *macPortCfg)
- macPortCfg->queueForwardMode[i] = ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD;
+ macPortCfg->queueForwardMode[i] = ICSSG_QUEUE_FORWARD_MODE_CUTTHROUGH;
2.2 Add debug print
\mcu_plus_sdk_am243x_09_02_00_50\examples\networking\enet_layer2_icssg\enet_layer2_icssg.c
1616
static void EnetMp_rxTask(void *args)
1735
+ EnetAppUtils_print("rx received size: %d\r\n", rxPktInfo->sgList.list[0].segmentFilledLen);
3. Test Procedure
3.1 Procedure & result:
a. Connect PC1 and PC2, then run the example. Confirm packet reception on PC1 and PC2.
b. Disconnect PC1, and confirm packet reception on PC2.
c. Disconnect PC2 and connect PC1. No packet reception on PC1.
d. After changing ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD, repeat the test procedure to confirm normal operation.
3.2 Configuration:
LP board---- PC1
|____ PC2