NDK
Support Package for EVMC6424
Changes
Introduced in Version 1.92 (from Version 1.91)
Supported Platforms / Devices
- The following platforms are supported:
Example Programs
·
The
example programs read the SW3 configuration to identify the PHY mode as being
MII or RMII. If RMII is detected, the Speed configuration parameter is chosen
through a compile time MACRO as 10/100 MBps. The configuration information about the
PHY mode, speed setting (if RMII mode) is conveyed to the Ethernet driver
through a configuration callback.
Functional Changes
- The NDK Support Package for EVMC6424 is
delivered separately from NDK itself.
- The NDK Support package for EVMC6424
includes support for both MII/RMII interfaces to the PHY. The driver is
configured for MII/RMII mode based on configuration input provided as part
of application configuration callback. If RMII mode is chosen, MDIO
functionality will not available on 64LC platform and hence the Driver has
no means of detecting link status / link speed by querying the PHY.
Bug Fixes
- Modified checking through PHYs present from ALIVE register instead of Link
Register
Known issues
- On the DM6437 EVMs, the PHY address(should be 0x1) is not latched correctly on
power up. As a workaround on these boards, the build batch file overrides
the default PHY_MASK value with mask value corresponding to PHY address
zero (which is the default with this release).
- On C6424 EVMs with fix for correct
PHY address the PHY _MASK value in
makehal_evmc6424.bat is set to correct value 0x2 to reflect PHY
address of 1.
- On C6424 EVMs RMII mode / GMII mode is
determined by the setting of SW3. For RMII mode, the SW3 position 1 must
be off and for MII mode the SW3 position 1 must be on(at POR)
- The BSL Library(evmc6424_v1) needs a minor
modification as it tries to program the DDR settings while running out of
DDR. Please comment out the following line in file and rebuild the BSL
library
File : evmc6424_v1\lib\evm6424bsl\evm6424.c
Function: EVM6424_init() - comment out
"EVM6424_startupGEL()" statement
- For RMII Support in C6424 REV A EVM, the following resistors are
required to be populated (R230, R231 & R232) with 10 KOhms. These resistors are available on the back of
the EVM near the Ethernet Connector.
- For Socrates Visualization, please ensure that the log library
included is “log8.a64P”
Observations
- With certain PC network interface cards, only Half-duplex mode
will be negotiated if auto-negotiation is not chosen on the PC side. On such
cards if 100 Mbps full duplex is chosen, the interface instead of
reporting 100Mbps full duplex capability alone during auto-negotiation,
defaults to not using auto negotiation at all.
- Approximately 2 % packet loss is observed with ping packets when used
from a Windows Platform. However no drops are seen for flood ping &
ping from Linux machines.