Question
Ethernet problem
Posted on April 20, 2013 at 12:46
Dear all
I have made a custom board based on stm32f407IGT6 and used the same schematics from keil MBCSTM32F400 board, I have written this simple program for testing PING,I'm using keil tools
int main(void){ SysTick_Config(SystemCoreClock/100); /* Generate interrupt each 10 ms */ init_TcpNet (); while(1) { main_TcpNet(); }}void SysTick_Handler (void){ timer_tick ();}Also I have made this change into Net_Config.c file
&sharpdefine TICK_INTERVAL 10
my PC does show that it has found some activity on the lan and the link leds will light up and for a bout 1 minute the yellow led will blink too, but the board does not respond with the ping,
here are the content of ST802RT1A registers,
PHY_REG_CNTRL=0x00001000;PHY_REG_STATS=0x0000786D;PHY_REG_PHYID1=0x00000203;PHY_REG_PHYID2=0x00008461;PHY_REG_LDADV=0x000005E1;PHY_REG_LPADV=0x0000C1E1;PHY_REG_ANEGX=0x0000000F;PHY_REG_LDNPG=0x00002801;PHY_REG_LPNPG=0x00000000;PHY_REG_XCNTL=0x00001000;PHY_REG_XSTAT=0x00000300;PHY_REG_XRCNT=0x00000100;PHY_REG_XCCNT=0x000011D8;PHY_REG_XDCNT=0x0000000A;PHY_REG_AUXCS=0x0000002B;PHY_REG_AUXSS=0x0000F53E;PHY_REG_AUXM2=0x0000000A;PHY_REG_TSTAT=0x0000082B;PHY_REG_AMPHY=0x000080E0;PHY_REG_RN1F=0x00000000;PHY_REG_RS1B=0x0000000A;Do you know what's going wrong?
#cross-post