Re: bug in http server

Erwin Rol

Hey Yannis,

On Tue, 2017-08-01 at 10:11 +0300, Yannis Damigos wrote:
Hi Erwin

On Mon, Jul 31, 2017 at 11:57 PM, Erwin Rol <mailinglists@...> wrote:
Hey Anas, Erwan,

I fixed the compile bug, but on the olimex board the ethernet is no not

I got two boards (same STM32F407 CPU), one is working, one (the olimex)
isn't. Both were working before the changes to the pinmux stuff.

The olimex does receive ethernet but can't send, the other board can
send and receive. The only obvious difference is the GPIO pins that are
used. The working board uses pins from GPIOB where the non working
olimex uses pins (the 3 TX pins) from GPIOG.

Is there anything special I have to do to enable GPIOG ? GPIOC and GPIOB
are used by the for example the UARTS, but GPIOG is only used by the ETH
controller, so did I forgot some initialization stuff or something like
Did you try to enable CONFIG_GPIO_STM32_PORTG? I took a look into
samples/net/http_server/outdir/olimex_stm32_e407/.config and GPIOG is
not enabled.
GPIOG not being enabled by default by the board was one issue I fixed
while looking into the bug report by Anas, should have mentioned that.

But even with GPIOG enabled in the menu things don't work, I really have
the feeling port GPIOG somehow isn't clocked or does not have its
alternate-functions set correctly.

- Erwin

Join to automatically receive all group messages.