Re: LittleFS Implementation using MTD for NOR flash

2023-12-29 Thread Alan C. Assis
vers -> Memory Technology Device (MTD) Support -> SPI-based > > >> M25P/MT25Q > > >> > > >>> On 28/12/2023 14:28, Janardhan Silwal wrote: > > >>> which driver did you use? > > >>> I didn't see MT25QL SPI flash in menu config so I we

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Bernd Walter
e so many *25 NOR-flash drivers to begin with. > > Aren't they supposed to be similar and autoprobing? > > > >> ____ > >> From: Tim Hardisty > >> Sent: Thursday, December 28, 2023 20:18 > >> To: dev@nuttx.apac

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
n the mounted partition? > > Best Regards, > > Janardhan > > From: Tim Hardisty > Sent: Thursday, December 28, 2023 20:36 > To: dev@nuttx.apache.org > Subject: Re: LittleFS Implementation using MTD for NOR flash > > FYI - if you

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
gin with. > Aren't they supposed to be similar and autoprobing? > >> >> From: Tim Hardisty >> Sent: Thursday, December 28, 2023 20:18 >> To: dev@nuttx.apache.org >> Subject: Re: LittleFS Implementation using MTD for NOR flash >

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Bernd Walter
rdisty > Sent: Thursday, December 28, 2023 20:18 > To: dev@nuttx.apache.org > Subject: Re: LittleFS Implementation using MTD for NOR flash > > Device Drivers -> Memory Technology Device (MTD) Support -> SPI-based > M25P/MT25Q > > On 28/12/2023 14:28, Janardhan Silw

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
hanks though. Best Regards, Janardhan From: Tim Hardisty Sent: Thursday, December 28, 2023 20:18 To: dev@nuttx.apache.org Subject: Re: LittleFS Implementation using MTD for NOR flash Device Drivers -> Memory Technology Device (MTD) Support -> SPI-based M25P/M

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
; Best regards, > Janardhan > > From: Tim Hardisty > Sent: Thursday, December 28, 2023 19:15 > To:dev@nuttx.apache.org > Subject: Re: LittleFS Implementation using MTD for NOR flash > > I have only ever used NuttX "directly" with

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
ards, Janardhan From: Tim Hardisty Sent: Thursday, December 28, 2023 19:15 To:dev@nuttx.apache.org Subject: Re: LittleFS Implementation using MTD for NOR flash I have only ever used NuttX "directly" with my apps running over it rather than any other middleware or an

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
__ From: Tim Hardisty Sent: Thursday, December 28, 2023 19:15 To:dev@nuttx.apache.org Subject: Re: LittleFS Implementation using MTD for NOR flash I have only ever used NuttX "directly" with my apps running over it rather than any other middleware or anything, so I can't answe

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
_ > From: Tim Hardisty > Sent: Thursday, December 28, 2023 17:31 > To:dev@nuttx.apache.org > Subject: Re: LittleFS Implementation using MTD for NOR flash > > Hi, > > What flash are you using out of interest? > > But, the basic approach (in or calle

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
cember 28, 2023 17:31 To:dev@nuttx.apache.org Subject: Re: LittleFS Implementation using MTD for NOR flash Hi, What flash are you using out of interest? But, the basic approach (in or called from your board bringup for example) is: spi_flash= sam_spibus_initialize(PORT); /* this call is arch

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
: dev@nuttx.apache.org Subject: Re: LittleFS Implementation using MTD for NOR flash Hi, What flash are you using out of interest? But, the basic approach (in or called from your board bringup for example) is: spi_flash= sam_spibus_initialize(PORT); /* this call is arch dependent */ if

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Tim Hardisty
Hi, What flash are you using out of interest? But, the basic approach (in or called from your board bringup for example) is: spi_flash= sam_spibus_initialize(PORT); /* this call is arch dependent */ if(!spi_flash) { /* Do something */ } #ifdefined(CONFIG_MTD_M25P) mtd = m25p_initialize(spi_f

LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
Hi community, I am trying to get littlefs running on a NOR flash memory using the MTD driver, on a STM32F4 chip. I had some bottlenecks in the implementation as I am an out-and-out novice when it comes to Nuttx. I have written a custom driver for the flash, which is working with MTD, as I cou