<?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>Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working</link><description>I&amp;#39;m getting started developing an app for nRF52811. have worked with nRF52832 before. I was wanting to start my development on top of the basic ble app template project, from the supplied example code in SDK15.3.0 and running the p10056e version (which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 09:31:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working" /><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207618?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 09:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87a0daa-de2e-4605-a5b7-30eed56d22d2</guid><dc:creator>awneil</dc:creator><description>[quote userid="8164" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working/207608"]I think a better location would be in the &amp;quot;Testing&amp;quot; section of all example[/quote]
&lt;p&gt;Sounds reasonable - like the note that says, &amp;quot;remember to program the SoftDevice&amp;quot; on the BLE examples...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="8164" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working/207608"]Or maybe instead a small FAQ / troubleshooting page[/quote]
&lt;p&gt;That would be good - in general.&lt;/p&gt;
&lt;p&gt;Although we know that people don&amp;#39;t look at such things, but just jump straight onto the forum...&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207608?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 09:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96b9a2c9-ffc0-4d32-82ee-ea43b8065d08</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think a better location would be in the &amp;quot;Testing&amp;quot; section of all examples. A note that application data is not erased when programming , so we recommend to erase flash before programming if the board has been previously used with a different application.&lt;/p&gt;
&lt;p&gt;Or maybe instead a small FAQ / troubleshooting page, covering typical error situations (like this one), that can be linked to from each example documentation page?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207448?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 14:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901ac98f-d403-4a87-a876-97a556efd2d1</guid><dc:creator>awneil</dc:creator><description>[quote userid="8164" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working/207428"]for many use cases it is a better default behavior to keep application data when (re)flashing the application[/quote]
&lt;p&gt;I agree.&lt;/p&gt;
[quote userid="8164" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working/207428"]It is easy to erase all before programming, when an empty data storage is needed[/quote]
&lt;p&gt;Indeed.&lt;/p&gt;
&lt;p&gt;But it can be a surprise that stuff is &amp;quot;left over&amp;quot; - as here, and as I referenced earlier.&lt;/p&gt;
&lt;p&gt;Maybe this could be noted in the FDS and/or fstorage documentation ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207428?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 13:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:698851f8-7023-4451-af78-f9281a9f0f99</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Let me add that for many use cases it is a better default behavior to keep application data when (re)flashing the application, than to remove it.&lt;/p&gt;
&lt;p&gt;It is easy to erase all before programming, when an empty data storage is needed.&lt;/p&gt;
&lt;p&gt;It can be complicated to restore application data that was erased during programming, when that is what you need.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207406?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f03a3340-3379-4d21-af60-06afad93109f</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;This was a &amp;quot;previously enjoyed&amp;quot; DevKit - wasn&amp;#39;t it?&lt;/p&gt;
&lt;p&gt;So some previous project had probably been correctly configured to use FDS.&lt;/p&gt;
&lt;p&gt;But now you&amp;#39;ve changed the whole memory layout (to emulate a different chip) - so the FDS gets confused byt finding some &amp;quot;left over&amp;quot; bits in Flash.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not a bad practive to do a full chip erase whenever you start a new project.&lt;/p&gt;
&lt;p&gt;The thing with persistent storage is that it will, well ... persist!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207405?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:43:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8865235-260c-43d3-a857-d1b0132d4b79</guid><dc:creator>Julian</dc:creator><description>&lt;p&gt;When I first noticed the issue, it&amp;nbsp;was originally in a modified folder as I was trying to target my new hardware as well as the DK board... but I had jumped back to a&amp;nbsp;brand new untouched whole SDK folder in a different HDD location before posting this, and was getting the same issue.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Anyway- manually&amp;nbsp;attaching the debugger and manually clearing from there seems to have fixed my issue (on the DK board at least... will check the problem is also better on my custom board tomorrow when I get back to it)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So whats the deal with the un-erased flash? is there a way I can configure my project to actually clear out the whole chip on programming for a debug session?&amp;nbsp;If something so crippling can happen when things go wrong, I feel that might be useful. &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207402?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e78617c-c3be-4fe6-912f-f6cff6562929</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;I&amp;#39;ve certainly seen Nordic Fatal Errors&amp;nbsp;from FDS crashing due to stuff &amp;quot;left over&amp;quot; in Flash...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50359/fds-init-fail-error-11/201007#201007"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/50359/fds-init-fail-error-11/201007#201007&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207399?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:310268c6-6c44-4464-8554-2590a90f8428</guid><dc:creator>Julian</dc:creator><description>&lt;p&gt;there is no debug build for the 10056e for SES... but having a look&amp;nbsp; there is a debug build for 10056, so I will try to copy that configuration across as a build option for 10056e... I guess it&amp;#39;ll be helpful next time something funny happens.. unless debug build isn&amp;#39;t in the project for 10056e for a reason?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;by &amp;quot;run off into the weeds&amp;quot; yeah I could have explained that better - it was getting trapped in the handler.. but since it wasn&amp;#39;t compiling&amp;nbsp;a&amp;nbsp;debug build, there wasn&amp;#39;t much in the way of useful info I could see when it got there.&lt;br /&gt;&lt;br /&gt;Anyway.. it seems that the full erase has fixed it... I haven&amp;#39;t seen that kind of issue before with nRF52832 or any other arm processor..&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207393?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e9f097-6dee-4bf2-80bc-6fa86da8dd17</guid><dc:creator>awneil</dc:creator><description>[quote userid="8164" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working/207389"]&amp;quot;nrfjprog -e&amp;quot;, or use the nRF Connect programmer [/quote]
&lt;p&gt;Or &lt;strong&gt;Target &amp;gt; Erase All&lt;/strong&gt; in the SES IDE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207389?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 12:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec14239a-68bd-4568-a971-8bcc8f29a97e</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have no trouble running the (unmodified) ble_app_template_pca10056e_s112 example from nRF5 SDK v15.3.0 on a PCA10056 board here. Are you running the unmodified example?&lt;/p&gt;
&lt;p&gt;One first trick is to erase flash on the DK before programming. in case anything is left in UICR or in application storage flash pages. (&amp;quot;nrfjprog -e&amp;quot;, or use the nRF Connect programmer app.)&lt;/p&gt;
&lt;p&gt;As suggested by &lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;, with the Debug configuration you should get more information about what may be the issue.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is the SDK ble_app_template project for PC10056e properly working?</title><link>https://devzone.nordicsemi.com/thread/207371?ContentTypeID=1</link><pubDate>Mon, 02 Sep 2019 11:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f45c1578-9038-44c0-8ad9-966e609a183a</guid><dc:creator>awneil</dc:creator><description>[quote userid="82964" url="~/f/nordic-q-a/51647/is-the-sdk-ble_app_template-project-for-pc10056e-properly-working"]the app crashes and runs off into the weeds[/quote]
&lt;p&gt;It shouldn&amp;#39;t &amp;quot;run off into the weeds&amp;quot; - it should just end up in the Error Handler.&lt;/p&gt;
&lt;p&gt;With the Debug configuration, you should get some info on the Log output to say what the error is ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>