Re: STM32H7 Ethernet problems

2020-02-24 Thread Reto Gähwiler
07:19:16, Jukka Laitinen wrote: > Hi! > > On 21.2.2020 16.08, Reto Gähwiler wrote: > > Hi Jukka, > > > > First of all, thanks for your time and hints. Just applied your suggested > > change to the stm32_freebuffer. > > Don't mention, I am sort o

STM32H7 Ethernet problems

2020-02-19 Thread Reto Gähwiler
this or a similar problem before. If you need more information please let me know. Thanks in advance for your thoughts and helps. Best Regards, Reto Gähwiler

Re: STM32H7 Ethernet problems

2020-02-21 Thread Reto Gähwiler
e driver not using one of the desciptors > and buffers at all (there is one less buffer in use and wasted memory for > that). > > I am very sorry, but I am unable to provide any patches currently. > > Regards, > Jukka > > > On 20.2.2020 9.03, Reto Gähwiler wrote: > &

Re: STM32H7 Ethernet problems

2020-02-19 Thread Reto Gähwiler
@Gregory: Thanks for your responses and input, will see what I can do. On 2020/02/19 22:50:02, Gregory Nutt wrote: > > > This sounds a lot like the problem I'm having with the SAMA5D36 Gigabit > > ethernet... I'm running into some kind of deadlock on long transfers that > > send packets very

Re: STM32H7 Ethernet problems

2020-02-19 Thread Reto Gähwiler
Hi Adam, I saw your post and was thinking about linking to it. From what I understand so far, it happens only if there are multiple connections running. Some bursts of arp messages or flood pings will eventually also break things. Just a matter of timing. The whole collapse starts with no

Re: STM32H7 Ethernet problems

2020-02-19 Thread Reto Gähwiler
@Xiao: Thanks for your example, I'll see how I can apply it to our problem. On 2020/02/20 02:10:49, Xiang Xiao wrote: > Here is a demo fix for one of IOB deadlock recently : > > commit 2d0baa779d997f39b8121f5965f8125184e80d71 > Author: chao.an > Date: Thu Jan 16 14:20:09 2020 -0300 > >

close() socket called in second thread combined with reconnect kills eth (stm32h743zi)

2020-06-30 Thread Reto Gähwiler
Hello Everyone, I am facing the following problem working with nuttx and ethernet connections. A TCP socket is setup as blocking and connected to the server. The connection is handled in one thread which hangs in the recv call and processes the data if some arrives. In case of an error the

Re: close() socket called in second thread combined with reconnect kills eth (stm32h743zi)

2020-07-09 Thread Reto Gähwiler
the close and the pthread hanging in the recv were started from the main application which is started by nuttx. Is that now the same task group? On 2020/06/30 08:58:14, Reto Gähwiler wrote: > Hello Everyone, > > I am facing the following problem working with nuttx and ethernet > connec

Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-18 Thread Reto Gähwiler
Dear All, First of all, in case a similar thread pops-up authored by myself, please ignore. Recently we discovered some issues with the FAT32 partition on the SD-Card used in our device running on nuttx. There are actually a bunch of issues we are strugle to understand related to the filesystem.

Re: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread Reto Gähwiler
issue later. > > If you find an easy way to reproduce the issue, it will make it easier > for other people duplicate your issue and help to debug it. > > BR, > > Alan > > On 5/18/21, Reto Gähwiler wrote: > > Dear All, > > > > First of all, in case a simila

Thread creation in Pony Mail Client

2021-05-17 Thread Reto Gähwiler
Hey there, I recently created a new thread and opened it directly inside of the Pony Mail web-client. This was the previous Tuesday or Wednesday (11.5. or 12.5.2021). The thread is still not visible in the mailing list and I am wondering whether it was published, waits for approval or

Re: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-21 Thread Reto Gähwiler
. Anyone aware what other projects do use FAT32 partitions which will fill up 4GB regularly and create lots of files (>1024) in a folder? Anyone aware of a tool like fsck.msdos for nuttx or ported to c and a quickformat routine? Best Regards, Reto On 2021/05/18 13:10:45, Reto Gähwiler wr

Re: RE: RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread Reto Gähwiler
curiosity: why are you using SDCard support over SPI? > Isn't your board prepared to use native SDCard/SDIO peripheral? > > BR, > > Alan > > On 5/19/21, Reto Gähwiler wrote: > > Hey again, > > > > About the requested configuration of the SD-Card, here we g

Re: RE: RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread Reto Gähwiler
. > > This behaviour is identical before and after applying your PR. > > > > Brgds, Reto > > > > On 2021/05/18 19:55:06, Jukka Laitinen wrote: > > > Hi, > > > > > > There seems to be a bug in sector calculation which may trigger with

Re: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread Reto Gähwiler
r-nuttx/pull/3740 > > But I really don't know if this is related to your issues, this is just > something that suddenly popped up elsewhere. > > -Jukka > > > On 18.5.2021 16.10, Reto Gähwiler wrote: > > Dear All, > > > > First of all, in case a similar thr

Re: RE: Nuttx FAT32 issues - corrupted files, wrongly stated free clusters by statfs

2021-05-19 Thread Reto Gähwiler
> > > > https://github.com/apache/incubator-nuttx/pull/3740 > > > > But I really don't know if this is related to your issues, this is just > > something that suddenly popped up elsewhere. > > > > -Jukka > > > > > > On 18.5.2021 16.10, Reto Gähwiler w