<?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>ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66548/issue-combining-ble-dfu-and-dfu-serial</link><description>Hi, I am working on a project where I need to add ble dfu as well as serial dfu issue I am getting on adding serial dfu to ble example I am getting error variables undeclared whereas on navigating it reads the variable file nrf_error.h</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2024 08:19:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66548/issue-combining-ble-dfu-and-dfu-serial" /><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/512885?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2024 08:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bee18472-4e64-4e02-9a5d-8e631622b397</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Please create a new ticket for your question.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/512832?ContentTypeID=1</link><pubDate>Sat, 30 Nov 2024 03:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e0d7dc-f7c7-4fd0-a9c9-54d13f020704</guid><dc:creator>name</dc:creator><description>&lt;p&gt;Hello, have you solved the problem of undeclared variables? I check the nrf_error.h path in nrf_nvic.c is from \nRF5_SDK_17.0.2_d674dde\components\drivers_nrf\nrf_soc_nosd, Did not navigate to \components\softdevice\[your softdevice]\headers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/273384?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 08:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f48d037-f6d6-404a-9be1-0be945257534</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ahtasham,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what could be the problem. But we have an example here for SDK v15.2 that combine BLE+UART DFU. Maybe it&amp;#39;s a good source for you to check what&amp;#39;s the issue with your code:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support-private/support/208349#permalink=425347"&gt;devzone.nordicsemi.com/.../208349&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/273374?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2020 07:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e03b9516-13f2-44ed-89ae-08e38fd625de</guid><dc:creator>Ahtasham Baig</dc:creator><description>&lt;p&gt;Sorry, my bad I missed configuration in SDK for SLIP ENABLED, after resolving this I happed to compile my code properly but the issue is when I try to perform dfu for uart it gives an error with nrfutil as below, however for ble dfu working properly kindly help me with uart:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;C:\Users\MST-WS-016\AppData\Local\Programs\Python\Python37\Scripts\nrfutil-script.py&amp;quot;, line 11, in &amp;lt;module&amp;gt;&lt;br /&gt; load_entry_point(&amp;#39;nrfutil==6.1.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)()&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 764, in __call__&lt;br /&gt; return self.main(*args, **kwargs)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 717, in main&lt;br /&gt; rv = self.invoke(ctx)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 1137, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 1137, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 956, in invoke&lt;br /&gt; return ctx.invoke(self.callback, **ctx.params)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\roaming\python\python37\site-packages\click\core.py&amp;quot;, line 555, in invoke&lt;br /&gt; return callback(*args, **kwargs)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\__main__.py&amp;quot;, line 1056, in serial&lt;br /&gt; timeout)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\__main__.py&amp;quot;, line 970, in do_serial&lt;br /&gt; dfu.dfu_send_images()&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\dfu\dfu.py&amp;quot;, line 127, in dfu_send_images&lt;br /&gt; self._dfu_send_image(self.manifest.application)&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\dfu\dfu.py&amp;quot;, line 88, in _dfu_send_image&lt;br /&gt; self.dfu_transport.open()&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 217, in open&lt;br /&gt; self.__get_mtu()&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 364, in __get_mtu&lt;br /&gt; response = self.__get_response(DfuTransportSerial.OP_CODE['GetSerialMTU'])&lt;br /&gt; File &amp;quot;c:\users\mst-ws-016\appdata\local\programs\python\python37\lib\site-packages\nrfutil-6.1.0-py3.7.egg\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 505, in __get_response&lt;br /&gt; get_dict_key(DfuTransport.RES_CODE, resp[2])))&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Response Code NotSupported&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/273256?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 13:35:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf880848-07c6-4658-b3a6-8f6a062f4ea4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;When you see an error, please try to understand it.&lt;br /&gt;When it says &amp;quot;Undefined symbol&amp;quot; it means the symbol is not defined, and most likely the .h header file was not included.&amp;nbsp;&lt;br /&gt;Please check in the original example where it&amp;#39;s defined.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/273078?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 06:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1e518b6-d8c5-44d8-9bfe-9e70e668a81a</guid><dc:creator>Ahtasham Baig</dc:creator><description>&lt;p&gt;.\_build\nrf52840_xxaa_s140.axf: Error: L6218E: Undefined symbol slip_decode_add_byte (referred from nrf_dfu_serial_uart.o).&lt;br /&gt;.\_build\nrf52840_xxaa_s140.axf: Error: L6218E: Undefined symbol slip_encode (referred from nrf_dfu_serial_uart.o).&lt;br /&gt;Not enough information to list image symbols.&lt;br /&gt;Finished: 1 information, 0 warning and 2 error messages.&lt;br /&gt;&amp;quot;.\_build\nrf52840_xxaa_s140.axf&amp;quot; - 2 Error(s), 0 Warning(s).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/272892?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 08:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1226e85d-46ab-4be1-9cb9-5254322ba1b8</guid><dc:creator>Ahtasham Baig</dc:creator><description>&lt;p&gt;I tried that but on change size to 0x7000 And start address to 0xF7000 it give me for some functions not defined like slip_encode&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/272879?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 07:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c2afea7-7ccc-4054-86e5-e2f7130fb8c4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you increase the bootloader memory you would need to move the bootloader down in flash.&amp;nbsp; So if you change the flash size to 0x7000 you would need to set the start address to 0xF7000 and so on (if size is 0x8000, then the start address should be 0xF6000). Othewise you will exceed the actual flash size of the chip.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/272817?ContentTypeID=1</link><pubDate>Sat, 03 Oct 2020 04:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5adc80e5-54e5-4578-a44c-b2ec89091ed5</guid><dc:creator>Ahtasham Baig</dc:creator><description>&lt;p&gt;I am actually trying to merge ble dfu with Serial DFU issue with after adding all files it gives an error for memory so I increase memory to 0x7000 and start address same as 0xF8000 I am not sure how to manage data memory address as according to this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Flib_bootloader.html&amp;amp;cp=7_1_3_5_0_7&amp;amp;anchor=lib_bootloader_memory"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.0.0%2Flib_bootloader.html&amp;amp;cp=7_1_3_5_0_7&amp;amp;anchor=lib_bootloader_memory&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the project bootloader already allotted 24kb memory&lt;/p&gt;
&lt;p&gt;Start address 0xF8000&lt;/p&gt;
&lt;p&gt;Size: 0x6000 - 24 Kb&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ISSUE Combining BLE DFU and DFU Serial</title><link>https://devzone.nordicsemi.com/thread/272576?ContentTypeID=1</link><pubDate>Thu, 01 Oct 2020 13:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dac6050-1695-467f-8f14-ac1314525dd3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ahtasham,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The compiler complained about undefined macro NRF_SUCCESS and so on. They are defined in nrf_error.h You may want to check if you have included the path to nrf_error.h. It&amp;#39;s located in&amp;nbsp;\components\softdevice\[your softdevice ]\headers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>