Other Parts Discussed in Thread: 66AK2H12
I have created helloworld example project(NIMU_emacExample_EVMK2HC66BiosExampleProject) and the 'ping' was success only at ETH0.
I would like to use ETH1 and EHT0 at the same time.
For example, if I connect the RJ45 connector with ETH0 and ETH1, the hub will set IP(assume that the DHCP is enabled) per each port.
I found some modification points at nimu_eth.c But, I am not sure it will work well.
[nimu_eth.c]
NIMU_DEVICE_TABLE_ENTRY NIMUDeviceTable[] =
{
/**
* @brief EmacInit for the platform
*/
EmacInit,
EmacInit, <----I add
NULL
};
......
for (macPortNum = 0; macPortNum < 2/*modify to 2 instead of 1*/; macPortNum++)
{
aa
Init_SGMII (macPortNum);
}
I am using
- EVMK2H(66AK2H12) with using TI RTOS
- ccs version : Version: 6.2.0.00050
- NDK : ndk_2_24_03_35
- PDK : pdk_k2hk_4_0_2
the console log is below
[at ETH0]
TCP/IP Stack 'Hello World!' Application
StackTest: using dhcp
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
Network Added: If-1:192.168.0.25
Service Status: DHCPC : Enabled : Running : 017
[at ETH1]
TCP/IP Stack 'Hello World!' Application
StackTest: using dhcp
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
StackTest: using dhcp
Service Status: DHCPC : Enabled : : 000
Service Status: DHCPC : Enabled : Running : 000
(more than 1 min later)
Service Status: DHCPC : Enabled : Fault : 002
Q1. At EVMK2H, what should I do for using ETH0 and ETH1 at the same time.
Q2. There are lots of nimu_eth.c files(under V0~V5). Which file is used at my environment?(Or how can I find it?)
Please helping me :)