Hi Team,
NCS v2.3.0
nrf52840
my project works as expected with CONFIG_APP_MSC_STORAGE_RAM=y
but I need storage FLASH_FATFS
and the disk does not open in Windows, it gives an error window when connecting nrf USB.
Thank you.
4034.chatDK_update.7z
Hi Team,
NCS v2.3.0
nrf52840
my project works as expected with CONFIG_APP_MSC_STORAGE_RAM=y
but I need storage FLASH_FATFS
Hi,
Could you please show the error that you get?
Best regards,
Dejan
windows error looks the same as in devzone.nordicsemi.com/.../nrf52833dk_nrf52833-usb-mass-storage-issue
Hi,
Have you tried using the sample 275880_mass_v2.2.0.zip provided here? I have tested it and it is working in NCS v2.2.0.
Please find below the log from my nRF52840-DK.
*** Booting Zephyr OS build v3.2.99-ncs1 *** Area 0 at 0x46000 on flash-controller@4001e000 for 237568 bytes [00:00:00.255,706] <inf> flashdisk: Initialize device NAND [00:00:00.255,737] <inf> flashdisk: offset 46000, sector size 512, page size 4096, volume size 237568 [00:00:00.261,444] <inf> flashdisk: Initialize device NAND [00:00:00.261,474] <inf> flashdisk: offset 46000, sector size 512, page size 4096, volume size 237568 Mount /NAND:: 0 /NAND:: bsize = 512 ; frsize = 512 ; blocks = 424 ; bfree = 420 /NAND: opendir: 0 D 0 SYSTEM~1 F 5 MY_TEXT.TXT End of files [00:00:00.325,805] <inf> main: The device is put in USB mass storage mode.
I use NCS v2.3.0, Mass example works, but I need this functionality to work in the Сhat example, I added the archive with the project, look at the errors it gives, this is an urgent problem, thanks.
I use NCS v2.3.0, Mass example works, but I need this functionality to work in the Сhat example, I added the archive with the project, look at the errors it gives, this is an urgent problem, thanks.
Hi,
When testing your sample project, I have not had any issues when using CONFIG_APP_MSC_STORAGE_RAM=y. The disk appeared as expected and behaved properly.
However, when I tried to reproduce your error on Windows 10 using NCS v2.3.0 with following configuration options:
CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y #CONFIG_APP_MSC_STORAGE_RAM=y
Hi,
yes everything is as you described.
Best regards,
Serhii
Hi,
Is your project based on the mass storage sample?
Best regards,
Dejan
Yes, example Mass
Hi,
As you based your project on the mass sample, you could start adding the changes one-by-one to the mass sample in order to find which one of the introduced changes breaks the storage.
Best regards,
Dejan