<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116217/usb-mass-storage-sample-application</link><description>Hello. I&amp;#39;m newbie with the NCS environment so tell me if I&amp;#39;m saying nosense. I use the nrf connect extension in vs code ide. (SDK: v2.7.0 toolchain: v2.7.0) 
 
 I want to create usb mass storage with spi flash on my own card so I wanted to examine the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Nov 2024 09:02:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116217/usb-mass-storage-sample-application" /><item><title>RE: USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/thread/510050?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 09:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a25780f-ccf2-46c4-95f0-0b0f5e0f2912</guid><dc:creator>cagri</dc:creator><description>&lt;p&gt;Actually, I just wanted to build and examine the sample. I know I can&amp;#39;t flash it.&lt;/p&gt;
&lt;p&gt;I looked at the tutorial you suggested and I learned that I need to type the command&amp;nbsp;&lt;span style="font-family:inherit;"&gt;&amp;ldquo;west build -b adafruit_feather_nrf52840 -- -DCONFIG_APP_MSC_STORAGE_FLASH_FATFS=y&amp;rdquo; (&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;or any other command)&lt;/span&gt;&lt;span style="font-family:inherit;"&gt; into the cRF Connect terminal. I was typing in powershell terminal before, so I got errors.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I wanted to mention this to help anyone who has such a problem and reads this article&lt;/p&gt;
&lt;p&gt;Anyway, my problem is solved for now. Now I will have to analyze the sample and adapt it to myself, this is the main issue :)&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/thread/510044?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 08:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fe63d9f-0f7a-4f08-91f7-cb3beea3c4c4</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Aha, thank you for clarifying.&lt;/p&gt;
&lt;p&gt;The first issue is that you&amp;#39;re building for the wrong target (board) if you ever want to flash the device. Your board is the nRF52833, while the build target you&amp;#39;re building for is the nRF5340DK.&lt;/p&gt;
&lt;p&gt;I think I would recommend you to take a few steps back from the project you&amp;#39;re working with and instead familiarize yourself with the fundamentals and intermediate NCS courses we have on our academy pages to get to know your board and the SDK a bit better before jumping into the deep end.&lt;/p&gt;
&lt;p&gt;You can find the course for the fundamental course here&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I recommend you do all lessons, but specially focus on lesson 1, 2 and 3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and the intermediate here&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I recommend you do all lessons, but specially focus on lesson 1, 2 and 3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I know this is probably not the solution you were hoping for, but if you spend a day going through these two courses I believe you should be far better of and ready to pick up the challenge with getting the flash sample to work on your custom board&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/thread/510015?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2024 05:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fca9511b-177b-4c17-a111-e1bd2eb33b5c</guid><dc:creator>cagri</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a custom board with nRF52833 and W25Q512JVEIQ. I wanted to examine a similar example on a different board, because I am new to this and I don&amp;#39;t know what to do.&lt;/p&gt;
&lt;p&gt;Thank you for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/thread/509942?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 15:14:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c07d8fa-4e19-4d12-bd16-73973caa1020</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I assume you&amp;#39;re referring to the Zephyr sample?&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/samples/subsys/usb/mass/README.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/zephyr/samples/subsys/usb/mass/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for providing the build logs. There are quite a few warnings here. You mention that you &amp;quot;want to test this on your board&amp;quot;. What exactly is your board? Is it a nRF5340DK, or a custom board you&amp;#39;ve made with a nRF5340?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Mass Storage Sample Application</title><link>https://devzone.nordicsemi.com/thread/509810?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2024 08:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:885dbe9c-f524-4139-82e5-d37ee37f44d3</guid><dc:creator>cagri</dc:creator><description>&lt;p&gt;Hello again. command line &lt;br /&gt;west build -b nrf5340dk_nrf5340_cpuapp -- -DCONFIG_APP_MSC_STORAGE_FLASH_FATFS=y&lt;br /&gt;&lt;span&gt;But if I compile it I get errors:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS C:\nordic\myApps\mass&amp;gt; west build -b nrf5340dk_nrf5340_cpuapp -- -DCONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/nordic/myApps/mass
-- CMake version: 3.31.0-rc2
-- Cache files will be written to: C:/nordic/myApps/mass/zephyr/.cache
-- Zephyr version: 4.0.0-rc3 (C:/nordic/myApps/mass/zephyr)
-- Found west (found suitable version &amp;quot;1.3.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
CMake Warning at zephyr/cmake/modules/boards.cmake:110 (message):
  Deprecated BOARD=nrf5340dk_nrf5340_cpuapp specified, board automatically
  changed to: nrf5340dk/nrf5340/cpuapp.
Call Stack (most recent call first):
  zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Board: nrf5340dk, qualifiers: nrf5340/cpuapp
-- Found host-tools: zephyr 0.16.5 (C:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Could NOT find Dtc (missing: DTC) (Required is at least version &amp;quot;1.4.6&amp;quot;)
Hint: The project() command has not yet been called.  It sets up system-specific search paths.
-- Found BOARD.dts: C:/nordic/myApps/mass/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp.dts
-- Found devicetree overlay: C:/nordic/myApps/mass/boards/nrf5340dk_nrf5340_cpuapp.overlay
-- Generated zephyr.dts: C:/nordic/myApps/mass/build/zephyr/zephyr.dts
-- Generated pickled edt: C:/nordic/myApps/mass/build/zephyr/edt.pickle
-- Generated zephyr.dts: C:/nordic/myApps/mass/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/nordic/myApps/mass/build/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: C:/nordic/myApps/mass/build/zephyr/dts.cmake

warning: HAS_NORDIC_DRIVERS (defined at modules\hal_nordic\Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_SERIES_NRF53X (defined at C:/nordic/myApps/mass/zephyr/soc/nordic/Kconfig.soc:36, C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig.soc:6, 
C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig:6), with value y, direct dependencies y (value: y), and select condition SOC_FAMILY_NORDIC_NRF (value: y)

warning: HAS_NRFX (defined at modules\hal_nordic\nrfx/Kconfig:4) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_SERIES_NRF53X (defined at C:/nordic/myApps/mass/zephyr/soc/nordic/Kconfig.soc:36, C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig.soc:6, 
C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig:6), with value y, direct dependencies y (value: y), and select condition SOC_FAMILY_NORDIC_NRF (value: y)

warning: HAS_CMSIS_CORE (defined at modules\cmsis\Kconfig:7) has direct dependencies 0 with value n, but is currently being y-selected by the following symbols:
 - CPU_CORTEX_M (defined at C:/nordic/myApps/mass/zephyr/arch/arm\core/Kconfig:6), with value y, direct dependencies ARM (value: y), and select condition ARM (value: y)

warning: NRFX_CLOCK (defined at modules\hal_nordic\nrfx/Kconfig:16) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF (defined at drivers/clock_control/Kconfig.nrf:13), with value y, direct dependencies DT_HAS_NORDIC_NRF_CLOCK_ENABLED &amp;amp;&amp;amp; CLOCK_CONTROL (value: y), and select condition !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; DT_HAS_NORDIC_NRF_CLOCK_ENABLED &amp;amp;&amp;amp; CLOCK_CONTROL (value: y)

warning: NRFX_DPPI (defined at modules\hal_nordic\nrfx/Kconfig:28) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_NRF53_RTC_PRETICK (defined at C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig:82), with value y, direct dependencies ((SYS_CLOCK_EXISTS &amp;amp;&amp;amp; SOC_NRF5340_CPUNET) || SOC_NRF5340_CPUAPP) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp; SOC_FAMILY_NORDIC_NRF (value: y), and select condition ((SYS_CLOCK_EXISTS &amp;amp;&amp;amp; SOC_NRF5340_CPUNET) || SOC_NRF5340_CPUAPP) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp; SOC_FAMILY_NORDIC_NRF (value: y)
 - NRF53_SYNC_RTC (defined at C:/nordic/myApps/mass/zephyr/soc/nordic\nrf53\Kconfig.sync_rtc:4), with value y, direct dependencies NRF_RTC_TIMER &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp; SOC_FAMILY_NORDIC_NRF (value: y), and select condition NRF_RTC_TIMER &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp; SOC_FAMILY_NORDIC_NRF (value: y)      
 - UART_0_ENHANCED_POLL_OUT (defined at drivers/serial\Kconfig.nrfx_uart_instance:21), with value y, direct dependencies !n &amp;amp;&amp;amp; HAS_HW_NRF_UARTE0 &amp;amp;&amp;amp; (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) &amp;amp;&amp;amp; (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) &amp;amp;&amp;amp; UART_NRFX &amp;amp;&amp;amp; SERIAL (value: y), and select condition HAS_HW_NRF_DPPIC &amp;amp;&amp;amp; !n &amp;amp;&amp;amp; HAS_HW_NRF_UARTE0 &amp;amp;&amp;amp; (HAS_HW_NRF_PPI || HAS_HW_NRF_DPPIC) &amp;amp;&amp;amp; (HAS_HW_NRF_UART0 || HAS_HW_NRF_UARTE0) &amp;amp;&amp;amp; UART_NRFX &amp;amp;&amp;amp; SERIAL (value: y)      
Parsing C:/nordic/myApps/mass/Kconfig
Loaded configuration &amp;#39;C:/nordic/myApps/mass/zephyr/boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpuapp_defconfig&amp;#39;
Merged configuration &amp;#39;C:/nordic/myApps/mass/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/nordic/myApps/mass/build/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;

warning: NRFX_GPIOTE0 (defined at modules\hal_nordic\nrfx/Kconfig:88) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - GPIO_NRFX (defined at drivers/gpio/Kconfig.nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_NRF_GPIO_ENABLED &amp;amp;&amp;amp; GPIO (value: y), and select condition HAS_HW_NRF_GPIOTE0 &amp;amp;&amp;amp; DT_HAS_NORDIC_NRF_GPIO_ENABLED &amp;amp;&amp;amp; GPIO (value: y)

warning: NRFX_IPC (defined at modules\hal_nordic\nrfx/Kconfig:143) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - MBOX_NRFX_IPC (defined at drivers/mbox/Kconfig.nrfx:4), with value y, direct dependencies DT_HAS_NORDIC_MBOX_NRF_IPC_ENABLED &amp;amp;&amp;amp; MBOX (value: y), and select condition DT_HAS_NORDIC_MBOX_NRF_IPC_ENABLED &amp;amp;&amp;amp; MBOX (value: y)

warning: NRFX_NVMC (defined at modules\hal_nordic\nrfx/Kconfig:157) has direct dependencies (n || n || y || n) &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - SOC_FLASH_NRF (defined at drivers/flash/Kconfig.nrf:10), with value y, direct dependencies (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) &amp;amp;&amp;amp; !FLASH_NRF_FORCE_ALT &amp;amp;&amp;amp; FLASH (value: y), and select condition (DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF52_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF53_FLASH_CONTROLLER_ENABLED || DT_HAS_NORDIC_NRF91_FLASH_CONTROLLER_ENABLED) &amp;amp;&amp;amp; !FLASH_NRF_FORCE_ALT &amp;amp;&amp;amp; FLASH (value: y)

warning: NRFX_POWER (defined at modules\hal_nordic\nrfx/Kconfig:182) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - USB_NRFX (defined at drivers/usb/device/Kconfig:107), with value y, direct dependencies DT_HAS_NORDIC_NRF_USBD_ENABLED &amp;amp;&amp;amp; USB_DEVICE_DRIVER (value: y), and select condition DT_HAS_NORDIC_NRF_USBD_ENABLED &amp;amp;&amp;amp; USB_DEVICE_DRIVER (value: y)

warning: NRFX_QSPI (defined at modules\hal_nordic\nrfx/Kconfig:289) has direct dependencies HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - NORDIC_QSPI_NOR (defined at drivers/flash/Kconfig.nordic_qspi_nor:4), with value y, direct dependencies DT_HAS_NORDIC_QSPI_NOR_ENABLED &amp;amp;&amp;amp; FLASH (value: y), and select condition DT_HAS_NORDIC_QSPI_NOR_ENABLED &amp;amp;&amp;amp; FLASH (value: y)

warning: NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED (defined at modules\hal_nordic\nrfx/Kconfig:20) has direct dependencies NRFX_CLOCK &amp;amp;&amp;amp; HAS_NRFX &amp;amp;&amp;amp; 0 with value n, but is currently being y-selected by the following symbols:
 - CLOCK_CONTROL_NRF_K32SRC_XTAL (defined at drivers/clock_control/Kconfig.nrf:36), with value y, direct dependencies &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y), and select condition !SOC_SERIES_BSIM_NRFXX &amp;amp;&amp;amp; !CLOCK_CONTROL_NRF_FORCE_ALT &amp;amp;&amp;amp; &amp;lt;choice CLOCK_CONTROL_NRF_SOURCE&amp;gt; (value: y)

error: Aborting due to Kconfig warnings

CMake Error at zephyr/cmake/modules/kconfig.cmake:395 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: &amp;#39;C:\Program Files\CMake\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/Users/cagri.demiral/AppData/Local/Programs/Python/Python310/python.exe &amp;#39;-BC:\nordic\myApps\mass\build&amp;#39; -GNinja -DCONFIG_APP_MSC_STORAGE_FLASH_FATFS=y &amp;#39;-SC:\nordic\myApps\mass&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>