Re: Problem with SmartFS access

2021-03-22 Thread Flavio Castro Alves Filho
Hello Abdelatif, At first, it didn't work. But then I restarted the whole test and it is finally working. Here is my output: ABCDF SmartFS initialized INFO: mx25l MTD Flash driver initialized up_rtc_getdatetime: Warning: PCF8563 RTC integrity is not guaranteed (bit 7 in VL_SECONDS register is s

Re: Problem with SmartFS access

2021-03-22 Thread Abdelatif Guettouche
Try: mount -t smartfs /dev/smart0 --> mount -t smartfs /dev/smart0 /mnt On Mon, Mar 22, 2021 at 1:17 PM Flavio Castro Alves Filho wrote: > > Hello Alan, > > Enabling the CONFIG_BCH, I could finally run flash_eraseall and > mksmartfs commands. > > But the mount command is not working. > > Below th

Re: Problem with SmartFS access

2021-03-22 Thread Flavio Castro Alves Filho
Hello Alan, Enabling the CONFIG_BCH, I could finally run flash_eraseall and mksmartfs commands. But the mount command is not working. Below there is my NuttX output: ABCDF SmartFS initialized INFO: mx25l MTD Flash driver initialized up_rtc_getdatetime: Warning: PCF8563 RTC integrity is not guar

Re: Problem with SmartFS access

2021-03-21 Thread spudaneco
From: Alan Carvalho de Assis Date: 3/21/21 11:03 AM (GMT-06:00) To: dev@nuttx.apache.org Subject: Re: Problem with SmartFS access Hi Greg and Anthony,On 3/21/21, Gregory Nutt wrote:>>> ... what we can>> do to prevent these types of "side-effects" when people a

Re: Problem with SmartFS access

2021-03-21 Thread Abdelatif Guettouche
Please note that this issue has been fixed: https://github.com/apache/incubator-nuttx-apps/pull/624 On Sun, Mar 21, 2021 at 6:03 PM Alan Carvalho de Assis wrote: > > Hi Greg and Anthony, > > On 3/21/21, Gregory Nutt wrote: > > > >> ... what we can > >> do to prevent these types of "side-effects"

Re: Problem with SmartFS access

2021-03-21 Thread Alan Carvalho de Assis
Hi Greg and Anthony, On 3/21/21, Gregory Nutt wrote: > >> ... what we can >> do to prevent these types of "side-effects" when people are touching the >> config system. > > The use of defconfig files implies that we never change default values > of configuration. If someone does change the defaul

Re: Problem with SmartFS access

2021-03-21 Thread Gregory Nutt
... what we can do to prevent these types of "side-effects" when people are touching the config system. The use of defconfig files implies that we never change default values of configuration.  If someone does change the default value of a configuration setting, then it effects ALL configur

Re: Problem with SmartFS access

2021-03-21 Thread Anthony Merlino
Hey Alan, Can you point to the change? I'm curious how it happened, and what we can do to prevent these types of "side-effects" when people are touching the config system. Best, Anthony On Sun, Mar 21, 2021 at 11:22 AM Alan Carvalho de Assis wrote: > Hi Flavio, > > You need to enable also the

Re: Problem with SmartFS access

2021-03-21 Thread Alan Carvalho de Assis
Hi Flavio, You need to enable also the CONFIG_BCH, some recent modification in the BCH created this side-effect. BR, Alan On 3/21/21, Flavio Castro Alves Filho wrote: > Hello, > > I am trying to use my stm32f4discovery board with MX25L800 dataflash > memory, through SPI and SmartFS file system

Problem with SmartFS access

2021-03-21 Thread Flavio Castro Alves Filho
Hello, I am trying to use my stm32f4discovery board with MX25L800 dataflash memory, through SPI and SmartFS file system. I installed a NuttX driver for this memory type and I am having problems making this memory work. I cannot format the memory. Here is the output on the console, with FS Debug