2013-07-02 01:46 AM
Hi,
I connected the ethernet port of the STM32F10C-Eval to my pc using an ethernet cable. But the led of the ethernet port is not blinking which means that the connection is not detected. I have changed the cable but nothing is happening. What could be wrong? Thank you.2013-07-02 04:38 AM
So what happens if you DO initialize the ETH/PHY? It's a synchronous part so it's highly likely to need a clock to do anything. So load up some demo/example code which supports Ethernet and TCP/IP
[DEAD LINK /public/STe2ecommunities/mcu/Lists/STMTouch/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STMTouch/STM32F10C-Eval%20%20ethernet%20connector&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580006D6333EDE67C2A46A2020F77CD7DCE8F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STMTouch/AllItems.aspx¤tviews=17]https://my.st.com/public/STe2ecommunities/mcu/Lists/STMTouch/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTMTouch%2fSTM32F10C-Eval%20%20ethernet%20connector&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580006D6333EDE67C2A46A2020F77CD7DCE8F&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTMTouch%2FAllItems.aspx¤tviews=172013-07-02 06:47 AM
2013-07-02 07:11 AM
But am using eclipse and i don't have keil
Ok, that's a decision you'll have to own, and use your skills as a programmer to port some Ethernet code to the platform of your choice.2013-07-02 08:41 AM
2013-07-02 09:19 AM
Likely because you need to have the PHY interrupt when the connection changes, and renegotiate the connection. Most simple examples set up the PHY/Connection once at initialization.
MII_INT connects to EXP_IO8 (i2c IO Expander) The code in STM32F107_ETH_LwIP_V1.0.0\Utilities\STM32_EVAL\STM3210C_EVAL\stm3210c_eval_ioe will need a lot of work.http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/CD00212441.pdf