<?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>nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40867/nrf52840-dk-may-i-run-two-example-applications-at-the-same-time-in-the-same-board</link><description>In order to establish a wireless connection from my pca10056 developing card and a second nRF52840 SoC module using example CLI commands, and then being able to check/set several parameters in the SoC module, I would need programming two different example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Dec 2018 20:15:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40867/nrf52840-dk-may-i-run-two-example-applications-at-the-same-time-in-the-same-board" /><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/162961?ContentTypeID=1</link><pubDate>Mon, 24 Dec 2018 20:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03cd5798-68b6-496f-b1de-8bd482368680</guid><dc:creator>awneil</dc:creator><description>[quote userid="72279" url="~/f/nordic-q-a/40867/nrf52840-dk-may-i-run-two-example-applications-at-the-same-time-in-the-same-board/162959"]a non&amp;nbsp;qualified&amp;nbsp;sw&amp;nbsp;developer&amp;nbsp;[/quote]
&lt;p&gt;What do you mean by that?&lt;/p&gt;
&lt;p&gt;You&amp;nbsp;really need to be a competent &amp;#39;C&amp;#39; developer - experience with embedded microcontrollers and comms would be a distinct advantage.&lt;/p&gt;
&lt;p&gt;Here is the Nordic documentation:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib"&gt;https://www.nordicsemi.com/DocLib&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is a blog post on the subject:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/merging-two-ble-examples-together"&gt;https://devzone.nordicsemi.com/b/blog/posts/merging-two-ble-examples-together&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/162959?ContentTypeID=1</link><pubDate>Mon, 24 Dec 2018 17:45:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62fbf862-8b44-40fe-9304-3471aa91bbf7</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Thanks for clarifying this concept Awneil.&lt;/p&gt;
&lt;p&gt;I feel a bit embarrassed&amp;nbsp;about the confusion though. Any way. I reckon&amp;nbsp;that even if the merge has to be done at the source level, is not going to be as easy as directly&amp;nbsp;copy-pasting&amp;nbsp;the scrip from&amp;nbsp;the examples to be merged so, first of all, could you tell me if this process is something a non&amp;nbsp;qualified&amp;nbsp;sw&amp;nbsp;developer&amp;nbsp;could face with a little&amp;nbsp;bit of help and&amp;nbsp;what the main guidelines would be, or in case the answer would be no, refer me to some comprehensive documentation&amp;nbsp;to understand the complexity of this process? Thanks so much.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/162159?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 17:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:911a7ef0-bf4c-4977-a3e9-5c1e2903bae7</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;When &lt;a href="https://devzone.nordicsemi.com/members/jared"&gt;Jared&lt;/a&gt; suggested that you &amp;quot;&lt;em&gt;merge your examples&lt;/em&gt;&amp;quot;, he meant at the &lt;em&gt;&lt;strong&gt;source&lt;/strong&gt; &lt;/em&gt;code level:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/merging-two-ble-examples-together"&gt;devzone.nordicsemi.com/.../merging-two-ble-examples-together&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You cannot just take the hex files from two separate examples and merge them together!&lt;/p&gt;
&lt;p&gt;It doesn&amp;#39;t work like that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/162152?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 16:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19e8c2aa-de29-4c73-b1bf-e404dd460b94</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Jared.&lt;/p&gt;
&lt;p&gt;I finally found how to merge hex files successfully.&lt;/p&gt;
&lt;p&gt;I am using the SES IDE. When I load&amp;nbsp;one SDK example, I see several folders on the Project Explorer panel. If the goal is merging two different SDK&amp;nbsp;examples and being able to&amp;nbsp;program the merged file to my PCA10056&amp;nbsp;ble&amp;nbsp;device but keeping the functionalities of both examples, which files from the Project Explorer should I merge from each of them? and, which tool should I use to flash the resulting merged output into the target device, making sure&amp;nbsp;that the device&amp;nbsp;flashed memory&amp;nbsp;contains all the components needed to be fully functional (Application, SoftDevice, MBR,&amp;nbsp;vector info, App data etc)? Is SES able to do it all or I&amp;#39;ll have to use the nRF Connect Programmer&amp;nbsp;app and flash each component one by one?&lt;/p&gt;
&lt;p&gt;It is obvious I am a newbie&amp;nbsp;in developing matters, but I have a good idea to implement though. Would you please guide me? I would certainly appreciate it. Thanks for your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/160986?ContentTypeID=1</link><pubDate>Mon, 10 Dec 2018 12:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd5427f-7820-4b15-9e7a-360cd1eb5357</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;The error code is now different from before. The previous error code was about the path, this one says:&lt;em&gt;&lt;strong&gt; &amp;quot;One of The files to merge is not a valid hex file&amp;quot;.&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Which clearly explains what the cause of the error is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/160731?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 12:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f295d63-0d94-4b5d-8fdb-b19251c72da0</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;&amp;nbsp;I&amp;nbsp;tried it again but this time using two SDK original files from the blinky example. Then I just copy&amp;nbsp;pasted each windows tree. The command syntax seems to be correct, but again the same error.&amp;nbsp;I am afraid&amp;nbsp;it must be something else?:&lt;/p&gt;
&lt;p&gt;----------------------------------------------------&lt;/p&gt;
&lt;p&gt;Microsoft Windows [Versi&amp;oacute;n 10.0.17134.407]&lt;br /&gt;(c) 2018 Microsoft Corporation. Todos los derechos reservados.&lt;/p&gt;
&lt;p&gt;C:\Users\jtorr&amp;gt;mergehex -m C:\Nordic\SDK\nRF5_SDK_15.2.0_9412b96\examples\peripheral\blinky\hex C:\Nordic\SDK\nRF5_SDK_15.2.0_9412b96\examples\peripheral\blinky\hex -o out.hex&lt;br /&gt;Parsing input hex files.&lt;br /&gt;ERROR: One of the files to merge is not a valid hex file.&lt;/p&gt;
&lt;p&gt;C:\Users\jtorr&amp;gt;&lt;/p&gt;
&lt;p&gt;----------------------------------------------------&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/160690?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 09:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08f71410-5e7c-4dd4-95c8-27a16d906982</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Either the path is incorrect or the name of the files is. The error message isn&amp;#39;t shown otherwise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/160645?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 22:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e3d70d1-6081-4fba-a17f-169c7003e829</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Jared.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to merge two hex files&amp;nbsp;through mergehex&amp;nbsp;command, but I consistently get this error message:&lt;/p&gt;
&lt;p&gt;C:\Users\jtorr&amp;gt;mergehex -m ble_app_interactive_s140_pca10056.hex radio_test_pca10056.hex -o merge_app.hex&lt;br /&gt;Parsing input hex files.&lt;br /&gt;ERROR: One of the files to merge cannot be found.&lt;/p&gt;
&lt;p&gt;C:\Users\jtorr&amp;gt;&lt;/p&gt;
&lt;p&gt;Of course, both files are in the Windows path&lt;/p&gt;
&lt;p&gt;Any suggestion?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 DK. May I run two example applications at the same time in the same board?</title><link>https://devzone.nordicsemi.com/thread/159252?ContentTypeID=1</link><pubDate>Tue, 27 Nov 2018 14:13:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a627e9e5-448c-4b0c-83ea-ea98f9af3726</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I strongly suggest that you merge your examples. The use of thread would require you to use an OS, which would be much more complicated than merging. In addition, the Softdevice isn&amp;#39;t thread safe which would make it unsafe to use with threading.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>