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.

TMDSEVM6670 NDK example client_evmc6670 not work with MAC0

Hi,

I am testing the EVM6670 in VT864(vatatech chassis).

Project "client" from MCSDK_2_01_02_06/examples/ndk/client is working OK with RJ45 port(MAC 1 of 6670).

I wanna use MAC0(backplane of uTCA) for networking.

I have changed evm6670.gel  to work MAC-to-MAC force link.


SGMII_SERDES_MR_ADV_PORT0 &= 0xFFFF0000;
SGMII_SERDES_MR_ADV_PORT0 |= 0x00009801;

SGMII_SERDES_CONTROL_PORT0 = 0x20;

Giga ethernet switch port for EVM is link up.

and Link bit in SGMII_STATUS(0x02090114) is set normally.(Link ok in sgmii register)

I modified the client.c as follows. ( DHCP client is running for IP acqusition).

        dhcpc.cisargs.IfIdx  = 0;

But the client project is not working.

log mesage is :

TCP/IP Stack Example Client
Configuring DHCP client
PASS successfully initialized
Ethernet subsystem successfully initialized
Ethernet eventId : 48 and vectId (Interrupt) : 7
Registration of the EMAC Successful, waiting for link up ..
00000.000 NIMUIOCTL Failed with error code: -22   

What is the problem ??

EmbeddedHolic.

example client