<?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>Integrating BLE NUS APIs into the application but the program ends up getting into MBR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77238/integrating-ble-nus-apis-into-the-application-but-the-program-ends-up-getting-into-mbr</link><description>I plan on writing my own service (similar to NUS) but prior to that, I&amp;#39;d want to use all the existing APIs for initializing the GATT and BLE stack at least 
 I&amp;#39;m calling the APIs in a similar fashion as in ble_app_uart app, but when I run in the debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Jul 2021 07:14:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77238/integrating-ble-nus-apis-into-the-application-but-the-program-ends-up-getting-into-mbr" /><item><title>RE: Integrating BLE NUS APIs into the application but the program ends up getting into MBR</title><link>https://devzone.nordicsemi.com/thread/319285?ContentTypeID=1</link><pubDate>Fri, 09 Jul 2021 07:14:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:525e0a1d-abc9-4aff-9b93-14eb4cb9a6fe</guid><dc:creator>StefXinet</dc:creator><description>[quote userid="91233" url="~/f/nordic-q-a/77238/integrating-ble-nus-apis-into-the-application-but-the-program-ends-up-getting-into-mbr/319240#319240"]For now, at least I wanted to use the exact same APIs from the ble_uart existing app from the SDK and be able to run it fine prior to starting writing my custom service.&amp;nbsp;[/quote]
&lt;p&gt;I suggest to start from HRS service, it is explained better than NUS (as you can see from the tutorial link)&lt;/p&gt;
[quote userid="91233" url="~/f/nordic-q-a/77238/integrating-ble-nus-apis-into-the-application-but-the-program-ends-up-getting-into-mbr/319240#319240"]Do you see why does the program enter into MBR? How we can determine what&amp;#39;s actually causing it based on the address value shown?[/quote]
&lt;p&gt;If you are running the example without modifications, there will be something missing out of the code.&lt;/p&gt;
&lt;p&gt;Do you programmed the softdevice and the application with the right memory addresses (ROM and RAM)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating BLE NUS APIs into the application but the program ends up getting into MBR</title><link>https://devzone.nordicsemi.com/thread/319240?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 16:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a8b2c11-ec10-4e3c-b02c-1935a09e2b06</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Thank you for the link.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;For now, at least I wanted to use the exact same APIs from the ble_uart existing app from the SDK and be able to run it fine prior to starting writing my custom service.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Do you see why does the program enter into MBR? How we can determine what&amp;#39;s actually causing it based on the address value shown?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating BLE NUS APIs into the application but the program ends up getting into MBR</title><link>https://devzone.nordicsemi.com/thread/319067?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 07:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c014a0a-93a2-437f-a9df-d1128672e1af</guid><dc:creator>StefXinet</dc:creator><description>&lt;p&gt;Dear morpho,&lt;/p&gt;
&lt;p&gt;I developed my custom service month ago, and I followed this tutorial. it it well explained. I suggest to read it and code step by step while reading, it helped me a lot.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/nRF5x-custom-ble-service-tutorial"&gt;Custom Service Tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;bye&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>