Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Chris Seto
Another follow up: Wow, this is amazing. Within a few minutes of getting this change made, I got the board to successfully get an IP over DHCP. This is awesome! Thanks for the help, all. On Thu, Jan 18, 2018 at 1:27 PM, Chris Seto wrote: > Ahah!! > > I knew it was something simple. Yup. That did

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Chris Seto
Ahah!! I knew it was something simple. Yup. That did it. Thanks all!! On Thu, Jan 18, 2018 at 1:01 PM, goldsi...@gmx.de wrote: > On 18.01.2018 17:46, Chris Seto wrote: > > Hi, > > I'm using LwIP 2.0 running on an STM32F4 with a TI TLK110 ethernet PHY. > I've written the driver for the PHY and

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread goldsi...@gmx.de
On 18.01.2018 17:46, Chris Seto wrote: Hi, I'm using LwIP 2.0 running on an STM32F4 with a TI TLK110 ethernet PHY. I've written the driver for the PHY and corrected the definitions within the STM32 HAL such that the PHY is initialized correctly. When low_level_init() returns, the link is guar

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread goldsi...@gmx.de
On 18.01.2018 18:31, Noam Weissman wrote: Hi Chris, I am not working with ST HAL, rather with the older SPL (standard peripheral library). I do not know why you needed to change the PHY driver as all the standard PHY’s that are IEEE compatible will work the same. Noam, that's simply no

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Noam Weissman
Hi Chris, If you are able to read/write PHY registers that means that the SMI interface is up and running. Before digging into LwIP make sure your MII/RMII and DMA are configured correctly with the driver. I am working with LwIP for last 7 years and I almost had no problems with LwIP. If

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Will Wykeham
I had a similar looking issue last week bringing up lwip for the first time. In my case it was because I hadn't set both the interface and the link as being 'up'. Will On 18 Jan 2018 5:46 pm, "Chris Seto" wrote: > Hi Noam, Thanks for the reply. > > A few of the defs seemed to be wrong for my PH

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Chris Seto
Hi Noam, Thanks for the reply. A few of the defs seemed to be wrong for my PHY. Specifically, the bits in MISR and BMSR. Slight differences. The bits existed, but not in the order the HAL config files indicated them to.I copied my config to the bottom of this message. That said, I don't think tha

Re: [lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Noam Weissman
Hi Chris, I am not working with ST HAL, rather with the older SPL (standard peripheral library). I do not know why you needed to change the PHY driver as all the standard PHY’s that are IEEE compatible will work the same. The ST driver has two portions: 1. MDIO/MDC connectivity (SMI) 2

[lwip-users] LWIP never tries to send a packet?

2018-01-18 Thread Chris Seto
Hi, I'm using LwIP 2.0 running on an STM32F4 with a TI TLK110 ethernet PHY. I've written the driver for the PHY and corrected the definitions within the STM32 HAL such that the PHY is initialized correctly. When low_level_init() returns, the link is guaranteed physically up. I'm having an issue w