CONFIG_APP_MSC_STORAGE_RAM VS FLASH_FATFS

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

I set CONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
and the disk does not open in Windows, it gives an error window when connecting nrf USB.

Thank you.

4034.chatDK_update.7z
  • Hi,

    I have replicated your issue using NCS v2.3.0. There are currently 2 options how you can fix the build error. 

    First option:

    //in prj.conf, comment out configuration option CONFIG_BOOTLOADER_MCUBOOT
    #CONFIG_BOOTLOADER_MCUBOOT=y
    


    Second option:
    //in prj.conf, make a following change to CONFIG_NVS
    CONFIG_NVS=y


    With either one of above-mentioned changes, you should be able to build your project successfully.

    Best regards,
    Dejan

  • Hi,
    #CONFIG_BOOTLOADER_MCUBOOT=y
    mass storage works, but FOTA update stopped working.
    When can we expect a complete solution to the problem?

    Best regards,
    Serhii

  • Hi,

    Could you please describe how you perform FOTA and provide all steps to reproduce your issue?

    Could you provide your new project if there are differences with previously uploaded one?

    Could you also provide log which would show us the error that you get when performing FOTA?

    Due to vacations and potential limited staff availability, I cannot provide the expectation for problem resolution. However, I will look into your problem together with our developers and I will keep you updated with relevant new information. I have already reached out to our developers internally.

    Thank you for your patience and understanding.

    Best regards,
    Dejan

  • Hi,

    There were no differences from the previous one, I added your recommendations, the mass storage worked, I don’t get rtt errors, the update most often does not start and freezes, or ends with the message connection time out.

    Best regards,

    Serhii

  • Hi,

    dejans said:
    Could you please describe how you perform FOTA and provide all steps to reproduce your issue?

    We might need all necessary steps for reproducing your problem.

    Sergnrf said:
    the update most often does not start and freezes, or ends with the message connection time out.

    What happens when update freezes? Does it make any progress and then freezes?
    Could you please show message connection time out?

    Best regards,
    Dejan

Related