<?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>Questions about the Connectivity firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101582/questions-about-the-connectivity-firmware</link><description>Hello, 
 
 I&amp;#39;d like to use the pc-ble-driver-py library with nRF52840 dongle and had success running the basic examples. I simply programmed the dongle using the nRF Bluetooth Low Energy app which flashes the Connectivity firmware as I understand it.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jul 2023 12:56:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101582/questions-about-the-connectivity-firmware" /><item><title>RE: Questions about the Connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/437025?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 12:56:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:272a2815-fd85-4807-a6b2-7f4ec0e18451</guid><dc:creator>pavel472</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/101582/questions-about-the-connectivity-firmware/435729"]&lt;p&gt;Aha.&lt;/p&gt;
&lt;p&gt;The nRF52840Dongle has an immutable bootloader running.&lt;/p&gt;
&lt;p&gt;When you use the nRF Connect For Desktop Programmer, it detects the Dongle, and programes the Dongle in bootloader mode.&lt;br /&gt;The application can not overwrite the bootloader, as the flash for the Bootloader is locked.&lt;br /&gt;The only way to overwrite the Bootloader is to use an external debugger.&lt;/p&gt;[/quote]
&lt;p&gt;I was talking about the app alone and don&amp;#39;t intend to&amp;nbsp;use a different bootloader.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101582/questions-about-the-connectivity-firmware/435729"]As said in &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99321/connectivity-firmware-for-nrf52820/423532" data-contentid="7219f0413caf431e9fa40b1cae750dfa" data-contenttypeid="f586769b0822468ab7f3a94d480ed9b0" class="ui-contentpeek internal-link"&gt;RE: Connectivity Firmware for nrf52820&lt;/a&gt; : &amp;quot;The connectivity firmware used by the pc-ble-driver is quite different compared to the unmodified connectivity firmware from the SDK (these projects are patched with a patch file from the pc-ble-driver repo). To build connectivity firmware for the pc-ble-driver you should follow the instructions under &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/README.md#compiling-connectivity-hex-files"&gt;Compiling connectivity HEX files&lt;/a&gt;.&amp;quot;[/quote]
&lt;p&gt;Indeed and I&amp;#39;m wondering if the&amp;nbsp;&lt;span&gt;unmodified connectivity firmware from the SDK is what&amp;#39;s being flashed when I use the nRF Connect Desktop Bluetooth Low Energy App. My end goal is to use the application to flash the base fw which I can then use with the python module. So far I&amp;#39;ve been doing just this without issues and am trying to future proof our process.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Also, when I install the pc-ble-driver I can see there are pre-built hex and dfu files. So I&amp;#39;m wondering if those are the same files when building from source. I&amp;#39;m actually having trouble building the files from source and hoping to use the pre-built files.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/101582/questions-about-the-connectivity-firmware/435729"]How does knowing this help you?[/quote]
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I want to use the&amp;nbsp;&lt;span&gt;Bluetooth Low Energy app to flash my dongle instead of the Programmer app. It&amp;#39;s purely from a process point of view.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the Connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/435729?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 12:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7bcc4f5-67c1-4665-9eb8-717e821ac156</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="pavel472"]I was able to program my dongle and run the examples using both the Bluetooth Low Energy app and the hex file from the library. I am aware that I&amp;#39;ve only run the basic examples and I&amp;#39;m not sure if this is a good enough assurance that I&amp;#39;m using the best method. I&amp;#39;m trying to avoid a future situation where things don&amp;#39;t work only because I flashed my dongle with the wrong app.[/quote]
&lt;p&gt;Aha.&lt;/p&gt;
&lt;p&gt;The nRF52840Dongle has an immutable bootloader running.&lt;/p&gt;
&lt;p&gt;When you use the nRF Connect For Desktop Programmer, it detects the Dongle, and programes the Dongle in bootloader mode.&lt;br /&gt;The application can not overwrite the bootloader, as the flash for the Bootloader is locked.&lt;br /&gt;The only way to overwrite the Bootloader is to use an external debugger.&lt;/p&gt;
[quote user="pavel472"]What I meant was, if I build the hex files from source without any changes, would I receive the same images which are already provided by the library? And are these images the same that the&lt;span&gt;&amp;nbsp;Bluetooth Low Energy&amp;nbsp; app uses?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;As said in &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99321/connectivity-firmware-for-nrf52820/423532"&gt;RE: Connectivity Firmware for nrf52820&lt;/a&gt; : &amp;quot;The connectivity firmware used by the pc-ble-driver is quite different compared to the unmodified connectivity firmware from the SDK (these projects are patched with a patch file from the pc-ble-driver repo). To build connectivity firmware for the pc-ble-driver you should follow the instructions under &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/README.md#compiling-connectivity-hex-files"&gt;Compiling connectivity HEX files&lt;/a&gt;.&amp;quot;&lt;/p&gt;
[quote user="pavel472"]And are these images the same that the&lt;span&gt;&amp;nbsp;Bluetooth Low Energy&amp;nbsp; app uses?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;How does knowing this help you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the Connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/435554?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 16:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3b762a5-8550-401d-b19c-30f147390751</guid><dc:creator>pavel472</dc:creator><description>&lt;p&gt;Hi Sigurd, and thanks for your answer.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I think I wasn&amp;#39;t very precise in my original post:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;If programming is free, just program it and try this.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Either it works or it does not.&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I was able to program my dongle and run the examples using both the Bluetooth Low Energy app and the hex file from the library. I am aware that I&amp;#39;ve only run the basic examples and I&amp;#39;m not sure if this is a good enough assurance that I&amp;#39;m using the best method. I&amp;#39;m trying to avoid a future situation where things don&amp;#39;t work only because I flashed my dongle with the wrong app.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The benefit of building these from source is that if you want to do any changes to them, you can.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What I meant was, if I build the hex files from source without any changes, would I receive the same images which are already provided by the library? And are these images the same that the&lt;span&gt;&amp;nbsp;Bluetooth Low Energy&amp;nbsp; app uses?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions about the Connectivity firmware</title><link>https://devzone.nordicsemi.com/thread/435168?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 09:12:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a66487ed-7a6a-4d4d-bd83-df3867051c50</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Due to summer vacation, we are low in staffing.&lt;/p&gt;
&lt;p&gt;While I could dig and find the answers you are looking for, I will go for lazy answers instead.&lt;br /&gt;That being said, if your end goal is to use the apps with the dongle, this answer should get you there as well.&lt;/p&gt;
[quote user=""]In other words, is it safe to program my hardware through the Bluetooth Low Energy app and use it with pc-ble-driver-py?&amp;nbsp;[/quote]
&lt;p&gt;If programming is free, just program it and try this.&lt;br /&gt;Either it works or it does not.&lt;br /&gt;If it does not work, you can just reprogram the dongle.&lt;/p&gt;
[quote user=""]Also, when I install the pc-ble-driver package through vcpkg, I can see the hex files are available in&amp;nbsp;vcpkg\packages\nrf-ble-driver_x86-windows\share\nrf-ble-driver\hex. Are these the same hex files used by the Bluetooth Low Energy app and is there any benefit to build them from source?&amp;nbsp;[/quote]
&lt;p&gt;Same as above, just see try and see.&lt;/p&gt;
&lt;p&gt;The benefit of building these from source is that if you want to do any changes to them, you can.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>