2015-06-23 11:02 AM
Hello All,
I am using STM32F207 to develop ethernet communication. I have to port FreeRTOS on the board. The board is custom no the standard ST EVAL board.I have access GPIO and UART on the board.Now I am using LwIP demo project which is provided by ST. In that project I changed the ETH_GPIO_Config(); function according to my board. My board us using RMII so I did the changes accordingly.My board does not use DP83848 for ethernet transciever. Rather it uses TLK 106. So I want to know that the in this function Eth_Link_PHYITConfig(DP83848_PHY_ADDRESS); the physical address of DP83848 id defined as 01.What should be the adress in my case TLK106 ? #stm32 #ethernet #lwip #lwip #example #stm32f207 #stm32f207 #clive1 #freertos-lwip2015-06-23 11:25 AM
The PHY does not have a fixed address, rather, it is given by bootstrapping resistors.
Read ''PHY Address'' chapter in TLK106's datasheet. JW2015-06-24 05:32 AM
2015-06-24 08:54 AM
Can someone tell me what should be the test procedure to find where I am wrong.
Well here, I'd get a clear understanding of the components I'm using, and review the peripheral settings, and control/status bits. I'd review the circuit design so I understood it. Confirm that the peripheral is reporting the LAN connectivity correctly, ie 10, 100, half-duplex, full-duplex, etc.Have the ethernet peripheral send test packets, confirm you can see these on a network analyzer.Put the peripheral in promiscuous mode, and confirm you can see/receive all the packets traversing the network.If you can get that working, confirm you can get DHCP working to request an IP address.2015-06-25 04:33 AM
clive1
Thanks clive for the response, i have two boards the second one is ping through my pc correctly so it means periperal is send the ping singal correctly. I have attached a zip file of the project, It is a standard demo project provided by ST, to test first before developing my applicatoin I just want to use it to get the connections checked, so I just set the Eth_gpio function and IP address, nesmask and gateway according to my network setting but i am unable to ping it. I have attched the standard library provided by ST which has LWIP project, I am using project/Standalone/tcp_eco_client demo project. ________________ Attachments : stsw-stm32060.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I15s&d=%2Fa%2F0X0000000biI%2FDa24_D1BqqJyij.Gwz9RAoB7oh9ZdZoCmJuK6a5cV_8&asPdf=false