<?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>52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51217/52840-can-not-program-bootloader</link><description>Hi, 
 I know it sounds ridiculers, but i just can not flash bootloader into 52840. 
 I am under S140 v610, SDK v15.2. 
 I started using open_bootloader in example ( pca10056_usb_debug/armgcc ), and compiled OK with armgcc. 
 Then i use JLink to program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Sep 2019 18:15:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51217/52840-can-not-program-bootloader" /><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/209025?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 18:15:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78e566b3-f38f-43f5-9ba0-f63ac7a57a6a</guid><dc:creator>awneil</dc:creator><description>[quote userid="13823" url="~/f/nordic-q-a/51217/52840-can-not-program-bootloader/209023"]I came back to close this issue so others can find these information useful.[/quote]
&lt;p&gt;Thanks for doing that. To make it clear that the issue is resolved, you need to verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7558._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/209023?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2019 18:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b92f37d-5e23-4650-9432-94311b1e965a</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/andreasf"&gt;AndreasF&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sry for the late but I am occupied by other projects.&lt;/p&gt;
&lt;p&gt;I came back to close this issue so others can find these information useful.&lt;/p&gt;
&lt;p&gt;52840&amp;#39;s bootloader can only successfully be programmed when JLink can identify 52840 out of 52 family. When only pass &amp;#39;NRF52&amp;#39; as device it just can not succeed. This, however, is not required for&amp;nbsp;other hex files, which suggesting 52840&amp;#39;s bootloader does seem bit special.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;V6.42 I was using is just too old to identify 52840. So I upgraded to 6.44g and at last I can program bootloader now.&lt;/p&gt;
&lt;p&gt;I am still now sure about nrfjprog. When I pass &amp;quot;NRF52&amp;quot; to the command line as in the document it just return errors. Seems the parameters or documents need to be adjusted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205875?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 11:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac254ddb-5e1f-403b-92c4-b021f2eec80a</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thanks for the reply, looking forward to hear what you find out :-)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205755?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 07:21:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c7a524-a905-46a9-a0a8-3270144d7b90</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;@AndreasF&lt;/p&gt;
&lt;p&gt;thank you for the confirmation.&lt;/p&gt;
&lt;p&gt;I have been using JLink V6.42e, and since i downloaded nrfjprog yesterday, i also have tried V6.44, they all act the same way.&lt;/p&gt;
&lt;p&gt;So i got the bottom line now. I think i will find a Windows box to give a try first.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205745?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2019 06:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f80b2fd-cc80-4ce0-9f53-624172fcce60</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Which version of J-Link do you have?&lt;/p&gt;
[quote user="rolandash"]1. is bootloader hex file specical than other hex files?[/quote]
&lt;p&gt;&amp;nbsp;No, this hex file is not special&lt;/p&gt;
[quote user="rolandash"]2. Do i need to do some special handling before flash it? like sign it, or manually edit something?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;No, you don&amp;#39;t need to do something special before flashing it.&lt;/p&gt;
[quote user="rolandash"]3. Or is it protected by something?[/quote]
&lt;p&gt;&amp;nbsp;No, it is not protected by something.&lt;/p&gt;
[quote user="rolandash"]Also, can you help to confirm that if you get same issue when programming bootloader through JLink?[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t get this error:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/902x671/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-73e80e1f20c846a5bd4970704031a119/pastedimage1566543057064v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205484?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 08:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30ba6433-6d67-4f88-b502-d24a9df42cb6</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;No nothing there, and not in anywhere else.&lt;/p&gt;
&lt;p&gt;The same 52840 board of course.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also tested it on 52840DK and the result is the same. So does not look like a hardware issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now can you confirm that:&lt;/p&gt;
&lt;p&gt;1. is bootloader hex file specical than other hex files?&lt;/p&gt;
&lt;p&gt;2. Do i need to do some special handling before flash it? like sign it, or manually edit something?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Or is it protected by something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, can you help to confirm that if you get same issue when programming bootloader through JLink?&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205445?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2019 07:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:043f0287-9cf2-4ec2-864a-f74e6a89147b</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You find the log file in the same path as you run the command from.&lt;/p&gt;
[quote user="rolandash"]Before this issue was found I have been flash hex into 52840 hundreds of times with all goods.[/quote]
&lt;p&gt;&amp;nbsp;The same nRF52840, or different?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205386?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 15:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68dfdf0b-32c9-4e38-a5d5-c81ddcfc41d7</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;OK i downloaded nrfjprog and had a try.&lt;/p&gt;
&lt;p&gt;I am using a MacBook Pro with OSX 10.14.5 Mojave.&lt;/p&gt;
&lt;p&gt;Type in following command gives me really mess error messages:&lt;/p&gt;
&lt;p&gt;=========&lt;/p&gt;
&lt;p&gt;nrfjprog --family nRF52 -e --log&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;==========&lt;/p&gt;
&lt;p&gt;and i can not find log.log anywhere.&lt;/p&gt;
&lt;p&gt;So what else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205369?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 14:48:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96da6b7-53ef-4ac8-9d4f-447837906fd4</guid><dc:creator>rolandash</dc:creator><description>&lt;p&gt;I did not install nrfjprog so I am not sure. I am using JLink all the time,&amp;nbsp;so I have a consistent interface to other chipset as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Before this issue was found I have been flash hex into 52840 hundreds of times with all goods.&lt;/p&gt;
&lt;p&gt;So what&amp;#39;s wrong with JLink command? any special treatment needed to handle a boot loader hex?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52840 can not program bootloader</title><link>https://devzone.nordicsemi.com/thread/205335?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2019 13:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7be8b4db-d42a-43af-bccc-c9301669e1c2</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Are you able to program the bootloader using &lt;a href="https://www.nordicsemi.com/?sc_itemid=%7B56868165-9553-444D-AA57-15BDE1BF6B49%7D"&gt;nrfjprog&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>