Re: Alternatives to FAT for msd

2022-01-22 Thread TimH
Definitely an option! Still need a good way to get data on and off easily from Windows/Linux/Mac but a copy-on-write type file system is more than adequate for this product - thanks for the suggestion :) On 22/01/2022 16:48, Tomasz CEDRO wrote: Maybe LittleFS? Embedded, wear level and power

Re: Alternatives to FAT for msd

2022-01-22 Thread Tomasz CEDRO
Maybe LittleFS? Embedded, wear level and power failure resistant by design :-) https://github.com/littlefs-project/littlefs -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: Alternatives to FAT for msd

2022-01-22 Thread Barbiani
Would UF2 make things easier? On Sat, Jan 22, 2022, 10:25 TimH wrote: > > Now I have RNDIS working on Windows (Linux a work-in-progress) I am back > to thinking of the best way forward. If anyone has further thoughts on > the following I'm very interested: > > > - FAT/MSD/USB. Still seems the

Re: Alternatives to FAT for msd

2022-01-22 Thread TimH
Now I have RNDIS working on Windows (Linux a work-in-progress) I am back to thinking of the best way forward. If anyone has further thoughts on the following I'm very interested: - FAT/MSD/USB. Still seems the easiest for the customers (think consumer, not necessarily tech-savvy), but FAT

Re: Alternatives to FAT for msd

2022-01-21 Thread Alan Carvalho de Assis
The protocol is not complex, but it requires many HOST<->DEVICES integrations. I started a MTP implementation some years ago, it was enable to be detected to Linux as a media device, but I didn't finish the implementation to file transfer. If someone get enough motivation and want to suffer a

Re: Alternatives to FAT for msd

2022-01-21 Thread TimH
Are there any implementations of MTP using NuttX, or that could be easily and legally ported? On 19/01/2022 18:54, Frank-Christian Kruegel wrote: Am 19.01.2022 um 19:40 schrieb TimH: - an external PC (ideally Linux, Windows and MAC) needs to be able "see" the data via USB (msd) and read/write

Re: Alternatives to FAT for msd

2022-01-21 Thread Nathan Hartman
On Fri, Jan 21, 2022 at 8:19 AM Alan Carvalho de Assis wrote: > I think there is some issues in the Apache Foundation email infra, > this is the second time it happens. The same email is send again after > some days. Perhaps the emails in question have been waiting on a human moderator? I

Re: Alternatives to FAT for msd

2022-01-21 Thread Alan Carvalho de Assis
I think there is some issues in the Apache Foundation email infra, this is the second time it happens. The same email is send again after some days. On 1/19/22, Arie de Muijnck wrote: > On 2022-01-19 19:40, TimH wrote: >> FAT seems broken for NOR flash devices. Spent days getting nowhere. >> >>

Re: Alternatives to FAT for msd

2022-01-21 Thread Arie de Muijnck
On 2022-01-19 19:40, TimH wrote: FAT seems broken for NOR flash devices. Spent days getting nowhere. Since FAT and flash devices don't really play well together anyway (already found s512 erases a flash sector at least 4 times when writing a cluster), so I'm wondering, in parallel, if NuttX

RE: Alternatives to FAT for msd

2022-01-20 Thread Tim
>-Original Message- >From: Arie de Muijnck >Sent: 19 January 2022 22:34 >> FAT seems broken for NOR flash devices. Spent days getting nowhere. >> >> Since FAT and flash devices don't really play well together anyway >> (already found s512 erases a flash sector at least 4 times when >>

Re: Alternatives to FAT for msd

2022-01-19 Thread Arie de Muijnck
On 2022-01-19 19:40, TimH wrote: FAT seems broken for NOR flash devices. Spent days getting nowhere. Since FAT and flash devices don't really play well together anyway (already found s512 erases a flash sector at least 4 times when writing a cluster), so I'm wondering, in parallel, if NuttX

Re: Alternatives to FAT for msd

2022-01-19 Thread Barbiani
In the past I have put the FAT in a SPI Fram and the clusters went to a SPI nor flash. On Wed, Jan 19, 2022, 17:13 Barbiani wrote: > Ever heard of this? > > https://github.com/joembedded/JesFs > > > On Wed, Jan 19, 2022, 16:44 Alan Carvalho de Assis > wrote: > >> Some time ago TizenRT (a NuttX

Re: Alternatives to FAT for msd

2022-01-19 Thread Barbiani
Ever heard of this? https://github.com/joembedded/JesFs On Wed, Jan 19, 2022, 16:44 Alan Carvalho de Assis wrote: > Some time ago TizenRT (a NuttX fork) added Journalling support to SmartFS. > > We couldn't get it from them in the past because they changed the > License to Apache, but now

Re: Alternatives to FAT for msd

2022-01-19 Thread Alan Carvalho de Assis
Some time ago TizenRT (a NuttX fork) added Journalling support to SmartFS. We couldn't get it from them in the past because they changed the License to Apache, but now that NuttX is Apache license maybe it is possible to bring it to NuttX:

Re: Alternatives to FAT for msd

2022-01-19 Thread Alexander Lunev
FAT itself definitely is not suitable for your task. You need a journaling (log-structured) file system. Alternatively, FAT can be used as a container file system for the target journaling file system you like. E.g. you can format your Flash by FAT, then pre-write a dummy solid file to the FAT

Re: Alternatives to FAT for msd

2022-01-19 Thread Frank-Christian Kruegel
Am 19.01.2022 um 19:40 schrieb TimH: - an external PC (ideally Linux, Windows and MAC) needs to be able "see" the data via USB (msd) and read/write to the memory (log data, config files, audio files, etc). Hence FAT. There is MTP (https://en.wikipedia.org/wiki/Media_Transfer_Protocol),

Alternatives to FAT for msd

2022-01-19 Thread TimH
FAT seems broken for NOR flash devices. Spent days getting nowhere. Since FAT and flash devices don't really play well together anyway (already found s512 erases a flash sector at least 4 times when writing a cluster), so I'm wondering, in parallel, if NuttX has other tricks up its sleeve