STM32F7 HAL issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

STM32F7 HAL issues

Sachs, Nico
Hi,
I know there were or are a lot of issues around stm32 ethernet  STM HAL / etherenetif from CubeMX etc.. which can be found on the st community or discussed here.
I try to reopen this conversion, since anything which I found won't solve my issue.

Issue: I run the http example from contrib on lwip 2.1.2. FS from example, and generated my file using makefsdata. So, If I now open the website, I get somewhere a frame which previous segment was not captured, resulting in some delays/timeouts on the full website load.

I had hope that this which I found here https://community.st.com/s/question/0D50X00009XkgffSAB/stm32f746-ethernet-dma-transmit-problem would help on the issue, but including the memory barrier instruction wont help. But if I include some Delay before HAL_ETH_TransmitFrame(&heth, framelength); it works like a charm.

So it has something to do with the descriptors, but I can't figure it out how to solve it. And I don't want to leave that delay in there.  

Is, there anybody out there who had similar issues?

Cheers
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: STM32F7 HAL issues

Mario Luzeiro
Hi Nico,
I had issues with STM and the DMA fix did really improved.
There was lot of work then trying to find the best configurations that works for me, but nothing more that I need to hack to get it working...

Mario Luzeiro

________________________________________
From: lwip-users <lwip-users-bounces+mrluzeiro=[hidden email]> on behalf of Sachs, Nico <[hidden email]>
Sent: 17 January 2020 09:09
To: Mailing list for lwIP users
Subject: [lwip-users] STM32F7 HAL issues

Hi,
I know there were or are a lot of issues around stm32 ethernet  STM HAL / etherenetif from CubeMX etc.. which can be found on the st community or discussed here.
I try to reopen this conversion, since anything which I found won't solve my issue.

Issue: I run the http example from contrib on lwip 2.1.2. FS from example, and generated my file using makefsdata. So, If I now open the website, I get somewhere a frame which previous segment was not captured, resulting in some delays/timeouts on the full website load.

I had hope that this which I found here https://community.st.com/s/question/0D50X00009XkgffSAB/stm32f746-ethernet-dma-transmit-problem would help on the issue, but including the memory barrier instruction wont help. But if I include some Delay before HAL_ETH_TransmitFrame(&heth, framelength); it works like a charm.

So it has something to do with the descriptors, but I can't figure it out how to solve it. And I don't want to leave that delay in there.

Is, there anybody out there who had similar issues?

Cheers
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users
Reply | Threaded
Open this post in threaded view
|

Re: STM32F7 HAL issues

Dave Nadler
Hi Mario + Nico! You will want to see Alister's driver fixes here:
https://community.st.com/s/question/0D50X0000BozSc5SQE/ethernet-security-issues
Please let us know if this works for you,
Best Regards, Dave

On 1/17/2020 7:35 AM, Mário Luzeiro wrote:
Hi Nico,
I had issues with STM and the DMA fix did really improved.
There was lot of work then trying to find the best configurations that works for me, but nothing more that I need to hack to get it working...

Mario Luzeiro

________________________________________
From: lwip-users [hidden email] on behalf of Sachs, Nico [hidden email]
Sent: 17 January 2020 09:09
To: Mailing list for lwIP users
Subject: [lwip-users] STM32F7 HAL issues

Hi,
I know there were or are a lot of issues around stm32 ethernet  STM HAL / etherenetif from CubeMX etc.. which can be found on the st community or discussed here.
I try to reopen this conversion, since anything which I found won't solve my issue.

Issue: I run the http example from contrib on lwip 2.1.2. FS from example, and generated my file using makefsdata. So, If I now open the website, I get somewhere a frame which previous segment was not captured, resulting in some delays/timeouts on the full website load.

I had hope that this which I found here https://community.st.com/s/question/0D50X00009XkgffSAB/stm32f746-ethernet-dma-transmit-problem would help on the issue, but including the memory barrier instruction wont help. But if I include some Delay before HAL_ETH_TransmitFrame(&heth, framelength); it works like a charm.

So it has something to do with the descriptors, but I can't figure it out how to solve it. And I don't want to leave that delay in there.

Is, there anybody out there who had similar issues?

Cheers
_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users


-- 
Dave Nadler, USA East Coast voice (978) 263-0097, [hidden email], Skype 
 Dave.Nadler1

_______________________________________________
lwip-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-users