<?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>nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117767/nrf_desktop-nrf52840dongle-no-signs-of-life-after-flash</link><description>I&amp;#39;m trying to use the nrf_desktop application 100% standard, with NO changes to the codebase at all. 
 My initial assumption is, that once I flash the nrf52840dongle, it should act as a forwarder, as stated here https://docs.nordicsemi.com/bundle/ncs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jan 2025 23:02:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117767/nrf_desktop-nrf52840dongle-no-signs-of-life-after-flash" /><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517342?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2025 23:02:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cbebf89-e970-48e3-810a-53715148f0d8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The configuration in nRF_desktop for the nRF52840 dongle&amp;nbsp; (nrf52840dongle/nrf52840) by default is not compatible with the pre-installed bootloader in the nRF52840dongle.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Here are the changes needed for the nRF52840 dongle to work with the pre-installed bootloader:&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;diff --git a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
index 1c3716b0ba..dfc1b41003 100644
--- a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
+++ b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
@@ -29,15 +29,15 @@ CONFIG_DESKTOP_BLE_NEW_PEER_SCAN_ON_BOOT=y
 CONFIG_DESKTOP_BLE_PEER_ERASE=y

 CONFIG_DESKTOP_CONFIG_CHANNEL_ENABLE=y
-CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=y
+CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=n

 CONFIG_DESKTOP_BLE_QOS_ENABLE=y

 ################################################################################
 # Zephyr Configuration

-CONFIG_ROM_START_OFFSET=0
-CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
+CONFIG_FLASH_LOAD_OFFSET=0x1000
+CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y

 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
 CONFIG_ISR_STACK_SIZE=1280&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, rename/remove the&amp;nbsp;nrf_desktop/configuration/nrf52840dongle_nrf52840/pm_static.yml to avoid building with it, and then build without sysbuild (--no-sysbuild). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please be aware that the above modifications would only support the nRF5 bootloader performing DFU updates instead of the&amp;nbsp;background DFU over configuration channel (we need either B0 or MCUboot for that purpose). For &lt;/span&gt;&lt;span&gt;the DFU over the config channel, you can flash the build/zephyr/zephyr.hex&amp;nbsp;into the dongle with the&amp;nbsp;default settings via the SWD interface and a Sggger J-LINK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517082?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 17:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8bc3f30-31b7-47ee-b7cb-294be1f651d1</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;I further checked it, and I could get it to build all the way up to v2.6.99-cs2, if I &amp;quot;patched&amp;quot; the nrf52840dongle_nrf52840 configuration directory (basically just copied the directory from v1.9.99-dev1).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did a new bisect, and it seems to be when zephyr was bumped in this commit &lt;a href="https://github.com/nrfconnect/sdk-nrf/commit/0e05e8638b6ed372de0c5f9b531e76bf5f8b82ce"&gt;https://github.com/nrfconnect/sdk-nrf/commit/0e05e8638b6ed372de0c5f9b531e76bf5f8b82ce &lt;/a&gt;that it would not work. It is also the same time, where the build hex from start being named `build/merged.hex` and `build/nrf_desktop/zephyr/zephyr.hex`, then it doesn&amp;#39;t seem to want to work anymore. Surely this is a biproduct of something, which I do not know. Likely it&amp;#39;s a simple option that needs to be tweaked somewhere.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;More git bisect logs&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;git bisect start
# status: waiting for both good and bad commits
# good: [45555695a3c3a44d231584b2e1554518c685698e] version: update VERSION to 2.6.99-cs2
git bisect good 45555695a3c3a44d231584b2e1554518c685698e
# status: waiting for bad commit, 1 good commit known
# bad: [5cb85570ca43bc344d3145c2338128eacf4b48ec] version: Update to 2.7.0
git bisect bad 5cb85570ca43bc344d3145c2338128eacf4b48ec
# good: [a3fa49d4905dc0d9dbc2d35ab4fbbe25426833f4] applications: nrf_desktop: Fix DTS conflicts on nRF54L (pwm_led0 label)
git bisect good a3fa49d4905dc0d9dbc2d35ab4fbbe25426833f4
# good: [a3fa49d4905dc0d9dbc2d35ab4fbbe25426833f4] applications: nrf_desktop: Fix DTS conflicts on nRF54L (pwm_led0 label)
git bisect good a3fa49d4905dc0d9dbc2d35ab4fbbe25426833f4
# bad: [34de71650de7981a30025ad3caad90a5bf35e776] samples: bluetooth: add sysbuild config
git bisect bad 34de71650de7981a30025ad3caad90a5bf35e776
# bad: [34de71650de7981a30025ad3caad90a5bf35e776] samples: bluetooth: add sysbuild config
git bisect bad 34de71650de7981a30025ad3caad90a5bf35e776
# bad: [34de71650de7981a30025ad3caad90a5bf35e776] samples: bluetooth: add sysbuild config
git bisect bad 34de71650de7981a30025ad3caad90a5bf35e776
# bad: [80c4de5756c519679fa85a4be0c0ff1200bf40e1] tools: Use ncs-build image based on ubuntu 22
git bisect bad 80c4de5756c519679fa85a4be0c0ff1200bf40e1
# good: [a61663aeebe6a90431e553bb9edf8e54ce03d8a9] manifest: Update zephyr with nrf54h20 DCACHE enabling
git bisect good a61663aeebe6a90431e553bb9edf8e54ce03d8a9
# good: [3d4f19ebab2856ba1aebbbc7b75c3abe3b77a9a7] suit: move envelope creation options to sysbuild Kconfig
git bisect good 3d4f19ebab2856ba1aebbbc7b75c3abe3b77a9a7
# good: [9cac27c18cd696abf0898bb2599f11326170c0f3] manifest: update sdk-mcuboot, fix build warnings
git bisect good 9cac27c18cd696abf0898bb2599f11326170c0f3
# good: [2c96632f3e8b63ebd0d21b4f02c7d77f3f300d73] samples/applications/tests: Add sysbuild configurations
git bisect good 2c96632f3e8b63ebd0d21b4f02c7d77f3f300d73
# good: [4aa365deb0924a4c72601e3fa145618718339bcc] boards: thingy91: Add initial sysbuild options
git bisect good 4aa365deb0924a4c72601e3fa145618718339bcc
# bad: [202eaabe96c19bb309b27dbfc2b359289bc7a9b8] doc: Change build type to file suffix
git bisect bad 202eaabe96c19bb309b27dbfc2b359289bc7a9b8
# bad: [0e05e8638b6ed372de0c5f9b531e76bf5f8b82ce] manifest: Update find-my, sidewalk and zephyr
git bisect bad 0e05e8638b6ed372de0c5f9b531e76bf5f8b82ce
# good: [5d41f8b00d9432f188ba2ce04b3f15016767c370] cmake: sysbuild: Fix partition manager not escaping variables
git bisect good 5d41f8b00d9432f188ba2ce04b3f15016767c370
# first bad commit: [0e05e8638b6ed372de0c5f9b531e76bf5f8b82ce] manifest: Update find-my, sidewalk and zephyr&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll just continue to post here, if I have more findings :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517049?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 15:05:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad33647-3c00-40da-b264-57ab1f903486</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;I&amp;#39;ve done a git bisect of nrf-sdk, and it works on v1.9.99-dev1, but breaks on v2.0.0. The bisect log isolates the following commit as the first bad commit &lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/commit/92fa69aa64511da3876f9278b03718fc2ad956f4"&gt;https://github.com/nrfconnect/sdk-nrf/commit/92fa69aa64511da3876f9278b03718fc2ad956f4&lt;/a&gt; , which does a lot of changes. I suspect that this still means it&amp;#39;s some bootloader stuff, that&amp;#39;s the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The bisect log is as follows&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;git bisect start
# status: waiting for both good and bad commits
# good: [651142deec73bd7d975743dcce340bc3fca3e4d9] version: Update VERSION to 1.9.99-dev1
git bisect good 651142deec73bd7d975743dcce340bc3fca3e4d9
# status: waiting for bad commit, 1 good commit known
# bad: [880c82dba48655ee3a75edaefa0208782967ff17] VERSION: Update to 2.0.0
git bisect bad 880c82dba48655ee3a75edaefa0208782967ff17
# bad: [880c82dba48655ee3a75edaefa0208782967ff17] VERSION: Update to 2.0.0
git bisect bad 880c82dba48655ee3a75edaefa0208782967ff17
# bad: [fe195bdc3a4eefd346f1db3396b8284c8cb4a3cb] bluetooth: fast_pair: Add definition of ECDH public key
git bisect bad fe195bdc3a4eefd346f1db3396b8284c8cb4a3cb
# good: [b5f0eee0570aef591a9406f45f7f04a3725afccc] samples/nrf9160/http_update: Switch overlay to PINCTRL.
git bisect good b5f0eee0570aef591a9406f45f7f04a3725afccc
# good: [b1d10c6cc46b53752471023a165d9ed521a37eec] samples: lwm2m_client: Session lifetime update
git bisect good b1d10c6cc46b53752471023a165d9ed521a37eec
# good: [c1ef2d973c9c0023fa34eb216211e38d93e6c08e] manifest: Update sdk-nrf-802154 and nrfxlib revisions
git bisect good c1ef2d973c9c0023fa34eb216211e38d93e6c08e
# good: [c1ef2d973c9c0023fa34eb216211e38d93e6c08e] manifest: Update sdk-nrf-802154 and nrfxlib revisions
git bisect good c1ef2d973c9c0023fa34eb216211e38d93e6c08e
# bad: [9adb5598b1d53e8402ac6cf8da3c17bae828dd8e] changelog: Update changelog with the DTM changes
git bisect bad 9adb5598b1d53e8402ac6cf8da3c17bae828dd8e
# bad: [9adb5598b1d53e8402ac6cf8da3c17bae828dd8e] changelog: Update changelog with the DTM changes
git bisect bad 9adb5598b1d53e8402ac6cf8da3c17bae828dd8e
# good: [16f6fc5a53d45222786d2ef1b68809f953894a1e] manifest: Zephyr update with OpenThread changes
git bisect good 16f6fc5a53d45222786d2ef1b68809f953894a1e
# good: [16f6fc5a53d45222786d2ef1b68809f953894a1e] manifest: Zephyr update with OpenThread changes
git bisect good 16f6fc5a53d45222786d2ef1b68809f953894a1e
# bad: [a3986baabf70e78c5e769f52b2771c77fea26229] samples: lwm2m: LwM2M v1.1 SenML CBOR enabled
git bisect bad a3986baabf70e78c5e769f52b2771c77fea26229
# bad: [92fa69aa64511da3876f9278b03718fc2ad956f4] applications: nrf_desktop: Rework of nrf_desktop configurations
git bisect bad 92fa69aa64511da3876f9278b03718fc2ad956f4
# good: [34348d3910edf723ec28a6165ceae8811075ce9f] cmake: Propagate the NCS Zephyr SDK install dir
git bisect good 34348d3910edf723ec28a6165ceae8811075ce9f
# first bad commit: [92fa69aa64511da3876f9278b03718fc2ad956f4] applications: nrf_desktop: Rework of nrf_desktop configurations&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517024?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:23:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8cc898f-da21-4194-ad39-5373fc9804c8</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;My sdk-nrf is on v2.9.0, if you would like me to try a different version feel free to ask! :) Very much appreciate the help, and the very fast replies!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517019?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3f2171-125c-4925-92c0-f647fec6b803</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;ok, thanks for feedback. Can you share which SDK version you are using so we can replicate?&lt;br /&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517015?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb6b388-9396-46c7-845c-e601c40d8d7a</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;I found out that a place in the `prj.conf` set `CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n`, but I&amp;#39;ve changed that now, so that I have the following diff.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
index 1c3716b0ba..ddb2b60ac0 100644
--- a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
+++ b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
@@ -29,15 +29,15 @@ CONFIG_DESKTOP_BLE_NEW_PEER_SCAN_ON_BOOT=y
 CONFIG_DESKTOP_BLE_PEER_ERASE=y
 
 CONFIG_DESKTOP_CONFIG_CHANNEL_ENABLE=y
-CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=y
+CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=n
 
 CONFIG_DESKTOP_BLE_QOS_ENABLE=y
 
 ################################################################################
 # Zephyr Configuration
 
-CONFIG_ROM_START_OFFSET=0
-CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
+# CONFIG_ROM_START_OFFSET=0
+# CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n
 
 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1536
 CONFIG_ISR_STACK_SIZE=1280
@@ -99,3 +99,7 @@ CONFIG_ASSERT=y
 CONFIG_ASSERT_LEVEL=2
 
 CONFIG_DESKTOP_LOG=y
+
+# MINE
+CONFIG_FLASH_LOAD_OFFSET=0x1000
+CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
\ No newline at end of file&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And I&amp;#39;ve confirmed that the two variables is set in the output build files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ grep -ir1 NRF5_BOOTLOADER
nrf_desktop/zephyr/.config-#
nrf_desktop/zephyr/.config:CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
nrf_desktop/zephyr/.config-# CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM is not set
--
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_BOARD_QUALIFIERS &amp;quot;nrf52840&amp;quot;
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h:#define CONFIG_BOARD_HAS_NRF5_BOOTLOADER 1
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_SOC_FAMILY_NORDIC_NRF 1
grep: nrf_desktop/zephyr/zephyr_pre0.elf: binary file matches
--
nrf_desktop/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BOARD_QUALIFIERS, 1);
nrf_desktop/zephyr/misc/generated/configs.c:GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BOARD_HAS_NRF5_BOOTLOADER, 1);
nrf_desktop/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_SOC_FAMILY_NORDIC_NRF, 1);
grep: nrf_desktop/zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj: binary file matches
grep: nrf_desktop/zephyr/zephyr.elf: binary file matches
grep: nrf_desktop/zephyr/libzephyr.a: binary file matches
--
b0/zephyr/.config-#
b0/zephyr/.config:# CONFIG_BOARD_HAS_NRF5_BOOTLOADER is not set
b0/zephyr/.config-# CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM is not set
grep: s1_image/zephyr/zephyr_pre0.elf: binary file matches
grep: s1_image/zephyr/libzephyr.a: binary file matches
--
s1_image/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BOARD_QUALIFIERS, 1);
s1_image/zephyr/misc/generated/configs.c:GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BOARD_HAS_NRF5_BOOTLOADER, 1);
s1_image/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_SOC_FAMILY_NORDIC_NRF, 1);
grep: s1_image/zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj: binary file matches
grep: s1_image/zephyr/zephyr.elf: binary file matches
--
s1_image/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_BOARD_QUALIFIERS &amp;quot;nrf52840&amp;quot;
s1_image/zephyr/include/generated/zephyr/autoconf.h:#define CONFIG_BOARD_HAS_NRF5_BOOTLOADER 1
s1_image/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_SOC_FAMILY_NORDIC_NRF 1
--
s1_image/zephyr/.config-#
s1_image/zephyr/.config:CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
s1_image/zephyr/.config-# CONFIG_BOARD_SERIAL_BACKEND_CDC_ACM is not set



$ grep -ir1 CONFIG_FLASH_LOAD_OFFSET
nrf_desktop/zephyr/.config-CONFIG_BT_HCI_VS=y
nrf_desktop/zephyr/.config:CONFIG_FLASH_LOAD_OFFSET=0x1000
nrf_desktop/zephyr/.config-CONFIG_USB_DEVICE_STACK=y
--
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_BT_HCI_VS 1
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h:#define CONFIG_FLASH_LOAD_OFFSET 0x1000
nrf_desktop/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_USB_DEVICE_STACK 1
grep: nrf_desktop/zephyr/zephyr_pre0.elf: binary file matches
--
nrf_desktop/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BT_HCI_VS, 1);
nrf_desktop/zephyr/misc/generated/configs.c:GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_FLASH_LOAD_OFFSET, 0x1000);
nrf_desktop/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_USB_DEVICE_STACK, 1);
grep: nrf_desktop/zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj: binary file matches
grep: nrf_desktop/zephyr/zephyr.elf: binary file matches
grep: nrf_desktop/zephyr/libzephyr.a: binary file matches
--
b0/zephyr/.config-# CONFIG_MODEM is not set
b0/zephyr/.config:CONFIG_FLASH_LOAD_OFFSET=0
b0/zephyr/.config-# CONFIG_USB_DEVICE_STACK is not set
grep: b0/zephyr/zephyr.elf: binary file matches
--
b0/zephyr/include/generated/zephyr/autoconf.h:#define CONFIG_FLASH_LOAD_OFFSET 0x0
b0/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_NUM_IRQS 48
grep: b0/zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj: binary file matches
grep: b0/zephyr/libzephyr.a: binary file matches
grep: b0/zephyr/zephyr_pre0.elf: binary file matches
--
b0/zephyr/misc/generated/configs.c-
b0/zephyr/misc/generated/configs.c:GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_FLASH_LOAD_OFFSET, 0x0);
b0/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_NUM_IRQS, 48);
grep: s1_image/zephyr/zephyr_pre0.elf: binary file matches
grep: s1_image/zephyr/libzephyr.a: binary file matches
--
s1_image/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_BT_HCI_VS, 1);
s1_image/zephyr/misc/generated/configs.c:GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_FLASH_LOAD_OFFSET, 0x1000);
s1_image/zephyr/misc/generated/configs.c-GEN_ABSOLUTE_SYM_KCONFIG(CONFIG_USB_DEVICE_STACK, 1);
grep: s1_image/zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj: binary file matches
grep: s1_image/zephyr/zephyr.elf: binary file matches
--
s1_image/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_BT_HCI_VS 1
s1_image/zephyr/include/generated/zephyr/autoconf.h:#define CONFIG_FLASH_LOAD_OFFSET 0x1000
s1_image/zephyr/include/generated/zephyr/autoconf.h-#define CONFIG_USB_DEVICE_STACK 1
--
s1_image/zephyr/.config-CONFIG_BT_HCI_VS=y
s1_image/zephyr/.config:CONFIG_FLASH_LOAD_OFFSET=0x1000
s1_image/zephyr/.config-CONFIG_USB_DEVICE_STACK=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yet I still cannot get it to work. I&amp;#39;ve tried flashing the `build/s1.hex` and `build/nrf_desktop/zephyr/zephyr.hex` without any luck as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517010?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 14:00:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c37b83b0-c9a3-40df-8fd3-610626a9af4b</guid><dc:creator>defeat859</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the fast answer! As I don&amp;#39;t have a Segger J-Link debugger, I tried the first option. I had to set `CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=n` as well, as it complained about a DFU_SLOT_ID&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;src/nrf/applications/nrf_desktop/src/modules/dfu.c:1005:47: error: &amp;#39;DFU_SLOT_ID&amp;#39; undeclared (first use in this function)
 1005 |                         err = flash_area_open(DFU_SLOT_ID, &amp;amp;flash_area);
      |                                               ^~~~~~~~~~~
[71/320] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/nvs/nvs.c.obj&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, after fixing that issue, I still get no lifesigns on the nrf52840dongle after flashing it. Keep in mind, I&amp;#39;m using `merged.hex` (which I think is the correct one?), or should I use another one?&lt;/p&gt;
&lt;p&gt;When flashing it, I press the RESET button, and the RED LED starts flashing, and I do get the confirmation of `Device Programmed.`.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is currently the changes I&amp;#39;ve made to the tree.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
index 1c3716b0ba..b02aabdd48 100644
--- a/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
+++ b/applications/nrf_desktop/configuration/nrf52840dongle_nrf52840/prj.conf
@@ -29,7 +29,7 @@ CONFIG_DESKTOP_BLE_NEW_PEER_SCAN_ON_BOOT=y
 CONFIG_DESKTOP_BLE_PEER_ERASE=y
 
 CONFIG_DESKTOP_CONFIG_CHANNEL_ENABLE=y
-CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=y
+CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE=n
 
 CONFIG_DESKTOP_BLE_QOS_ENABLE=y
 
@@ -99,3 +99,7 @@ CONFIG_ASSERT=y
 CONFIG_ASSERT_LEVEL=2
 
 CONFIG_DESKTOP_LOG=y
+
+# MINE
+CONFIG_FLASH_LOAD_OFFSET=0x1000
+CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y
\ No newline at end of file&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_desktop: nrf52840dongle no signs of life after flash</title><link>https://devzone.nordicsemi.com/thread/517002?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2025 13:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e56be14-2463-4a73-aec7-959fc09b23a8</guid><dc:creator>Lorenzo Amicucci</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I suspect the following:&lt;/p&gt;
&lt;p&gt;the configuration in nRF_desktop for the dongle&amp;nbsp; (nrf52840dongle/nrf52840) by default is not compatible with the pre-installed bootloader in the off the shelf 52840dongle. so you have two options:&lt;br /&gt;1) try adding following two options to the configuration file and build again the hex file, then try to program the dongle.&amp;nbsp;&lt;br /&gt; (make sure the dongle enters the bootloader by holding the button while plugging it in).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_FLASH_LOAD_OFFSET=0x1000&lt;/span&gt;&lt;br /&gt;&lt;span&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER=y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;This will make sure the image is compatible with the bootloader already in the dongle:&lt;br /&gt;(simular to this ticket &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/105317/how-to-born-nrf_desktop-s-image-to-nrf52840dongle/516509"&gt;RE: How to born nrf_desktop&amp;#39;s image to nrf52840dongle&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;or&amp;nbsp;&lt;br /&gt;&lt;br /&gt;2)&amp;nbsp;you can flash the merged.hex into the dongle using SWD interface and using a Sggger J-LINK&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please let us know if it solves the problem&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;LA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>