Oh, one thing to note:

I an using no OS. There are no threads at all other than main

On Tue, Feb 27, 2018 at 11:39 AM, goldsimon <goldsi...@gmx.de> wrote:

>
>
> Chris Seto wrote:
> >I have a custom board with an STM32F4, and a TLK110 running LwIP 2.0.3.
> >The
> >board works great when it gets, an address, and I can freely exchange
> >data
> >with a socket server.
> >
> >On board bootup, I set the IP to 0 and then use dhcp_start() to start
> >DHCP.
> >When the code sees that the IP is no longer just 0, it tries to connect
> >to
> >the socket server.
> >
> >Most of the time this works well.
>
> This looks like a threading issue. The examples from STM are horribly
> wrong in that respect. Read the docs at http://www.nongnu.org/lwip/ to
> learn about threading. Also, try upgrading to fit master and use the new
> LWIP_ASSERT_CORE_LOCKED() check (has to be implemented for your arch, look
> at our Freertos port for an example).
>
> Simon
>
> _______________________________________________
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to