<?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 program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8178/how-to-program-pca10028-by-drag-and-drop</link><description>Hello, 
 I want to use the Segger drag and drop programming feature on the PCA10028.
I have got a running application with the S120 softdevice.
To use the mass storage drag and drop feature of the PCA10028, I merged my application .hex file and the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2015 10:14:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8178/how-to-program-pca10028-by-drag-and-drop" /><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29400?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 10:14:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6031b81-f809-4fa7-8340-5161cc34d40c</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Yes, I was expecting that the order was the problem. ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29399?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 07:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45273c93-5806-4728-b9e0-857007f61afb</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Then something with mergehex. Its ok as long as this is solvable by reversing the order. Can you please attach your two hex files zipped here so that later the team looks into it.
Thanks for your time :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29398?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 07:01:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0713922b-656a-4842-b7d5-00f61d184981</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Yes, the files are identical.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29391?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 07:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4808dd4e-66b7-4c57-a573-f23f949c61d7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi BTprogrammer,
Can you please accept the answer by clicking ✓ left to the answer before closing it. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29397?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:52:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e6548ff-4fa8-488a-9078-376aef5fa973</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;erase your device -&amp;gt; nrfjprog -e&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;
&lt;p&gt;flash softdevice -&amp;gt; nrfjprog --program S120_softdevice.hex&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;read uicr -&amp;gt; nrfjprog --readuicr soft.uicr&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;flash application -&amp;gt; nrfjprog --program application.hex&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;read uicr -&amp;gt; nrfjprog --readuicr app.uicr&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;both .uicr files should be same if your app is not writing anything to UICR&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29396?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a66aafa9-61c9-48da-9ff4-39d6b14f9d90</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Ok, but I don`t think that our application is writing to the UICR registers. How can I clarify, if there is any overlapping address?&lt;/p&gt;
&lt;p&gt;Regards,
BTprogrammer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29390?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:44:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f40e3a02-4944-408f-a45a-ab371d2992ba</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hello, I posted my mergerhex command in one of the comments of Aryan answers.
Regards,
BTprogrammer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29395?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a90a66a-2469-4450-a570-61d528890a3b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Seems like you have an overlapping addresses in the S120_softdevice.hex and application.hex.
Is your application writing to UICR?  It should not matter with the order of the hex while merging unless there is some conflict.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29394?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:28:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc02ed7d-4d72-4daf-b07e-d6409f3c03d4</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I think I found my mistake. It seems that the order of how to merge the .hex files assumes a role:&lt;/p&gt;
&lt;p&gt;mergehex.exe -m application.hex s120_softdevice.hex -o complete.hex
--&amp;gt; works fine with drag and drop feature&lt;/p&gt;
&lt;p&gt;mergehex.exe -m s120_softdevice.hex application.hex -o complete.hex
--&amp;gt; doesn`t work with drag and drop feature&lt;/p&gt;
&lt;p&gt;Now I`m able to use the drag and drop feature.
Thanks for support.&lt;/p&gt;
&lt;p&gt;Regards,
BTprogrammer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29389?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69bf0304-f60e-4e6e-acf2-8c4096de71a6</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;p&gt;Could you post the exact cmd you used for mergehex?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29393?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2015 06:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8866d0a5-f544-411d-bf41-1f21f35cec6e</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Good morning,&lt;/p&gt;
&lt;p&gt;What do you mean with &amp;quot;role&amp;quot;? The BLE role? My application runs as an peripheral.&lt;/p&gt;
&lt;p&gt;Yes, If the softdevice and my application .hex files are programmed separately with nrfjprog, it works. I used the following commands:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;nrfjprog.exe --program s120_softdevice.hex --chiperase&lt;/li&gt;
&lt;li&gt;nrfjprog.exe --program application.hex&lt;/li&gt;
&lt;li&gt;nrfjprog.exe --run&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;But if I use the mass storage drag and drop feature, it seems as the device doesn&lt;code&gt;t even start running. So I don&lt;/code&gt;t know how to debug the application when using the drag and drop feature.&lt;/p&gt;
&lt;p&gt;Regards,
BTprogrammer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to program PCA10028 by drag and drop</title><link>https://devzone.nordicsemi.com/thread/29392?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 18:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7fbc735-368c-4db8-8f5b-4127c177a602</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;What is the role of your application?
if you program softdevice and application separately with nrfjprog does your application work?
Are you able to debug your application, if yes, then find out where it fails.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>