<?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>Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102798/flashing-a-hex-file-peripheral_lbs-example-built-with-vscode-using-nrf-connect-sdk-works-when-flashed-with-nrf-connect-desktop-programmer-but-does-not-work-when-flashed-with-vscode-directly</link><description>Setup: 
 
 Connect SDK Version 2.4.1 
 Extension version: v2023.7.129 
 Hardware: NRF52840 dongle (PCA10059) 
 Tested on both Windows and Linux. 
 
 Steps to replicate the issue: 
 
 Run nrfjprog --recover and nrfjprog --eraseall. 
 Flash the built hex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Aug 2023 21:24:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102798/flashing-a-hex-file-peripheral_lbs-example-built-with-vscode-using-nrf-connect-sdk-works-when-flashed-with-nrf-connect-desktop-programmer-but-does-not-work-when-flashed-with-vscode-directly" /><item><title>RE: Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/thread/441259?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 21:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef489d61-7b51-406a-a3da-8dd050216c20</guid><dc:creator>dhpn</dc:creator><description>&lt;p&gt;Hi Dejans, I can run the peripheral_lbs sample on the dongle without any modifications if I flash using NRF Connect Programmer. I just gave an example. Even the hello world program has the same issue. I think my question wasn&amp;#39;t clear. I was able to flash a program with NRF Connect Programer, but not with the jlink debugger and vscode.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Anyway, I solved it by making the following changes:&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp; Added&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n&amp;nbsp;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;to prj.conf file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;2.&amp;nbsp; Changed&amp;nbsp;&lt;/span&gt;#include &amp;quot;fstab-stock.dts&amp;quot;&amp;nbsp;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;to&amp;nbsp;&amp;nbsp;&lt;/span&gt;#include &amp;quot;fstab-debugger.dts&amp;quot;&amp;nbsp;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;on&lt;/span&gt;&amp;nbsp;boards\arm\nrf52840dongle_nrf52840\nrf52840dongle_nrf52840.dts &lt;span style="font-family:arial, helvetica, sans-serif;"&gt;file&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/thread/441236?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 17:56:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb8f6f4-1ff8-4a4d-9e7a-3f8da693efc7</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;nrf52840 dongle is not listed as supported for&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;peripheral_lbs&lt;/a&gt;&amp;nbsp;sample.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/thread/441233?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 17:49:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74edad12-2924-4e85-b2b2-46f8dc99226e</guid><dc:creator>Sam D</dc:creator><description>&lt;p&gt;Hi Dheepan,&lt;/p&gt;
&lt;p&gt;Apologies, I misunderstood your issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll let the DevZone engineers help resolve this for you!&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/thread/441197?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 14:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4210d34-5bc2-45a9-a45c-eb46e12243b5</guid><dc:creator>dhpn</dc:creator><description>&lt;p&gt;Hi Sam, Thank you for your reply.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Unfortunately that link does not answer my question. I am not trying to flash using the dongle. I am trying to flash a program onto the dongle. I do have a Jlink debugger, and a 10-pin tag connect plug of nails with me.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;My issue is that flashing with the debugger works with&amp;nbsp;hex files in the examples&amp;nbsp;with nrf5 sdk. (for example:&amp;nbsp; ble_app_blinky_pca10059_s140.hex file from&amp;nbsp;nRF5_SDK_17.1.0_ddde560\examples\ble_peripheral\ble_app_blinky\hex.&lt;br /&gt;&lt;br /&gt;But when I build an example with NRF Connect SDK, the hex file flashes successfully, but never boots up.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flashing a hex file (peripheral_lbs example built with vscode using NRF connect SDK) works when flashed with NRF Connect Desktop Programmer, but does not work when flashed with vscode directly.</title><link>https://devzone.nordicsemi.com/thread/441193?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 14:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf70750a-d850-451b-9c7c-2a9169760844</guid><dc:creator>Sam D</dc:creator><description>&lt;p&gt;Hi Dheepan, VS Code only supports J-Link based devices like our DKs. This is detailed in a similar support ticket here:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/85098/nrf52840-dongle-not-found-in-connected-devices-in-vscode"&gt;nrf52840 dongle not found in &amp;quot;connected devices&amp;quot; in vscode&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>