<?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>Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112698/unknown-function-at-0xed9f60002</link><description>Hi, 
 I am trying to run SDK example project on my SES. I am using SDK 17.1.0 and my Dev board is nrf52832. I am using PCA10040 and S132 softdevices. 
 When I am building my program, it works fine and builds without any error. But when I enter into debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jul 2024 12:45:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112698/unknown-function-at-0xed9f60002" /><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494811?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 12:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd0b626c-9d8d-4696-ab91-3671813a1471</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Mushtakh,&lt;/p&gt;
[quote user="Mushtakh Shaikh"]3.&amp;nbsp;&lt;span&gt;gnu arm embedded toolchain&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Which version have you installed?&lt;/p&gt;
[quote user="Mushtakh Shaikh"]4. nrfjprog&amp;nbsp;[/quote]
&lt;p&gt;Are you able to program and run the ble_app_blinky from the command line with nrfjprog? See the command overview for nrfjprog commands &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf_cltools/page/UG/cltools/nrf_nrfjprogexe_reference.html"&gt;here&lt;/a&gt; if you are unfamiliar. The flash command should look somewhat like this: nrfjprog --program program.hex -e --verify --reset&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494055?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 07:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8614b04f-e78b-4d23-b55a-63d54c2b0371</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;/p&gt;
&lt;p&gt;I have installed the following applications:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Segger Embedded studio&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Latest nRF SDK,&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;&lt;span&gt;gnu arm embedded toolchain&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;4. nrfjprog&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. Jlink software&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let me know if anything needs to be installed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494052?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 07:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e2f3ba0-6f10-47c6-82b3-0a44364c8827</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Mushtakh,&lt;/p&gt;
&lt;p&gt;OK, we haven&amp;#39;t been on the same page all this time.&amp;nbsp;Edvin and I thought that you had a hard fault in execution. What you are saying is that you can&amp;#39;t even flash the device.&lt;/p&gt;
&lt;p&gt;Have you ensured you install all the necessary software and driver following the Getting Started&amp;nbsp;page&lt;strong&gt;s&lt;/strong&gt; here:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf51_getting_started.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf51_getting_started.html&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494051?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 07:04:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05a00212-7855-4703-a551-41b1ef9839ee</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;Hello Hieu,&lt;/p&gt;
&lt;p&gt;No, I am not pausing the execution. I am able to compile the code successfully. When I click on flash download, the errors observed as &amp;quot;Unknown function at 0xA60 and Stopped by vector catch.&amp;quot;&lt;/p&gt;
&lt;p&gt;After this when I click play/debug : SES shows errors as &amp;quot;Unknow function at 0xF8124420&amp;quot; and &amp;quot;t-bit of XPSR is 0 but should be 1. Changed to 1&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am unable to debug any application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494049?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 06:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08966f68-26f4-4dc7-87c6-427a58969456</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Mushtakh,&lt;/p&gt;
&lt;p&gt;Are you&amp;nbsp;pausing the execution and then resuming? That is including using breakpoint?&lt;/p&gt;
&lt;p&gt;If so, then it is not possible using when BLE activity is enabled. Please refer to:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/9622/application-debug-with-softdevice"&gt;application debug with softdevice&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are not, then there is nothing that could explain what you are seeing, especially when you have tried on a second PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/494033?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 05:44:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64768fc9-d7a0-40c0-a6c5-2453c8fc4479</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3343.nordic_5F00_2.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nordic_5F00_3.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nordic_5F00_4.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5432.nordic_5F00_1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for the update. I have installed the version 5.42a and re-installed the SDK 17.1.0. But still I am facing the same issues. Kindly let me know what exactly is missing in the configurations if any. I have tried other examples in the SDK, all are showing the same error. I have also tried using&amp;nbsp; another laptop. But the same error is encountered. I am not able to identify the issue.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3343.nordic_5F00_2.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3343.nordic_5F00_2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/493992?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2024 20:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7f763c3-acea-43aa-81a5-85550fd353a0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello Mushtakh,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My apologize for the late follow-up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have checked your .zip files, both Nordic_DeviceDownload.zip, and DeviceDownload_Old1.zip. I can comfirm that they are indeed the same as an unmodified nRF5 SDK v17.1.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The issue remains that you are facing failures out of the box that have not been observed before.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The only suspect left is the build environment. I see that you are using SEGGER Embedded Studio (SES) v5.60a, which seem to work for many people. However, to be sure, could you please&amp;nbsp;install a fresh copy of SES v5.42a? This is the version that nRF5 SDK v17.1.0 was released and tested with.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hieu&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/492603?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 06:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d3f7fb4-357a-472d-afdf-32cf9232efa8</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Nordic_5F00_DeviceDownload.zip"&gt;devzone.nordicsemi.com/.../Nordic_5F00_DeviceDownload.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hi Edwin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have downloaded the n&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DeviceDownload_5F00_Old1.zip"&gt;devzone.nordicsemi.com/.../DeviceDownload_5F00_Old1.zip&lt;/a&gt;ew SDK from the above link that you have provided. Just compiled the code &amp;quot;ble_app_blinky&amp;quot; from the SDK examples and tried to flash in my nRF52832 DK. But still I am facing the same issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am attaching the zip file here. Kindly check and please let me know if any configurations are required to be modified. Nordic_DeviceDownload is the new SDK you have just shared to me. Also I have attached the SDK that I was using as&amp;quot;DeviceDwonloadOld1.zip&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/492543?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 21:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47a0c547-bc04-40f6-8010-f755b882d6fc</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That is strange. Can you please try to delete the entire SDK, and unzip it again, and see if it behaves the same. If it does, did you download the SDK from here, or somewhere else:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/Download?lang=en#infotabs"&gt;https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/Download?lang=en#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Try to avoid the &amp;quot;freeRTOS&amp;quot; samples to begin with. But the ble_app_blinky and the ble_app_uart should work out of the box. At least when using Segger Embedded Studio, since this will upload the SoftDevice automatically (the Bluetooth stack).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If unzipping the SDK once more (to make sure that no files are changed) doesn&amp;#39;t work, is it possible for you to upload the entire zipped SDK, so that we can have a look?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And you are sure that you are using the nRF52832 DK? (it should say pca10040 somewhere on it). And that you didn&amp;#39;t do any changes to the project settings before building and flashing?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/492154?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 04:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de9e0733-aada-4ea8-b225-2b2dd815464f</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nrf_5F00_error_5F00_5.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nrf_5F00_error_5F00_6.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the result I am getting when I&amp;nbsp; run any example code from the SDK. I feel there&amp;#39;s nothing wrong with the code or application as it is failing with all the examples from the SDK as well.&lt;/p&gt;
&lt;p&gt;I guess there is some issue with configurations that I am missing. Please let me know of you need any further details.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/492153?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2024 04:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38965915-6d04-485c-bd4d-42a4869cdde8</guid><dc:creator>Mushtakh Shaikh</dc:creator><description>&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;Thank you for your response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. In case of 0xA60, this error shows as soon as I click on debug, program didn&amp;#39;t even reach to main(); function. I am using. I have tried ble_app_blinky example from the SDK. This is also resulting in the same.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xED9F60002</title><link>https://devzone.nordicsemi.com/thread/492138?ContentTypeID=1</link><pubDate>Wed, 03 Jul 2024 22:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c6ec65c-a83e-4d2d-baea-a9f1be864e71</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Mushtakh,&lt;/p&gt;
&lt;p&gt;If you see that the debugger stops in 0x0A60, it means that it is the hardfault handler that has triggered. This is in general a bit difficult to handle. There is a hardfault handler that you can add to your application. Please refer to the ble_app_hrs_freertos example on how to enable this. You need to enable it from sdk_config.h (by adding the hardfault-related definitions from the ble_app_freertos example), and then you need to add (the path to) some header files, and a couple of .c files.&lt;/p&gt;
&lt;p&gt;However, you can start by trying to figure out when the hardfault handler is reached. Try setting breakpoints to check if they are reached or not. You can also use the log to help pinpointing when it happens.&lt;/p&gt;
&lt;p&gt;Another hint is to look at the r15(pc) and r14(lr) registers when the hardfault occured.I can&amp;#39;t tell from your screenshot what they are, but if you&amp;#39;d scroll a bit down in the box to the bottom right, it will show you.&lt;/p&gt;
&lt;p&gt;This register in itself doesn&amp;#39;t say much, and the r15 probably says&amp;nbsp;&lt;span&gt;0xED9F6002. This is obviously a mistake, since this is outside the flash, but something has made the nRF think that it should execute whatever is in this address, which caused the hardfault. The r14(lr) is the link register. This will tell you the address of the function that called the address in r15.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can use a tool called addr2line to figure out what function this was. Take whatever the r14 says, and use the command:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;arm-none-eabi-addr2line -e &amp;lt;path to .elf file in your build folder&amp;gt; &amp;lt;0xaddress in r14 register&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to install the gnu arm embedded toolchain on your computer, and make sure that it is in the environment path of your computer in order to use the addr2line tool.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Please also note that you need to use the address from your latest log output. If you rebuild your application, the functions may end up in different addresses, and the r14/r15 may change.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a way for me to reproduce what you are seeing using just an nRF52832 DK? Or do you need an external sensor in order to replicate the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>