<?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>Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33875/secure-ota-failed-in-custom-board</link><description>Hi, 
 I had Completed secure OTA in my custom board (RL nRf51822 A1). 
 We have to PCBs. 1). Old Design 2). New Design 
 1). Old Design: We have connected relay on pin(p6) through transistor doide circuit(BC457 and 1N4007). In that secure OTA worked successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 May 2018 07:16:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33875/secure-ota-failed-in-custom-board" /><item><title>RE: Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/thread/130440?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 07:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7754d7de-dbd9-41c4-958b-5398fbd74911</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please try to read the flash out and check if the new image is copied to the application flash area as it supposed to be (use &lt;strong&gt;nrfjprog --readcode&lt;/strong&gt;&amp;nbsp;, then compare hexes)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to debug the bootloader if the image is copied correctly. Check why it stays in bootloader mode but not enterring application. There is a check for valid application in side the bootloader initial code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can step in the code and check the difference between with and without the transistor, what make the difference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You may need to use the _debug version of the bootloader and change the optimization level to 0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/thread/130359?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 06:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53095398-75a0-4800-8be9-ea6a1b5d8938</guid><dc:creator>Nilesh Bhavsar</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am using SDK 12.2 in that my &lt;span&gt;BOOTLOADER_BUTTON&lt;/span&gt; is BSP_BUTTON_3 which is actually BUTTON_4 and its connected with pin no. 20.&lt;/p&gt;
&lt;p&gt;But in my case, if i remove transistor than everything is working properly and this transistor is used for triggering relay. Also we put same connection circuit in our old Design which works properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/thread/130310?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 14:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e9fd032-81bb-400e-aa37-d960fdd3b86a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Which SDK are you using ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Note that we use a button in the bootloader to detect that it has to stay in bootloader instead of jumping to application. P0.18 is button 2 on our DK, but is there any chance that you used button 2 (P0.18) to enter bootloader mode in your application ?&amp;nbsp; Check&amp;nbsp;BOOTLOADER_BUTTON, or nrf_dfu_enter_check() in your bootloader code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/thread/130299?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 13:36:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b3aee3b-dc51-4973-83a0-175b5842adb7</guid><dc:creator>Nilesh Bhavsar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When first i upload the softdevice and then bootloader. After that its start advertising &amp;quot;DFUTarg&amp;quot; then upload my application .zip.&lt;/p&gt;
&lt;p&gt;In nRF Connect application, my transfer process start and complete successfully but after that not advertising as per my application name and advertising same as last &amp;quot;DFUTarg&amp;quot;.&lt;/p&gt;
&lt;p&gt;But if i remove transistor than without updating code it starting to advertise names per my application. So, maybe not switching on application mode.&lt;/p&gt;
&lt;p&gt;Samething is working on a old Design slave.&lt;/p&gt;
&lt;p&gt;I am not trying with Blinking an LED Example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure OTA failed in custom board</title><link>https://devzone.nordicsemi.com/thread/130294?ContentTypeID=1</link><pubDate>Mon, 30 Apr 2018 13:25:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dba3c119-cc92-40f0-b382-e1911a5f3b26</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you clarify how do you know that &amp;quot;&lt;span&gt;transferred process has been completed successfully but not transferred actually.&amp;quot; ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you tried to compare the flash ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What exactly you mean by &amp;quot;not working&amp;quot; ? The device stayed in the bootloader mode, not switching to application ? Or it switched to application&amp;nbsp;but application crashed ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you tried to update simple application, for example blinking an LED&amp;nbsp; ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>