Other Parts Discussed in Thread: HALCOGEN
I am trying to get Lwip integrated with my baseline. In my main.cpp I have:
_enable_interrupt_();
sciEnableNotification(sciREG1, SCI_TX_INT);
sciInit();
uint8_t emacAddress[6U] = {0x00U, 0x08U, 0xEEU, 0x03U, 0xA6U, 0x6CU};
unsigned int ipAddr = lwIPInit(0, (uint8_t *) emacAddress, 0, 0, 0, IPADDR_USE_DHCP);
.
.
.
vTaskStartScheduler();
In my halcogen file:
In the Pin Muxing tab I have MII, R4 (EMIF_nCAS), T4 (MII_RXCLK), and U7 (MII_TX_CLK) enabled
In the Input Pin Muxing tab everything on the left is enabled
In the ECLK tab I have ECLK enabled (instead of GIO), under ECLK pin section DIR and PSL is enabled, under the ECLK Functional Configuration sections VCLK1 is 75 Oscillator is 16 Divided is 3 and ECPCLK is 25
When I run my program I get
DEBUG - Getting PHY ID.......SUCCESS
DEBUG - Gettting PHY Alive Status......SUCCESS
DEBUG - Getting PHY Link Status.........!!!ERROR!!!
What am I missing here?