<?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>How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52776/how-to-create-a-txt-file-with-nrf52840-and-send-it-through-usb-to-computer</link><description>Hi everyone, 
 I use nrf52840 DK with Segger embedded studio. I have created a project where I read several sensors data and send these data to mobile through BLE UART. 
 I also have an external 512MB flash memory chip where I save all the sampled data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2019 13:23:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52776/how-to-create-a-txt-file-with-nrf52840-and-send-it-through-usb-to-computer" /><item><title>RE: How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/thread/212832?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 13:23:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65edf7d0-68d3-458a-b3e1-e80ea880e921</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;The usbd_msc example uses the FatFS library to handle files (create, erase etc.)&amp;nbsp; and&amp;nbsp; It does not use the stlib.h &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/thread/212801?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 11:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7af6cd89-6eca-42e0-9f51-b75bfb179a7c</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Yes you are right. I refer to the nRF USB next to the reset button not the debugger&amp;#39;s. No I haven&amp;#39;t seen the mass storage example. I will check it out. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/thread/212788?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 10:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d9ebceb-7d30-4464-a8b3-478b804aecf5</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Which &amp;quot;USB cable&amp;quot; are you referring to - there are two on the DK !&lt;/p&gt;
&lt;p&gt;Have you looked at the USB MSC (Mass Storage) example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/usbd_msc_example.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/usbd_msc_example.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/thread/212786?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 10:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aa8e911-f855-4f86-ba4a-2ae56a3cc933</guid><dc:creator>masterLee</dc:creator><description>&lt;p&gt;Yes, your thought is absolutely correct . I just I thought that since I will be using the USB cable,&amp;nbsp; I could use it to create a file with my data this way. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to create a .txt file with nRF52840 and send it through USB to computer</title><link>https://devzone.nordicsemi.com/thread/212775?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 10:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47c31150-74bc-4233-b1c6-b0c66acbc6d0</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Why does it have to be a &lt;em&gt;&lt;strong&gt;file&lt;/strong&gt;&amp;nbsp;on the nRF&amp;nbsp;&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t it make more sense to just have the nRF send the data, then the phone - which is far better equipped for such things - can put it into a file, if required.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>