<?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>Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91435/bootloader-programming-for-nrf52840-dongle</link><description>hello 
 I had developed code based on the example ble_beacon_app and tested on nRF52840DK. That worked fine. I need to make the same work on the nRF52840 dongle. I followed the instructions of nRF52840 Dongle user guide and nRF52840 Dongle Programming</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Sep 2022 13:37:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91435/bootloader-programming-for-nrf52840-dongle" /><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/386673?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 13:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2c0f646-b821-4525-a30f-f229a6ba0751</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;You can close this case.&amp;nbsp; I have parked it.&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384365?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 14:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:add252bb-82e6-4934-9c10-52351cca5ea9</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;Hi Hung,&amp;nbsp; I have ordered the cable.&amp;nbsp; It will probably be next week before I can test his.&amp;nbsp; Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384257?ContentTypeID=1</link><pubDate>Thu, 01 Sep 2022 07:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d6dbd7f-9ad9-4b70-9233-50949fd22c2d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If it&amp;#39;s not broadcasting you would need to check if the hrm example work and if it&amp;#39;s broadcasting.&amp;nbsp;&lt;br /&gt;You would need a 10pin cable , like this one to program/debug the dongle from a DK :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.adafruit.com/product/1675"&gt;https://www.adafruit.com/product/1675&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384177?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 14:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:394b1155-0f54-455c-86f7-3ab836ac4582</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;No.&amp;nbsp; Its not broadcasting.&amp;nbsp; &amp;nbsp; Ok.&amp;nbsp; I will connect the TC2050 and check.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384167?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 13:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2deeddbb-ab4c-459b-9fdf-152410eb4233</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you checked if Bluetooth work ? You board can broadcast beacon advertising ?&amp;nbsp;&lt;br /&gt;As I mentioned the dongle is not a development platform. It&amp;#39;s very hard to debug what could be wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to develop an application please either get hold of a nRF52 DK or solder the 10pin SWD debugger port on the dongle and then you can debug it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384060?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 08:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a4db02-deb4-4ffa-9786-43242b184291</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;I did not flash the hex file you provided.&amp;nbsp; I presume its the hex generated from&amp;nbsp; &lt;span&gt;ble_app_hrs&amp;nbsp;&lt;/span&gt;&amp;nbsp;.&amp;nbsp; I could compile and this example and load it into the dongle without any error.&amp;nbsp; &amp;nbsp;I could compile&amp;nbsp; my own code and program the dongle without any error messages.&amp;nbsp; The only problem was the functionality - I expected the PWM waveform on port P0.17 of the dongle.&amp;nbsp; But, no waveform is seen after I took the device out of the bootloader mode.&lt;/p&gt;
&lt;p&gt;Why should I install the SDK again?&amp;nbsp; &amp;nbsp;The current SDK works fine.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/384051?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2022 07:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7061eb9-ffee-4f92-b89e-1667f65eebe5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Shiva,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to flash the hex file I provided.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;ble_app_hrs project should be able to compile out of the box. Please show the error you get. Do you have the same error if you compile it for the nRF52 DK instead of dongle?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you try to test on a fresh installed SDK ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/383974?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 15:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571d90e6-9503-4f63-9676-12b9677e5354</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;I used the&amp;nbsp;examples \ble_peripheral\ble_app_beacon&amp;nbsp; to test a simple code generating 2 tones on an I/O port using the nRF52840DK.&amp;nbsp; Its a small project.&amp;nbsp; &amp;nbsp;But, this did not work on the dongle even though I followed the instructions.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I tried using&amp;nbsp; the&amp;nbsp; example e&lt;span&gt;xamples\ble_peripheral\ble_app_hrs\pca10059\s140)..there was compilation error related to a API.&amp;nbsp; &amp;nbsp; &amp;nbsp;Comparison of project structure&amp;nbsp; is attached.&amp;nbsp; &amp;nbsp;There are a lot files in the ..hrs\pca10059.&amp;nbsp; &amp;nbsp;Could you provide some insight which files to remove?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dongle_5F00_prob2.pdf"&gt;devzone.nordicsemi.com/.../dongle_5F00_prob2.pdf&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/383856?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 10:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27e73419-7664-499f-bf7e-ae04941a1cef</guid><dc:creator>ShivImp</dc:creator><description>&lt;p&gt;Hi Hung&lt;/p&gt;
&lt;p&gt;Thanks for the prompt reply.&amp;nbsp; &amp;nbsp;I will test it and let you know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader programming for nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/383855?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 10:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dca60bd2-4039-49fa-ab19-a4c0062e934c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Shiva,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to test with the ble_app_hrs made for PCA10059 (\examples\ble_peripheral\ble_app_hrs\pca10059\s140)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like your beacon example is quite small in size compare to the hrs. Please double check. This&amp;nbsp; is the memory layout of the hrm:&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1661854408970v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I tested here with a fresh nRF52840 dongle and it worked fine. I attached the hex here that you can test.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Since the nRF52840 dongle was not made to be a development platform. There is a potential issue that if the flash of the fds is used by previous firmware, it&amp;#39;s not possible to clear the flash from the bootloader/programmer. And it can crash the application if the fds/fstorage is not expecting anything in the flash area allocated for it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to use the nRF52840 dongle as a development platform , I would strongly suggest to solder the 10 pins header into P1 port and then you can use a DK to program it as a normal DK/custom board.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_pca10059_5F00_s140.hex"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_hrs_5F00_pca10059_5F00_s140.hex&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>