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
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?
Sorry, did not try your project as I got used to SES for debugging.
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
Thanks. I was able to get yours to work but having trouble with my project.
SEGGER_SYSVIEW_Conf() is undefined, but I don't see you included a header file in main that references it in the attached project.
Also when I compile with the following line uncommented out, I still see a bunch of undefined reference errros.
#include "SEGGER_SYSVIEW_FreeRTOS.h"
I have included the following paths in the preprocessor:
SeggerFiles
SeggerFiles/Config
SeggerFiles/SEGGER/Syscalls
SeggerFiles/SEGGER/
