Other Parts Discussed in Thread: UNIFLASH
I have a TM4C129ENCZAD on a custom board that isn't responding to ping requests. I am running the enet_uip example code on the microcontroller and have only changed the duplex and speed to 10M half duplex.
UpdateStatus("Using Internal PHY.");
ui32PHYConfig = (EMAC_PHY_TYPE_INTERNAL | EMAC_PHY_INT_MDIX_EN |
EMAC_PHY_FORCE_10B_T_HALF_DUPLEX);
I am using a the default static ip address,
#define USE_STATIC_IP #ifndef DEFAULT_IPADDR0 #define DEFAULT_IPADDR0 169 #endif #ifndef DEFAULT_IPADDR1 #define DEFAULT_IPADDR1 254 #endif #ifndef DEFAULT_IPADDR2 #define DEFAULT_IPADDR2 19 #endif #ifndef DEFAULT_IPADDR3 #define DEFAULT_IPADDR3 63 #endif #ifndef DEFAULT_NETMASK0 #define DEFAULT_NETMASK0 255 #endif #ifndef DEFAULT_NETMASK1 #define DEFAULT_NETMASK1 255 #endif #ifndef DEFAULT_NETMASK2 #define DEFAULT_NETMASK2 0 #endif #ifndef DEFAULT_NETMASK3 #define DEFAULT_NETMASK3 0 #endif
I am able to program a MAC address into user flash using UniFlash, and a link does get established with the network switch. Ping responds with "Destination host unreachable".
C:\ti\uniflash_5.0.0\deskdb\content\TICloudAgent\win\ccs_base\common\uscif>ping 169.254.19.63 Pinging 169.254.19.63 with 32 bytes of data: Reply from 169.254.19.62: Destination host unreachable. Reply from 169.254.19.62: Destination host unreachable. Reply from 169.254.19.62: Destination host unreachable. Reply from 169.254.19.62: Destination host unreachable.
PacketRecieve is never called, and the Ethernet interrupt handler is never called during the ping request. The ethernet interrupt handler is defined in tm4c129enczad_startup_ccs.c.
Do you have any suggestions as to why this isn't working?
Thanks,
Allan