The person best fitted to answer this is out of office at the moment. But I found some other links that may be helpful:
https://devzone.nordicsemi.com/f/nordic-q-a/69475/how-do-i-debug-free-rtos
https://devzone.nordicsemi.com/search?q=freertos%20systemview#serpgroup=17
Are they still out of office? I have already looked at these links and tried out to no avail
Yes it does have it but looks like the references aren't found once I include the file by uncommenting
#include "SEGGER_SYSVIEW_FreeRTOS.h" inside FreeRTOSConfig.h.
Is there any config that needs to be set?
It looks to me that the project settings (preprocessing include paths) are not set to point to the directory where this segger_sysview files are located. Can you post your project include paths here and the location where you SEGGER_SYSVIEW_FreeRTOS.h file is located ?
Else you can give me your project so that i can quickly do a smoke test on my desk and see what is missing.
In the preprocessor list, I've got "SystemView", which is the folder in the root project directory containing the following files.
I tried to patch the ble_app_hrs_freertos example for pca10056/ses to use your patch files and with inheriting the sources files into the folder i managed to compile and run it. Here is the zip if you want to run it yourself.
Thanks. I will give this a try, but were you able to run it on my project?
Thanks. I will give this a try, but were you able to run it on my project?
Sorry, did not try your project as I got used to SES for debugging.
I mean for my project, you have to open the project file inside "ses" as well. Can you please check? thought that was the point of initially asking me for the project link
Also I just tried your project and I see the same issue as what I encountered before: "Could not find RTT Control Block. Timeout: 20000 ms"
Are there any settings that I am supposed to be configuring? I just click on the "Start Recording" option after starting the program
I am really sorry, Not sure what happened but the main.c file did not include the change i did.
Basically you need to call " SEGGER_SYSVIEW_Conf();" 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.
Reattaching my changes,
It is working for me here. with my project
I can'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