USB MSC Zephyr example using SD card issue

Dear ,

I am new to the Nordic platform and started using VScode to build up and test some examples from the SDK.

I was using an nRF52840 dongle and trying to replicate the USB MSC Zephyr example but was not successful. 

To make sure I am on the right track from the very start, may I have some advice on the points below?

- Based on the tutorial video, the pin assignment and initiation are done by creating a .overlay file under the boards folder, which is quite different from what's been described here https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Findex.html  Are there any differences between the two? Are there any points that requires special modifications or changes.

- For the operations in regard to the SD card, do I need to create them by myself or it's already been handled on the background in this example?

- What changes do I need to make to the prj.conf and/or .overlay file, since for me it looks very different from the description in the above link.

Again, thanks a lot for your help.

Kind regards, Kevin

Parents
  • Dear ,

    I would like to add a few updates in regard to the issue I posted earlier.

    In fact, it's working now and it turns out a hardware issue rather than software. When connecting to windows or mac, a disk drive with the size of the SDHC card appears.

    However, I still wish to have a bit more knowledge about the sdk and the examples provided.

    In the examples shown in the infocenter, most of them are instructed as adding certain macro definitions to active or deactivate certain features. But how could I correlate these macro definitions to the CONFIG_XXX=y format which are commonly used in the proj.conf file? 

    For certain peripherals or functions, how could I see a completed list of options for CONFIG_XXX that I could use to configure the device? Is there any place I can find any documentation?

    Thanks and regards, Kevin

Reply
  • Dear ,

    I would like to add a few updates in regard to the issue I posted earlier.

    In fact, it's working now and it turns out a hardware issue rather than software. When connecting to windows or mac, a disk drive with the size of the SDHC card appears.

    However, I still wish to have a bit more knowledge about the sdk and the examples provided.

    In the examples shown in the infocenter, most of them are instructed as adding certain macro definitions to active or deactivate certain features. But how could I correlate these macro definitions to the CONFIG_XXX=y format which are commonly used in the proj.conf file? 

    For certain peripherals or functions, how could I see a completed list of options for CONFIG_XXX that I could use to configure the device? Is there any place I can find any documentation?

    Thanks and regards, Kevin

Children
Related