Part Number: K2GICE
Tool/software: Code Composer Studio
hi all~
I'm testing the gigabit port of K2GICE in CCS v7, pdk k2g 1.0.8, ndk 2.26.0.8. (these are the latest version, I think)
Using pdkProjectCreate.bat file, examples are created.
import EMAC_BasicExample_iceK2G_armBiosExampleProject, build and connected debug mode are success.
But, in serial messages
Board_init success
EMAC loopback test application initialization
macTest[0]: 0x88
macTest[1]: 0xc2
macTest[2]: 0x55
macTest[3]: 0x70
macTest[4]: 0x99
macTest[5]: 0xe1
main: emac_open sucess
sending packet: 0 <- error occured!!
So, when CCS enter debug mode and connect to CortexA,
Runs Scripts->EtherPhyRegReadFunc->ReadEth0PHYRegs
CortexA15: GEL Output: MDIO is enabled
CortexA15: GEL Output: MDIO pinmux is enabled
CortexA15: GEL Output: Gig Eth MDIO PHY settings are as follows
CortexA15: GEL Output: PHY REG 0x00000000 read fail
CortexA15: GEL Output: PHY REG 0x00000001 read fail
CortexA15: GEL Output: PHY REG 0x00000002 read fail
CortexA15: GEL Output: PHY REG 0x00000003 read fail
CortexA15: GEL Output: PHY REG 0x00000004 read fail
CortexA15: GEL Output: PHY REG 0x00000005 read fail
CortexA15: GEL Output: PHY REG 0x00000006 read fail
CortexA15: GEL Output: PHY REG 0x00000007 read fail
CortexA15: GEL Output: PHY REG 0x00000008 read fail
CortexA15: GEL Output: PHY REG 0x00000009 read fail
CortexA15: GEL Output: PHY REG 0x0000000A read fail
CortexA15: GEL Output: PHY REG 0x0000000B read fail
CortexA15: GEL Output: PHY REG 0x0000000C read fail
CortexA15: GEL Output: PHY REG 0x0000000D read fail
CortexA15: GEL Output: PHY REG 0x0000000E read fail
CortexA15: GEL Output: PHY REG 0x0000000F read fail
CortexA15: GEL Output: PHY REG 0x0000006E read fail
CortexA15: GEL Output: Gig Eth PHY0 Boot strap settings are as follows
CortexA15: GEL Output: PHY REG 0x0000006E read fail
runs ICSS0 PHY0 script,
CortexA15: GEL Output: PHY REG 0x0000006E read fail
CortexA15: GEL Output: PRU0 MDIO is enabled
CortexA15: GEL Output: PRU0 MDIO pinmux is enabled
CortexA15: GEL Output: PRU0 MDIO PHY0 settings are as follows
CortexA15: GEL Output: PHY REG 0x00000000 = 0x00003100
CortexA15: GEL Output: PHY REG 0x00000001 = 0x00007849
CortexA15: GEL Output: PHY REG 0x00000002 = 0x00002000
CortexA15: GEL Output: PHY REG 0x00000003 = 0x0000A240
CortexA15: GEL Output: PHY REG 0x00000004 = 0x000001E1
CortexA15: GEL Output: PHY REG 0x00000005 = 0x00000000
CortexA15: GEL Output: PHY REG 0x00000006 = 0x00000004
CortexA15: GEL Output: PHY REG 0x00000007 = 0x00002001
CortexA15: GEL Output: PHY REG 0x00000008 = 0x00000000
CortexA15: GEL Output: PHY REG 0x00000009 = 0x00000000
CortexA15: GEL Output: PHY REG 0x0000000A = 0x00000100
CortexA15: GEL Output: PHY REG 0x0000000B = 0x00001000
CortexA15: GEL Output: PHY REG 0x0000000C = 0x00000000
CortexA15: GEL Output: PHY REG 0x0000000D = 0x00000000
CortexA15: GEL Output: PHY REG 0x0000000E = 0x00000000
CortexA15: GEL Output: PHY REG 0x0000000F = 0x00000000
CortexA15: GEL Output: PRU0 MDIO PHY0 Boot strap settings are as follows
CortexA15: GEL Output: PHY REG 0x00000467 = 0x000003CF
CortexA15: GEL Output: PHY REG 0x00000468 = 0x00000000
Do I need an initialization process for the operation?
or Is it a hardware malfunctions?
Additionally,
After pressing Reset button, the gigabit RJ45 port does not see a green light, but the other ICSS ports(4 * RJ45) have a green light.
I am using a 12v adapter as an external power source. Could this be a problem?
Thanks for reading.