<?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>can&amp;#39;t program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18121/can-t-program-bootloader-code-by-nrfjprog-tool</link><description>Hi Nordic,
we need to modify bootloader code base on your dfu example. Now We meet a problem that we can&amp;#39;t program it by clicking icon &amp;quot;Load&amp;quot; on keil comile project. report error as below: 
 //-------------------------------------------------------</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Dec 2016 12:00:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18121/can-t-program-bootloader-code-by-nrfjprog-tool" /><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69913?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 12:00:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42aa6fd6-05c7-45d6-afe5-5ccac3675c36</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you can program/erase/recover the nRF52 DK(PCA10040) via the J-LINK On-Board chip on the DK with nrfjprog, then there is nothing wrong with your nrfjprog setup. This suggests that there is an issue with your J-Link probe and I am trying to find out if its a genuine Segger Debug probe. If its not a genuine debug probe, then it could be that some of the commands work and some do not. Comparing the photo with the pictures on Segger &lt;a href="https://www.segger.com/jlink-debug-probes.html"&gt;webpage&lt;/a&gt; you can see that &amp;quot;j-link&amp;quot; is written in a different font than on the Segger webpage. Where did you buy the debug probe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69912?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 11:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7ed744a-8c0d-4aed-a736-4dea0cd15aa8</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;Our J-link use SWD interface to program or debug  52832 IC by using JFLASH. do you mean that my J-link not support using SWD infterface to program it if using your nrjfprog tool? why using nrjfprog erase and recover cmd that are ok?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69911?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 10:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66e35f8f-53f9-4935-ae4d-b0b6e132c39f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Is it a &lt;a href="https://www.segger.com/jlink_base.html"&gt;J-Link Base&lt;/a&gt; or a &lt;a href="https://www.segger.com/j-link-plus.html"&gt;J-Link Plus&lt;/a&gt;? Judging by the markings on the case, it would appear that it only supports the JTAG interface and not SWD which is used by the nRF51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69910?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 10:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4884ede2-b500-43bc-827d-cb19c60e3056</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;Pls find the pictures about J-Link debug probe.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IMG_5F00_20161209_5F00_175837.jpg"&gt;IMG_20161209_175837.jpg&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69909?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 09:29:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4537875-78e4-4a4c-954c-f25bf4e374ae</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, a picture of the J-Link debug probe connected to you board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69908?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2016 00:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5b873c9-2182-4a4f-bfff-360ef002633d</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;sorry, i can&amp;#39;t understand it. what debug probe picture do you need to check it?  pictcure of really hardware with J-LINK connecting to  my product?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69907?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 10:39:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74f191e1-d671-41ce-9568-ef4abc8a8cd2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Can you post a picture of the debug probe as well? Looking at the JLinkARM.log.txt file I see that the firmware on the debug probe was compiled in 2018&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;which does not make any sense.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69906?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 01:55:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4876a1d-4135-4b0a-ad55-bbb04c216c05</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;pls find th attached picture about J-link debug probe.&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/screeshot.PNG" alt="image description" /&gt;e&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69905?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 01:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb9b67d-36f5-470c-8bc0-ad387785e460</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;We can debug  our board by our J-Link with port SWD and program our board by JFlash. We have developed my product successfully.it mean that my J-link debug probe is ok and  why using nrfjprog erase cmd that is ok but using nrfjprog program cmd that failed on our board.
Now in production stage, we want to use your nrfjprog cmd group to progarm mass production in factory efficiently .Another, how to upload the attached picture or schematic to your devzone site? I can&amp;#39;t find the way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69904?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 13:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e4d262d-f73d-4192-9de9-5e716a59b598</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Well, if you&amp;#39;re able to program the nRF52 DK(PCA10040) then this cannot be an issue with your J-Link driver setup. Which J-Link debug probe are you using(J-Link Pro, Ultra+, Plus or Base)? Could you also attach a picture or schematic showing how the debug probe is connected to your custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69903?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 09:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be28664c-55c3-45be-a93b-36ba8001b446</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;On our board,it still failed. using cmd nrfjprog -f nrf52 --recover and nrfjprog -f nrf52 -e are  ok. but using cmd nrfjprog -f --program .hex that failed and report above error info. if use the same cmd  to progamm your  EVB pca10040 that is ok. it report info as below:&lt;/p&gt;
&lt;p&gt;D:\project\VOX02_OLED\code\examples\ble_peripheral\nrf5-ble-tutorial-service\pca
10040\s132\arm5_no_packs&amp;gt;nrfjprog --program  merge_image.hex
Parsing hex file.
Reading flash area to program to guarantee it is erased.
Checking that the area to write is not protected.
Programing device.&lt;/p&gt;
&lt;p&gt;D:\project\VOX02_OLED\code\examples\ble_peripheral\nrf5-ble-tutorial-service\pca
10040\s132\arm5_no_packs&amp;gt;pause.
why is there the difference?  Our Factory  plan to  use the cmd group to program mass production. But now , it was hold.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69902?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 11:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:645bf67f-9b11-4e4f-85ca-c89d5b9e7d2c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you try to recover the chip, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 --recover
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and then try to program it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69901?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 10:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4685dc76-2760-48e1-98e9-5153b447f986</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;usee the cmd according to your info .first erase the chip that is ok. but program it that still fail and report the same error. the info  is as below:&lt;/p&gt;
&lt;p&gt;1.erase is ok:
D:\project\VOX02_OLED\code\examples\ble_peripheral\nrf5-ble-tutorial-service\pca
10040\s132\arm5_no_packs&amp;gt;nrfjprog -f nrf52 -e
Erasing code and UICR flash areas.
Applying system reset.&lt;/p&gt;
&lt;p&gt;2.then program failed:
Parsing hex file.
Reading flash area to program to guarantee it is erased.
Checking that the area to write is not protected.
Programing device.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69899?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 09:23:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9723a763-91e2-46e8-9d1c-75516b11c5b7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you try to first erase the erase the chip&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 -e
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and then flash the SoftDevice and the bootloader using&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f --program &amp;lt;name of hex file&amp;gt;.hex
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69900?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 01:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bee2474d-968b-4e45-a700-c5e526aee010</guid><dc:creator>leif</dc:creator><description>&lt;p&gt;sorry for reponsing it delayly .we use SEGGER J-Flash V5.12g. but I try to switch lasted version (i.e V6.12)that still failed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: can't program bootloader code by nrfjprog tool</title><link>https://devzone.nordicsemi.com/thread/69898?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 12:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ed31091-971e-4135-bc08-0884ca2dc1e4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which JLINK programmer are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>