<?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 device (USBD) controller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36232/usb-device-usbd-controller</link><description>How can I modify the USBD example of creating a mass staorage device to have only 1 drive (when I run the example, I get 3) ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jul 2018 15:09:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36232/usb-device-usbd-controller" /><item><title>RE: USB device (USBD) controller</title><link>https://devzone.nordicsemi.com/thread/139615?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 15:09:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ab349ce-ef24-4816-a6df-534cb3e1f11e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Not&amp;nbsp;specifically. The documentation for the&amp;nbsp;&lt;span&gt;Schedule handling library can be found &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/lib_scheduler.html?cp=4_0_0_3_36"&gt;here&lt;/a&gt;.&amp;nbsp;For an example usage of the scheduler, see the implementations of&amp;nbsp;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_hids_mouse.html"&gt;HID Mouse Application&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a class="el" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_hids_keyboard.html"&gt;HID Keyboard Application&lt;/a&gt;. We have a tutorial &lt;a href="https://devzone.nordicsemi.com/tutorials/b/software-development-kit/posts/scheduler-tutorial"&gt;here&lt;/a&gt;, but it&amp;#39;s a bit outdated(SDK 11).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB device (USBD) controller</title><link>https://devzone.nordicsemi.com/thread/139550?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 11:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01d1b3cb-5d05-4e2c-9b12-1285aa481354</guid><dc:creator>Mo</dc:creator><description>&lt;p&gt;That worked. thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there an example (or write up) on how to make the USBD mass-storage to run off of the scheduler?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB device (USBD) controller</title><link>https://devzone.nordicsemi.com/thread/139523?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 08:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88c44c2c-bcd2-4a46-aa21-a93d01b47bae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is covered by the documentation for the example, see &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/usbd_msc_example.html?cp=4_0_0_4_5_49_6"&gt;this link&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Quote:&lt;/span&gt;&lt;/p&gt;
[quote]Every logical unit is a block device instance that describes the physical memories. To choose which block devices should be visible as an MSC logical unit, you must modify BLOCKDEV_LIST.[/quote]
&lt;p&gt;The blockdev list looks like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BLOCKDEV_LIST() (                                   \
    NRF_BLOCKDEV_BASE_ADDR(m_block_dev_ram, block_dev),     \
    NRF_BLOCKDEV_BASE_ADDR(m_block_dev_empty, block_dev),   \
    NRF_BLOCKDEV_BASE_ADDR(m_block_dev_qspi, block_dev)     \
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So if you only want e.g. the QSPI memory, you can change the blockdev list to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define BLOCKDEV_LIST() (                                   \
    NRF_BLOCKDEV_BASE_ADDR(m_block_dev_qspi, block_dev)     \
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>