<?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>DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28689/dfu-dongle-no-advertising</link><description>Hi all, 
 I tried to load the DFU example for nrf51822 from SDK12.3 on the dongle(PCA10000).
softdevice: S130 2.0.1 
 I followed the tutorial on: devzone.nordicsemi.com/.../ 
 When the bootloader.hex is flashed nothing happens. after changing the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jan 2018 02:05:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28689/dfu-dongle-no-advertising" /><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113717?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 02:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3bd34c2-f72b-44b4-9f35-410ade6c52e3</guid><dc:creator>niels</dc:creator><description>&lt;p&gt;Redid the complete process:
download sdk.
Change makefile.windows, for the right place/version of the GNU tools.&lt;/p&gt;
&lt;p&gt;Generate private key.
Generate public key.
Overwrite public key.c.&lt;/p&gt;
&lt;p&gt;Download uECC lib. Compile for nrf51_keil.
Compile project.&lt;/p&gt;
&lt;p&gt;Flash softdevice, flash bootloader.... annnndddd nothing.
Flashed with nRFgo Studio and with flash function within uVision.&lt;/p&gt;
&lt;p&gt;//edit
I made a mistake, I thought I read in the datasheet of the devkit that the dongle contained a AC variant. But it contains an AA. so there was the problem. changed the IRAM from 0x20002C000 to 0x2002B000, and size to 1500. 1400 was 14 bytes too small.&lt;/p&gt;
&lt;p&gt;thanks for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113716?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 00:49:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e77975-c9b5-45b4-a664-cbdeaf580d2f</guid><dc:creator>niels</dc:creator><description>&lt;p&gt;I erase everything before I retry. When putting the RAM address at 0x20002C00 with size 5380, nothing happens and it gets stuck in the hardfault handler. When debugging it doesnt even reach the first &amp;quot;{&amp;quot; of the main loop.&lt;/p&gt;
&lt;p&gt;So this is with the nRF5_SDK_12.3.0_d7731ad bootloader secure example.
With the softdevice s130 included in the SDK. No other application than the softdevice and bootloader flashed to it.&lt;/p&gt;
&lt;p&gt;When debugging this configuration it starts at 0x6D0 (after reset). This is the start at system_nrf51.c:SystemInit() Then when it get to the end bracket &amp;quot;}&amp;quot; of SystemInit it gets stuck in the following loop:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;0x00 - 0xC6&lt;/li&gt;
&lt;li&gt;0x6A8 - 0x6AA&lt;/li&gt;
&lt;li&gt;0x6BC - 0x6C0&lt;/li&gt;
&lt;li&gt;0x6AE&lt;/li&gt;
&lt;li&gt;0x0CA - 0x0CE&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113720?ContentTypeID=1</link><pubDate>Fri, 22 Dec 2017 14:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:374c1e0a-2f2e-4e61-916c-1dcde01f4c9d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;We still write the start address of the bootloader inside nrf_bootloader_info.c&lt;/p&gt;
&lt;p&gt;Please use the start RAM address at 0x20002C00 size 5380. The start address of RAM varies base on the configuration of the application to the softdevice when enabling it. I suggest to do a full erase of the chip before testing.
You are testing with just the bootloader and softdevice, no application(buttonless), correct ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113715?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 23:18:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bb6069e-59f0-4e86-8220-6bbe0a51be5b</guid><dc:creator>niels</dc:creator><description>&lt;p&gt;When debugging it hangs hangs at:
nrf_dfu_mbr.c:95 ret_val = sd_mbr_command(&amp;amp;command);&lt;/p&gt;
&lt;p&gt;It then hangs at the HardFault_handler. Will continue looking for an answer.&lt;/p&gt;
&lt;p&gt;In older versions of the bootloader there was also a define for the start address of the bootloader, that is not present anymore in this version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113719?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 12:27:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72e78255-2c50-471d-804f-ca832994a1b4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Also, please try to use the _debug project, where you can turn on logging and see how the bootloader start and what could be wrong. You can turn on logging by updating sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113718?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 10:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c6ff8c6-ead2-4496-b38a-0b8cb049d821</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You may want to try debug the bootloader. You would need to set optimization level to level 0 before you can step into the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113714?ContentTypeID=1</link><pubDate>Thu, 21 Dec 2017 01:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:053027a5-8e56-4e38-a533-2c3e1bf62afe</guid><dc:creator>niels</dc:creator><description>&lt;p&gt;The loaded example is for PCA10028 which contains an nRF51. The PCA10000 contains an xxAC chip. Other programs which work correct have their start iram at 0x20002000 therefor I tried that. The dongle contains also the 32kHz crystal.&lt;/p&gt;
&lt;p&gt;Regarding the tutorial being voor nRF52, the library I compiled was for the nRF51.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dongle no advertising</title><link>https://devzone.nordicsemi.com/thread/113713?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 13:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c9c68e-5717-4f1e-98f0-aaa87494eb06</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Niels,&lt;/p&gt;
&lt;p&gt;The tutorial was made for nRF52 have you made sure you use the bootloader project for nRF51 ? Why did you change the RAM start to 0x20002000 ? Did you follow the RAM requirements throw by softdevice after calling sd_ble_enable() ?&lt;/p&gt;
&lt;p&gt;Which board did you use to test ? Which chip on the board ? Do you have have 32kHz crystal on board ? The bootloader for nRF51 made for xxAC variant which has 256kB flash. Please check the chip variant on your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>