Re: iMXRT usbdev endpoint allocation problem

2023-09-20 Thread MÃ¥rten Svanfeldt
Hi, What do you mean by "getting confused by"? There is nothing in the hardware requiring interrupt EPs (or BULK/ISO) to be any specifc number (and in fact you could have EP1 in as INT and EP1 out as BULK, as they map to different physical endpoints at index 2 and 3). About the max size, I g

different IP than expected

2023-09-20 Thread Gustavo Soares
Hello everyone! I configured NuttX to a certain IP address and I have a webserver which listens to the defined IP: [cid:820c9f69-369e-403b-8928-15a97245100a] [cid:a42eded4-3e24-4b28-b0a7-07170d21a404] The HTML file above has a variable that contains the server IP address, but it is a differe

Re: fat32 sd-card filesystem broken

2023-09-20 Thread Nathan Hartman
On Wed, Sep 20, 2023 at 1:58 PM Petro Karashchenko < petro.karashche...@gmail.com> wrote: > Hi, > > I think that FAT32 is not a fail-safe file system by its nature. There may > be data losses (file table corruption) in case of power loss during file > write (file table update) or maybe in some oth

Re: STM Nucleo-32 board - I2C functionality

2023-09-20 Thread Alan C. Assis
Hi Stewart, On 9/20/23, Stewart Charnell wrote: > Hi, > > Has anyone used the I2C functionality on the STM Nucleo-32 board (it > uses the STM32L432 processor)? I think there is an issue with the file > boards/arm/stm32l4/nucleo-l432kc/src/stm32_ina226.c. > > This board can support Arduino NANO pi

Re: fat32 sd-card filesystem broken

2023-09-20 Thread Petro Karashchenko
Hi, I think that FAT32 is not a fail-safe file system by its nature. There may be data losses (file table corruption) in case of power loss during file write (file table update) or maybe in some other cases when file system access is interrupted. I think HCC had some product called SafeFAT that wa

STM Nucleo-32 board - I2C functionality

2023-09-20 Thread Stewart Charnell
Hi, Has anyone used the I2C functionality on the STM Nucleo-32 board (it uses the STM32L432 processor)? I think there is an issue with the file boards/arm/stm32l4/nucleo-l432kc/src/stm32_ina226.c. This board can support Arduino NANO pinout compatibility by using links on the PCB. Section '6.

Re: fat32 sd-card filesystem broken

2023-09-20 Thread Alan C. Assis
Hi Simon, I tested it recently (not extensive test) and it was working fine (stm32f777 meadow board). Did you try to run apps/testing/fstest to push its hard(ware) limits? :-) Also a simple way to verify if FAT is working is creating a RAMDISK (formatted as FAT) and run your application using it

fat32 sd-card filesystem broken

2023-09-20 Thread Simon Filgis
Dear all, Once in a while nuttx breaks the fat32 filesystem of my sd-card. Custom fork, around 1 year old. samv7, DMA enabled. I have syslog to sd-card enabled. Also a FTP server accepts files to sd-card. Has anybody observed something similar? How to start debugging such an issue? Simon -- H

RE: iMXRT usbdev endpoint allocation problem

2023-09-20 Thread David Sidrane
Hi Marten , See https://github.com/apache/nuttx/pull/4784 Furthermore once all the caching was working, the USB driver had a bug that the bulk endpoints was getting confused with the interrupt endpoints and although sized to 512 where reporting a max size of 1024 causing more fun memory overwrite