USB Mass Storage with SD card Example Works in NCS 2.6 but Fails in NCS 2.8/2.9

Description:
I am working with the USB mass storage example provided in github.com/.../mass

The example works as expected when built and flashed using NCS v2.6. However, when I attempt to build and run the same example using NCS v2.8 or v2.9, the functionality no longer works.

the NCS 2.6.0 output 

the NCS 2.9.0 output

add two files to example for SD Card 

sd.overlay



sd.conf 

Flash the firmware to the nRF device (nRF5340 DK) 

Are there any known changes or breaking updates in NCS 2.8/2.9 that could affect the USB mass storage functionality?

Thank you for your assistance!

  • Hi,

    However, when I attempt to build and run the same example using NCS v2.8 or v2.9, the functionality no longer works.

    Just as a sanity check before I look into this: Do you mean "build and run the same sample from SDK v2.8 or v2.9" or "build and run the sample you've been using in 2.6 for v2.8 or v2.9"?

    Kind regards,
    Andreas

  • Hello Thanks for the replay 

    build and run the same sample from SDK v2.8 or v2.9

    thanks 

  • Could you zip and upload both versions of your projects, i.e v2.6 and v2.9? P0.10 is cts to the netcore on the nRF5340DK, so there might be a change to how to overwite how to disable this so you can use it for the SD card instead. Alternatively use a different GPIO than P0.10 (for instance P0.12) and verify if you see the same or not (if you see the same we would like the two versions of your firmware anyways).

    Kind regards,
    Andreas

  • Hello 
    Thanks for patient 

    I have used a different GPIO as you said and I got the result the error for v2.9 v2.8
    in the attachment, I upload the sample of each version

    Thanks 

    mass_sd.zip

  • Hi,

    As a verification, could you state how you built the firmware? I.e either enter the full command you used in command line or take a screen shot of the build configuration in the VS Code extension. I suspect the overlay has not been included properly.

    Kind regards,
    Andreas

1 2