<?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>SES vs Ozone (nrf52840 BLE &amp;amp; UART (NUSb))</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110682/ses-vs-ozone-nrf52840-ble-uart-nusb</link><description>Hello Nordic community, 
 I&amp;#39;m currently working on a project that involves BLE (Bluetooth Low Energy) using UART configuration alongside FRTOS (FreeRTOS) in a PCA10056 dk (nrf52840). After diving into the topic, I&amp;#39;ve found that integrating BLE with NUS</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Apr 2024 13:01:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110682/ses-vs-ozone-nrf52840-ble-uart-nusb" /><item><title>RE: SES vs Ozone (nrf52840 BLE &amp; UART (NUSb))</title><link>https://devzone.nordicsemi.com/thread/481091?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 13:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1826ad66-5075-4f89-8a51-57f0923a10e8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The resulting .elf file does not include the SoftDevice. So if your project needs the SoftDevice (like any BLE project), it will not work without you also flashing the SoftDevice. In other words, you &lt;em&gt;must&amp;nbsp;&lt;/em&gt;explicitly flash the SoftDevice.&lt;/p&gt;
&lt;p&gt;Moreover, debugging SoftDevice projects via Ozone&amp;nbsp;does work and shold work well if you attach to a runnign target. But by default it will start executing from the start address of the .elf file, which for a SfotDevice project is not address 0, but the application start address. And in this case, the MBR will not have run and the MBR and SoftDevice is in a bad state. So you need to ensure that you configure ozone to start from address 0.&lt;/p&gt;
&lt;p&gt;(I would recomend that you sick with SES as that way you get all this working out of the box. You can still program in VS Code or your other faviourite editor or IDE, but build and debug from SES. That is of course up to you, but that way everythign would simply work out of the box, particularily i fyou use the SES version that is described in the SDK release notes, as that is what was used for release testing the SDK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES vs Ozone (nrf52840 BLE &amp; UART (NUSb))</title><link>https://devzone.nordicsemi.com/thread/481085?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 12:40:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f99eeb-8d0a-434a-9004-0d43de381ec8</guid><dc:creator>massimoklk</dc:creator><description>&lt;p&gt;Hi, Einar.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, you are right. However, if I execute the command &amp;quot;make&amp;quot;, the resulting .elf file should work as well, right? (for debugging with ozone, I do need the .elf file).&lt;/p&gt;
&lt;p&gt;The problem is, when compiling and building the project with SES, it works fine, but when I compile it with make (using make -j24), I have that error exposed above (nrf_sdh_enable_request() returns error code 8).&lt;/p&gt;
&lt;p&gt;do you have any clue why this happens?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES vs Ozone (nrf52840 BLE &amp; UART (NUSb))</title><link>https://devzone.nordicsemi.com/thread/481083?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 12:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64a0447a-78ba-4a25-82cc-d63c41186cd1</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you flash a Segger Embedded Studio example project using the SoftDevice the SoftDevice .hex is also automatically programmed (as it is added as an additional load file in the project). When you use make flash, that is not the case. However, most example Makefile projects includes a &amp;quot;make flash_softdevice&amp;quot; target, which you can use to program the SoftDevice. So you need to do that as well (or program the SoftDevice in another way).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>