<?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 and SDCard stack fail when remove files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110961/usb-and-sdcard-stack-fail-when-remove-files</link><description>Hi, 
 in our application we use SDCard and USB stack with the following configuration: 
 
 The communication with the nRF5340 is done by using a Linux Embedded systems. When the device is connected to Linux, I copy a folder inside the SDCard without any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 May 2024 10:56:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110961/usb-and-sdcard-stack-fail-when-remove-files" /><item><title>RE: USB and SDCard stack fail when remove files</title><link>https://devzone.nordicsemi.com/thread/486634?ContentTypeID=1</link><pubDate>Thu, 30 May 2024 10:56:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8528b376-69c4-45d1-b8f6-dae1f8febe94</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Thanks, I sent a reply in the private chat.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB and SDCard stack fail when remove files</title><link>https://devzone.nordicsemi.com/thread/486620?ContentTypeID=1</link><pubDate>Thu, 30 May 2024 10:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:151ab08f-2a89-4c00-895a-d9d67a5bc398</guid><dc:creator>warcomeb-am</dc:creator><description>&lt;p&gt;Hi &lt;span style="background-color:#eeeeee;"&gt;&lt;a href="https://devzone.nordicsemi.com/members/hkn"&gt;Håkon Alseth&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;sorry for the delay of my reply. You understan well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I share with you the log of the mount and copy process. I&amp;#39;ll send you in a private way.&lt;/p&gt;
&lt;p&gt;For the debug, I am so sorry but we don&amp;#39;t have the possibility of prints log during the operation.&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB and SDCard stack fail when remove files</title><link>https://devzone.nordicsemi.com/thread/482236?ContentTypeID=1</link><pubDate>Tue, 07 May 2024 10:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebe45c62-0695-444b-b341-45650709fc39</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I understand correctly, the issue is related to when mounting the SD card through the nRF5340, and doing a copy/rm sequence through the nRF.&lt;/p&gt;
&lt;p&gt;If removing the SD-card, placing it into a SD-card reader and performing the same operation; it is successful. Please correct me if I am mistaken.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]When I remove the folder and put into a new one the copy fails and the linux systems told us that the memory was corrupted.[/quote]
&lt;p&gt;Can you share the process (cp / rm process) and the error/warning that is emitted?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you able to get any logs from the nRF while this operation is on-going?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>