<?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>Reading File content of RAM in MSC example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55635/reading-file-content-of-ram-in-msc-example</link><description>Hi, 
 I am using NRF52. i have custom board on that external flash and SD card is not available. i want to use msc class so that i can drag and drop file and read it in controller. i tried to use msc example by making following changes.. 
 static diskio_blkdev_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Dec 2019 10:50:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55635/reading-file-content-of-ram-in-msc-example" /><item><title>RE: Reading File content of RAM in MSC example</title><link>https://devzone.nordicsemi.com/thread/225848?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 10:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026612a4-5129-4f02-a3ae-76fe0db92001</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve been discussing the issue with a colleague. Can you edit the following in sdk.config:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 1
#endif
// &amp;lt;o&amp;gt; NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL  - Default Severity level
 
// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
#define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 4
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This should give us more information in the terminal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our concern is that the fatfs is not properly initialized, and that is causing the issue. Are you basing your code on the USB MSC example? Be aware that FatFS&amp;nbsp;will c&lt;span&gt;reate a FAT volume on the logical drive when button 3 is pressed. Do you have these pins in use? There may be conflicts with GPIO on your custom board and the example itself.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading File content of RAM in MSC example</title><link>https://devzone.nordicsemi.com/thread/225716?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 15:46:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:849b2cb5-bbdc-48e1-b8d4-4fc737ea2051</guid><dc:creator>maxxware</dc:creator><description>&lt;p&gt;Thanks for your response. I had tested usb msc but issue it that in my custom board external flash and sd card is not available&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reading File content of RAM in MSC example</title><link>https://devzone.nordicsemi.com/thread/225661?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 13:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:378201dc-d246-4ef8-a1bc-b9da27b85954</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
[quote user=""]i have custom board on that external flash and SD card is not available.[/quote]
&lt;p&gt;I do not understand what you mean, do you have both an external flash and an SD card?&amp;nbsp;&lt;/p&gt;
[quote user=""]but when i called&amp;nbsp;disk_state = disk_initialize(0); this return fail state[/quote]
&lt;p&gt;&amp;nbsp;Did you test with our USB MSC example on your custom board?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>