<?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>Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82635/failing-to-flash-pca10040-nrf52-dk-using-j-link</link><description>Hello, 
 I encountered a problem while trying to flash my PCA10040 nrf52 development kit. 
 I am able to compile my code in Segger Embedded Studio without a problem. The chip has 512kB of flash and 24kB which should be more than enough to flash the chip</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Dec 2021 15:34:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82635/failing-to-flash-pca10040-nrf52-dk-using-j-link" /><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/344419?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 15:34:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc38d6c-e94b-4547-9d6b-e186829b7791</guid><dc:creator>Dimi-zh</dc:creator><description>&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will look into these !&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/344265?ContentTypeID=1</link><pubDate>Mon, 20 Dec 2021 08:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:292dcb5f-4f85-4f31-9122-7e43a79acf7e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I suggest to check out:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/intro.html"&gt;https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/intro.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Youtube tutorial:&lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;t=0s"&gt;&lt;br /&gt;https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;index=7&amp;nbsp;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;nRF5 SDK:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf51_getting_started.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf51_getting_started.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/344223?ContentTypeID=1</link><pubDate>Sat, 18 Dec 2021 14:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ef91401-90e3-43a4-8fc7-651efc427aec</guid><dc:creator>Dimi-zh</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i installed the nRF connect for desktop and the programmer v2.0.1&lt;/p&gt;
&lt;p&gt;From there i loaded my hex file into the prigrammer and i uploaded it to the nRF5 dev kit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The operation seems to have worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What can I do after I successfully upload the hex file.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How can I proceed with the debugging?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/hex-file-flahsed-the-nrf52-dk.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/343681?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 14:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a8eb300-e745-4677-a6df-84015edddbd7</guid><dc:creator>Dimi-zh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes I tried the blinky example and it worked.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/343674?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 14:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56722c25-f6e0-4925-aef6-62f494b1c2d3</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you take any of the BLE peripheral examples as-is from the nRF5 SDK, you should only need to compile&amp;nbsp;(build: F7) and program (download: Ctrl T + L) directly from SES (then both the required softdevice and application hex file will be programmed). Does this work?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/343520?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 00:49:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44bfb033-89d9-4e70-84a7-ee8ffaa2f2e1</guid><dc:creator>Dimi-zh</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I downloaded nrfprog.exe, but I am not sure how to flash the device with the binary file (.hex)&lt;br /&gt;I rebuilt the project in SES.&lt;br /&gt;I tried the following : Target -&amp;gt; Download File -&amp;gt; Binary file -&amp;gt; executable file -&amp;gt; binary file&lt;/p&gt;
&lt;p&gt;After that I select the hex file, but I am prompted to select the location where I want the code to be flashed to and I selected&amp;nbsp;&lt;span&gt;0x0 as it is the&amp;nbsp;Flash addresses available for application. It&amp;nbsp;does not work...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I even went and changed the min RAM start address to : 0x20001668 and the FLASH start to : 0x26000 because I have a soft device S132_nrf52_7.0.1_softdevice.hex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This is what I get when I try to download the binary file (.hex) to the chip.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/7571.error-after-trying-to-flash-hex-file.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/343237?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 14:45:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ab3dbc-c41a-49c3-bce9-34600a50b954</guid><dc:creator>Dimi-zh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great I will try that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will update you as soon as possible.&lt;/p&gt;
&lt;p&gt;Thank you for your help&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failing to flash PCA10040 nRF52 DK using J-Link</title><link>https://devzone.nordicsemi.com/thread/343230?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 14:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fd36359-f7ef-47c1-9ebb-98f4bdcb48ef</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It&amp;#39;s odd it says Erase time is 0.000s, which means that j-link did not perform an erase of the flash pages it should program, thereby the programming will likely fail. I assume if you do an &amp;#39;nrfjprog --eraseall&amp;#39; first it works? Maybe try to update &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nrfcommand line tools&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>