Hi Tim, On 12/22/21, Tim <t...@jti.uk.com.invalid> wrote: >>Here the issue is your ramdisk size. You need at least 64 sectors to be >> able to >>format as FAT, try it: >>https://acassis.wordpress.com/2020/08/23/how-to-use-ramdisk-as-filesystem- >>on-nuttx/ > > That is the guide I followed Alan: > > nsh>mkrd 64 > nsh>ls /dev > /dev: > console > null > ram0 > ttyFC0 > ttyFC1 > ttyS0 > ttyS1 > zero > nsh>mkfatfs /dev/ram0 > mkfatfs_tryfat16: WARNING: Too few or too many clusters for FAT16: 4081 < > 29 < 254 > mkfatfs_clustersearch: WARNING: Cannot format FAT16 at 1 sectors/cluster > nsh> > > Other variants of nsectors, that I've tried, give variations of the same > error. This is why I still thingh there is a buried CONFIG setting I haven't > enabled or have set wrong inadvertently. >
The error message comes from here: apps/fsutils/mkfatfs/configfat.c Enable the DEBUG FS WARNING to see more details. > Most rocket ships have well written training manuals...this whole adventure > is "let's have a guess what might work". > Yes, our is here: https://nuttx.apache.org/docs/latest/ and if you want to help the project you can create about how to use Flash with USB MSD after you get things fixed, deal? ;-) BR, Alan