<?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>Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76209/undefined-reference-to-segger_sysview-apis-upon-integrating-the-patches</link><description>Been having trouble integrating systemview for tracing FreeRTOS application. I came across this thread , and even tried replacing the files with what&amp;#39;s inside the PatchedFiles.zip folder, and I see there&amp;#39;s an #include &amp;quot;SEGGER_SYSVIEW_FreeRTOS.h&amp;quot; inside</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Aug 2021 11:48:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76209/undefined-reference-to-segger_sysview-apis-upon-integrating-the-patches" /><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/324658?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 11:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577319e6-19ae-47a5-981a-174e3169d228</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The Queue usage is purely application specific&amp;nbsp;seems like the queue is not empty that often keeping this mainThread alive most of the time and not blocking overflowing the SystemView buffers. Probably there is a config in the Systemview settings but i did not find it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/324338?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 01:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a7c25d2-ed0c-4367-9604-24c70c835b88</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;I couldn&amp;#39;t find Recorder Configuration under Target&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_10-at-6.48.58-PM.png" /&gt;&lt;br /&gt;Here&amp;#39;s the version i&amp;#39;m using:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_10-at-6.49.45-PM.png" /&gt;&lt;br /&gt;&lt;br /&gt;However, I increased the interface speed to 16MHz and still no luck.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_10-at-6.53.23-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here, I do see a series of xQueueReceive being invoked quite often. This potentially could be causing an overflow though do you see what could cause xQueueReceive to be invoked that frequently?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_10-at-6.57.11-PM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/324029?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 13:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:009207fa-440a-4a62-a231-d2f3cdbcf677</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Select the higher interface speed with the Segger should increase the chances for this to work. Seems like your application is now logging a lot of events that Segger is not able to process at the speed that is by default selected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In SystemView, try Target -&amp;gt;Recorder Configuration-&amp;gt;JLink-&amp;gt;Interface Speed and increase&amp;nbsp;until this works for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/323893?ContentTypeID=1</link><pubDate>Sun, 08 Aug 2021 18:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20fda0e7-7101-4798-93bb-536d20783f40</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Okay it seems to build fine now. Appreciate your help!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Though I see an overflow occurring when I run my app. I increased the RTT buffer size to 4kB to no avail&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;#define SEGGER_SYSVIEW_RTT_BUFFER_SIZE          1024 * 4&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_08-at-11.25.49-AM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/323716?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 11:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b889d3-84ba-46f0-b7e3-94a8b0d6b34c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You have the definition of that in SEGGER_SYSVIEW_FreeRTOS.c which is available in your zipped project folders. Add that one too to the project folder as you did with the&amp;nbsp;&lt;strong&gt;SEGGER_SYSVIEW.c&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/323634?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 06:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a3d1e19-b71b-427f-8466-8816df430a1c</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Thanks Susheel. I don&amp;#39;t see the previous errors now but I see the following&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_08_2D00_05-at-11.01.48-PM.png" /&gt;&lt;br /&gt;&lt;br /&gt;the only file that references it is&amp;nbsp;SEGGER_SYSVIEW_FreeRTOS.h but I can&amp;#39;t seem to find its definition. Can you check on your end too?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/323245?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 08:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a31ea403-026f-47f3-9670-dfff036aafac</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="morpho"]&lt;p&gt;which file are you exactly referring to?&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;SEGGER_SYSVIEW.c&lt;/strong&gt; is in&amp;nbsp;pca10056\s140\ses\SeggerFiles\SEGGER\SEGGER_SYSVIEW.c and &lt;strong&gt;SEGGER_SYSVIEW_FreeRTOS.h&lt;/strong&gt; is in&amp;nbsp;&lt;/span&gt;&lt;span&gt;pca10056/s140/ses/SeggerFiles/Sample/FreeRTOSV10/SEGGER_SYSVIEW_FreeRTOS.c&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and both the paths are included in the preprocessor&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;Your project file&amp;nbsp;ble_app_hrs_freertos_pca10056_s140.emProject does not have this&amp;nbsp;&lt;strong&gt;SEGGER_SYSVIEW.c&amp;nbsp;&lt;/strong&gt;included.&lt;/p&gt;
&lt;p&gt;Having the header file included in preprocessor is OK for the declarations but the definitions that you are missing are in SEGGER_SYSVIEW.c which needs to be added into the project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I added this explicitly in your project as below. Do you see the same file in the project explorer window?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/301x535/__key/communityserver-discussions-components-files/4/pastedimage1628065805286v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/323198?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 02:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b0c0a98-6fd3-4926-b6e9-e74cebcac4ff</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Hope you had a great time.&lt;/p&gt;
[quote userid="6207" url="~/f/nordic-q-a/76209/undefined-reference-to-segger_sysview-apis-upon-integrating-the-patches/322996#322996"]I do not see that file included in your project[/quote]
&lt;p&gt;which file are you exactly referring to?&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;SEGGER_SYSVIEW.c&lt;/strong&gt; is in&amp;nbsp;pca10056\s140\ses\SeggerFiles\SEGGER\SEGGER_SYSVIEW.c and &lt;strong&gt;SEGGER_SYSVIEW_FreeRTOS.h&lt;/strong&gt; is in&amp;nbsp;&lt;/span&gt;&lt;span class="s1"&gt;pca10056/s140/ses/SeggerFiles/Sample/FreeRTOSV10/SEGGER_SYSVIEW_FreeRTOS.c&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;and both the paths are included in the preprocessor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/322996?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 06:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd4195ef-5cc9-414f-9a7b-934c2140da07</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;&amp;nbsp;Thanks for waiting morpho. Yes I was away for summer holidays and due to very thin staffing here, my activities unfortunately did not get picked up by others. I appreciate your patience.&lt;/p&gt;
[quote user="morpho"]Just to reiterate, the following are among the set of errors with &amp;lt;#include &amp;quot;SEGGER_SYSVIEW_FreeRTOS.h&amp;quot;&amp;gt; included.[/quote]
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;1&amp;gt; /Users/Projects/BLE/nRF5_SDK_17.0.2_d674dde/components/libraries/timer/app_timer_freertos.c:194: undefined reference to `SEGGER_SYSVIEW_RecordExitISRToScheduler&amp;#39;&lt;/pre&gt;This is clearly defined in&amp;nbsp;SmartWatch\pca10056\s140\ses\SeggerFiles\SEGGER\SEGGER_SYSVIEW.c. I do not see that file included in your project. Atleast in the &amp;quot;Project 4.zip&amp;quot; attachment you did which seems the latest.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/321019?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 04:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de97ae80-101a-461b-b06c-d2d183206469</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Looks like you are away now but hoping you get to see this once you&amp;#39;re back. Appreciate your time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just to reiterate, the following are among the set of errors with &amp;lt;#include &amp;quot;SEGGER_SYSVIEW_FreeRTOS.h&amp;quot;&amp;gt; included.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;FreeRTOS/app_timer_freertos.o: in function `app_timer_start&amp;#39;:
1&amp;gt; /Users/Projects/BLE/nRF5_SDK_17.0.2_d674dde/components/libraries/timer/app_timer_freertos.c:194: undefined reference to `SEGGER_SYSVIEW_RecordExitISRToScheduler&amp;#39;
1&amp;gt; /Applications/SEGGER Embedded Studio for ARM 5.42/gcc/arm-none-eabi/bin/ld: /Users/Projects/BLE/nRF5_SDK_17.0.2_d674dde/components/libraries/timer/app_timer_freertos.c:194: undefined reference to `SEGGER_SYSVIEW_RecordExitISR&amp;#39;
1&amp;gt; /Applications/SEGGER Embedded Studio for ARM 5.42/gcc/arm-none-eabi/bin/ld: Output/Release/Obj/Init template - FreeRTOS/app_timer_freertos.o: in function `app_timer_stop&amp;#39;:
1&amp;gt; /Usershu/Projects/BLE/nRF5_SDK_17.0.2_d674dde/components/libraries/timer/app_timer_freertos.c:230: undefined reference to `SEGGER_SYSVIEW_RecordExitISRToScheduler&amp;#39;
1&amp;gt; /Applications/SEGGER Embedded Studio for ARM 5.42/gcc/arm-none-eabi/bin/ld: /Users/Projects/BLE/nRF5_SDK_17.0.2_d674dde/components/libraries/timer/app_timer_freertos.c:230: undefined reference to `SEGGER_SYSVIEW_RecordExitISR&amp;#39;
1&amp;gt; /Applications/SEGGER Embedded Studio for ARM 5.42/gcc/arm-none-eabi/bin/ld: Output/Release/Obj/Init template - FreeRTOS/port_cmsis_systick.o: in function `RTC1_IRQHandler&amp;#39;:&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;I looked into &lt;strong&gt;portmacro_cmsis.h&lt;/strong&gt;, and it doesn&amp;#39;t seem as if it references the &lt;strong&gt;SEGGER_SYSVIEW_FreeRTOS.h&lt;/strong&gt; that has a declaration of&amp;nbsp;&lt;strong&gt;traceISR_EXIT&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;#define portEND_SWITCHING_ISR( xSwitchRequired ) { if ( (xSwitchRequired) != pdFALSE ) { traceISR_EXIT_TO_SCHEDULER(); portYIELD(); } else { traceISR_EXIT(); } }
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )&lt;br /&gt;
&lt;/pre&gt;
&lt;p&gt;and I took&amp;nbsp;&lt;strong&gt;portmacro_cmsis.h&lt;/strong&gt; from the patch files ZIP linked in the description. Could you please&amp;nbsp;confirm as to whether that&amp;#39;s the case?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In regards to the following errors, I&amp;#39;m not quite sure.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_07_2D00_20-at-9.28.31-PM.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The following&amp;nbsp;preprocessor is in &lt;strong&gt;SEGGER_SYSVIEW_FreeRTOS.h&lt;/strong&gt; which includes &amp;lt;&lt;strong&gt;SEGGER_SYSVIEW.h&lt;/strong&gt;&amp;gt; that defines&amp;nbsp;&lt;strong&gt;SEGGER_SYSVIEW_RecordU32x4&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt; #define traceQUEUE_SEND( pxQueue )   SEGGER_SYSVIEW_RecordU32x4(apiID_OFFSET + apiID_XQUEUEGENERICSEND, SEGGER_SYSVIEW_ShrinkId((U32)pxQueue), (U32)pvItemToQueue, xTicksToWait, xCopyPosition)&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Seems strange to me as to why it would not recognize.&lt;/p&gt;
&lt;p&gt;Would it be possible for you to check my project? I shall really be grateful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/319505?ContentTypeID=1</link><pubDate>Mon, 12 Jul 2021 03:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e6d0895-3f3d-4ac2-921b-a6d803bb83e6</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Good to know you can at least open the project.&lt;br /&gt;&lt;br /&gt;Do you think it&amp;#39;s too much an effort to investigate the main issue regarding now being able to get the program to compile after integrating the patch? I have also opened a ticket for Segger but so far no response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/319005?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 13:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f605c40-2fd6-4387-81bc-5d112afd6ec7</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;The problem was caused for me from this changes in your .emProject file&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  &amp;lt;configuration Name=&amp;quot;Common&amp;quot; gcc_cplusplus_language_standard=&amp;quot;c++11&amp;quot; /&amp;gt;
  &amp;lt;import file_name=&amp;quot;../../../../../peripheral/uart/pca10056/blank/ses/uart_pca10056.emProject&amp;quot; /&amp;gt;
  &amp;lt;import file_name=&amp;quot;../../../../../peripheral/twi_sensor/pca10056/blank/ses/twi_sensor_pca10056.emProject&amp;quot; /&amp;gt;
  &amp;lt;import file_name=&amp;quot;../../../../Susheel1_ble_app_hrs_freertos/pca10056/s140/ses/ble_app_hrs_freertos_pca10056_s140.emProject&amp;quot; /&amp;gt;
  &amp;lt;import file_name=&amp;quot;../../../../../ble_peripheral/ble_app_uart/pca10056/s140/ses/ble_app_uart_pca10056_s140.emProject&amp;quot; /&amp;gt;
  &amp;lt;import file_name=&amp;quot;../../../../../peripheral/blinky_freertos/pca10056/blank/ses/blinky_FreeRTOS_pca10056.emProject&amp;quot; /&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am now able to open the project but after that I have not managed to compile your cpp/hpp files with the project settings you sent. There must be some other dependency that is resolved in your system that makes SES resolve cpp linkage.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/318541?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 06:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d68e76d6-565c-4e68-a596-a2b1ededcb93</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Can we try this one? It may not make a difference but I just tested it again on my machine, and it works ok. At least I&amp;#39;m able to open the solution and build it fine.&lt;br /&gt;&lt;br /&gt;You could try the existing NRF&amp;#39;s programs (ble_uart etc) but I&amp;#39;m mostly concerned about my own project regarding integrating SystemView.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Project-4.zip"&gt;devzone.nordicsemi.com/.../Project-4.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/318539?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 05:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bddf7c2-8161-4c1b-9a37-a8c9f5818f24</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Yes, this is clean project just unzipped into a folder name&amp;nbsp;Susheel1_ble_app_hrs_freertos instead of&amp;nbsp;SmartWatch as it seems like there are some files added into your project which has the folder name&amp;nbsp;&lt;span&gt;Susheel1_ble_app_hrs_freertos&amp;nbsp; hardcoded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The error &amp;#39;solution is already loaded&amp;#39; seems to be a bit confusing. The solution is not loaded anywhere else. There is no other SES instance on my PC other than this one which is reporting an error. After I click OK, then it loads the previous project I was debugging which is ble_app_beacon.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is very strange because I cannot find any other thread which has similar issues on devzone. Seems like a project compatibility issue from Segger side within OS versions.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/318537?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 05:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a255d3-43e7-4439-bac5-e15a20cff98d</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Your error says the project is already loaded. That&amp;#39;s what you see after building it? You&amp;#39;re making sure it&amp;#39;s a clean project? For me, all I have to do is just add the existing project into my solution, set it as an active project and build it.&lt;br /&gt;&lt;br /&gt; I&amp;#39;m not very great at Segger yet and there&amp;#39;s a lot of things that still annoy me about it and i&amp;#39;m getting used to it&lt;/p&gt;
&lt;p&gt;And yes i&amp;#39;m using a mac and there&amp;#39;s minor differences in the versions but I don&amp;#39;t think that should be a problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_07_2D00_04-at-10.36.45-PM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/318536?ContentTypeID=1</link><pubDate>Mon, 05 Jul 2021 05:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f1f8e8c-8ce6-4473-a399-611eefbc7587</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am not really sure why we are seeing the difference. Mostly we are using different SES versions and/or you are using Mac and I am testing this on Windows.. I still get this after trying to patch few things in the folder naming.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1625463121427v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The SES version I am using is this one&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1625463182460v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/318021?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 14:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a430f242-e9eb-4427-91fe-7791b667b4e3</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Sorry,&amp;nbsp;aren&amp;#39;t these paths hardcoded in the preprocessor anyways? If so, the existing nordic projects in the SDK follow the same approach.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And I&amp;#39;m not sure how Segger IDE deals with it but I assumed if I send you my project and put it into SDK/examples/&amp;lt;Your-Folder&amp;gt;/&amp;lt;Another-Folder&amp;gt;, it would work the same for you as it does for me. And I just realized I sent you the entire solution instead of just the project itself which I&amp;#39;m yet to figure out how to save it.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But you can take a look at&amp;nbsp;&lt;strong&gt;Init template - FreeRTOS&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317868?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 07:57:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d491421-6f5b-42d2-989e-10c30339833f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You have hardcoded path in your project to the project&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/611x84/__key/communityserver-discussions-components-files/4/pastedimage1625039739849v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I could try to fix those paths, but then that would ruin the purpose of testing your project as it is. You should always use relative paths in the project file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317580?ContentTypeID=1</link><pubDate>Tue, 29 Jun 2021 02:40:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5da56ac-ed99-4c8e-a4ab-06b791aa9bd5</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SmartWatch-3.zip"&gt;devzone.nordicsemi.com/.../SmartWatch-3.zip&lt;/a&gt;here it is.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;uncommenting out&amp;nbsp;#include &amp;quot;SEGGER_SYSVIEW_FreeRTOS.h&amp;quot; in FreeRTOSConfig.h file&amp;nbsp;results in a bunch of errors:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;`ulTaskNotifyTake&amp;#39;:
1&amp;gt; /Users/user/Projects/BLE/nRF5_SDK_17.0.2_d674dde/external/freertos/source/tasks.c:4481: undefined reference to `SEGGER_SYSVIEW_RecordU32x2&amp;#39;
1&amp;gt; /Applications/SEGGER Embedded Studio for ARM 5.42/gcc/arm-none-eabi/bin/ld: Output/Release/Obj/Init template - FreeRTOS/tasks.o: in function `vTaskNotifyGiveFromISR&amp;#39;:
1&amp;gt; /Users/userhu/Projects/BLE/nRF5_SDK_17.0.2_d674dde/external/freertos/source/tasks.c:4859: undefined reference to `SEGGER_SYSVIEW_ShrinkId&amp;#39;&lt;/pre&gt;
&lt;p&gt;e....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;it looks to me certain segger files aren&amp;#39;t recognized hence the complaint about undefined references to the APIs. And as mentioned, the segger files are already included in the project via preprocessor. You can confirm by looking at the attached project&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317386?ContentTypeID=1</link><pubDate>Mon, 28 Jun 2021 07:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:095605dd-f389-476e-a1c2-736a486f5541</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I couldn&amp;#39;t find any of your project attachment in this thread. But the project attachment you did on another thread &amp;quot;smartwatch&amp;quot;, I couldn&amp;#39;t compile that at all because of my own C++ compiler issues. But the point is that this should work. Just some minor technicalities that you need to patch i guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317323?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 18:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379ecba4-4bdb-4c40-a0bc-7ab8d9af9441</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Thanks. I was able to get yours to work but having trouble with my project.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;SEGGER_SYSVIEW_Conf() is undefined, but I don&amp;#39;t see you included a header file in main that references it in the attached project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Also when I compile with the following line uncommented out, I still see a bunch of undefined reference errros.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;#include &amp;quot;SEGGER_SYSVIEW_FreeRTOS.h&amp;quot; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have included the following paths in the preprocessor:&lt;br /&gt;&lt;br /&gt;SeggerFiles&lt;/pre&gt;
&lt;p&gt;SeggerFiles/Config&lt;/p&gt;
&lt;p&gt;SeggerFiles/SEGGER/Syscalls&lt;/p&gt;
&lt;p&gt;SeggerFiles/SEGGER/&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_06_2D00_25-at-12.58.52-PM.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317138?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 07:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9470f0d5-0c7f-4bcd-90a0-adc111029e0d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It is working for&amp;nbsp; me here. with my project&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1624607776054v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t compile your project as I have some issue with multi C++ compilers mixed up in my settings. I will have to solve that issue another time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317136?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 07:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fbea4ad-6dcc-4016-b9e4-3fe56e185463</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am really sorry, Not sure what happened but the main.c file did not include the change i did.&lt;/p&gt;
&lt;p&gt;Basically you need to call &amp;quot;&amp;nbsp; &amp;nbsp; SEGGER_SYSVIEW_Conf();&amp;quot; in the main.c very early. This will initialize the RTT control block properly in a way that systemview can search for it. Can you please check if it works for you with that addition of line in your main.c and also you need to have .SEGGER_SYSVIEW_Config_FreeRTOS.c file in your project which I see missing.&lt;/p&gt;
&lt;p&gt;Reattaching my changes,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4478.ble_5F00_app_5F00_hrs_5F00_freertos.zip"&gt;devzone.nordicsemi.com/.../4478.ble_5F00_app_5F00_hrs_5F00_freertos.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317104?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 04:30:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55f4cecb-ee47-40b4-ac61-c2d382337ce5</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;Also I just tried your project and I see the same issue as what I encountered before: &amp;quot;Could not find RTT Control Block. Timeout: 20000 ms&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Are there any settings that I am supposed to be configuring? I just click on the &amp;quot;Start Recording&amp;quot; option after starting the program&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Undefined reference to SEGGER_SYSVIEW APIs upon integrating the patches</title><link>https://devzone.nordicsemi.com/thread/317063?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 15:24:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0d0e5c9-9c50-4890-9e9c-75d06d9b417b</guid><dc:creator>morpho</dc:creator><description>&lt;p&gt;I mean for my project, you have to open the project file inside &amp;quot;ses&amp;quot; as well. Can you please check? thought that was the point of initially asking me for the project link&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>