Date
1 - 4 of 4
bug in http server
Erwin Rol
Hey Anas, Erwan,
toggle quoted messageShow quoted text
I fixed the compile bug, but on the olimex board the ethernet is no not functional. 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 that? - Erwin PS: Anas do you want me to push the compile fix, because even if the driver isn't working the fix I have is correct (just used the wrong defines).
On Mon, 2017-07-31 at 13:32 +0000, Nashif, Anas wrote:
Hi,
|
|
Nashif, Anas
Erwin,
toggle quoted messageShow quoted text
Can we have this communication the related JIRA please? Anas
-----Original Message-----
From: zephyr-devel-bounces@lists.zephyrproject.org [mailto:zephyr-devel-bounces@lists.zephyrproject.org] On Behalf Of Erwin Rol Sent: Monday, July 31, 2017 4:57 PM To: Zephyr Devel List <zephyr-devel@lists.zephyrproject.org> Subject: Re: [Zephyr-devel] bug in http server Hey Anas, Erwan, I fixed the compile bug, but on the olimex board the ethernet is no not functional. 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 that? - Erwin PS: Anas do you want me to push the compile fix, because even if the driver isn't working the fix I have is correct (just used the wrong defines). On Mon, 2017-07-31 at 13:32 +0000, Nashif, Anas wrote: Hi, _______________________________________________ Zephyr-devel mailing list Zephyr-devel@lists.zephyrproject.org https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel
|
|
Yannis Damigos
Hi Erwin
On Mon, Jul 31, 2017 at 11:57 PM, Erwin Rol <mailinglists@erwinrol.com> wrote: Hey Anas, Erwan,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. Yannis - Erwin
|
|
Erwin Rol
Hey Yannis,
On Tue, 2017-08-01 at 10:11 +0300, Yannis Damigos wrote: Hi ErwinGPIOG 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
|
|