<?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>Uploading files using the filesystem module with MCUMGR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79696/uploading-files-using-the-filesystem-module-with-mcumgr</link><description>I&amp;#39;m trying to upload image asset binary files onto a custom hw that uses the nrf52833 mcu. I use mcumgr for performing DFUs and I would like to use it to upload the binary files which is outlined here: 
 docs.zephyrproject.org/.../mcumgr.html 
 Unfortunately</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Sep 2021 19:12:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79696/uploading-files-using-the-filesystem-module-with-mcumgr" /><item><title>RE: Uploading files using the filesystem module with MCUMGR</title><link>https://devzone.nordicsemi.com/thread/330352?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 19:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b587198e-2dfe-4355-8201-06284e2518ed</guid><dc:creator>Vitalacy Guy</dc:creator><description>&lt;p&gt;So during tuning my project&amp;#39;s kconfig settings I found out that by increasing the value of&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE&lt;/pre&gt; it fixed the usage fault. For anyone else that is having the same issue uploading files using mcumgr fs, try modifying this setting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading files using the filesystem module with MCUMGR</title><link>https://devzone.nordicsemi.com/thread/330351?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 18:38:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aa7d1e0-12b5-49cf-86c6-c35210838a33</guid><dc:creator>Vitalacy Guy</dc:creator><description>&lt;p&gt;GOOD-ish NEWS! After messing around with the logging kconfigs, I managed to get J-Link RTT viewer to print out all the logs, which is showing this usage fault error whenever I try to run a fs upload command. Does anyone know how or why this is caused?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:35.650,756] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
[00:00:35.650,756] &amp;lt;err&amp;gt; os:   Illegal load of EXC_RETURN into PC
[00:00:35.650,787] &amp;lt;err&amp;gt; os: r0/a1:  0x200019c4  r1/a2:  0x000000ff  r2/a3:  0x200026dc[0m
[00:00:35.650,787] &amp;lt;err&amp;gt; os: r3/a4:  0x00000000 r12/ip:  0x2000b63c r14/lr:  0x00000000
[00:00:35.650,787] &amp;lt;err&amp;gt; os:  xpsr:  0xfffffe00
[00:00:35.650,817] &amp;lt;err&amp;gt; os: r4/v1:  0x2000b63c  r5/v2:  0x00000000  r6/v3:  0xffffffff
[00:00:35.650,817] &amp;lt;err&amp;gt; os: r7/v4:  0xffffffff  r8/v5:  0x00000800  r9/v6:  0x0000000b
[00:00:35.650,817] &amp;lt;err&amp;gt; os: r10/v7: 0x200099f4  r11/v8: 0x00000004    psp:  0x20013fc0
[00:00:35.650,817] &amp;lt;err&amp;gt; os: EXC_RETURN: 0xfffffffd
[00:00:35.650,848] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0xffffffff
[00:00:35.650,878] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:35.650,878] &amp;lt;err&amp;gt; os: Current thread: 0x20004268 (sysworkq)
[00:00:36.005,371] &amp;lt;err&amp;gt; os: Halting system&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading files using the filesystem module with MCUMGR</title><link>https://devzone.nordicsemi.com/thread/330344?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 16:55:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e2b2f0f-ba9d-41c7-b093-7dbad06e3abe</guid><dc:creator>Vitalacy Guy</dc:creator><description>&lt;p&gt;Unfortunatly I tried this using my custom board config based on the&amp;nbsp;&lt;span&gt;nRF52833DK and it caused a crash. I should mention that my board has the littlefs partition on a external flash that communicates via spi, which is where the crash occurs&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uploading files using the filesystem module with MCUMGR</title><link>https://devzone.nordicsemi.com/thread/329825?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 12:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be366cbc-5048-4341-bad7-02701f8a9f9d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I were able to upload a file to the nRF52833DK using the zephyr&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html"&gt; SMP server sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To flash I did:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b nrf52833dk_nrf52833 -- -DOVERLAY_CONFIG=&amp;#39;overlay-bt.conf&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then I used a laptop with Bluetooth and mcumgr to do:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcumgr --conntype ble --connstring peer_name=&amp;quot;device123&amp;quot; fs upload send.txt /lfs1/tmp.txt
mcumgr --conntype ble --connstring peer_name=&amp;quot;device123&amp;quot; fs download /lfs1/tmp.txt receive.txt&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Does this work for you?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>