Sunday, April 23rd 2017, 7:48pm UTC+2

You are not logged in.

  • Login
  • Register

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

1

Wednesday, February 3rd 2016, 4:34pm

[Solved] resolve symbol names for queues

Hi,

could you ad a display for the name of the queue to which is currently send?

is it possible to take care of the "configQUEUE_REGESTRY_SIZE" ?
pruesch has attached the following image:
  • 2016_02_03_16_25_51_CentOS_6x_64Bit_VMware_Workstation.png

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 340

2

Thursday, February 4th 2016, 4:01pm

Hi,

You can set the name to be displayed from within the application via SEGGER_SYSVIEW_NameResource() in the SendSystemDescription callback.

C/C++ Source code

1
SEGGER_SYSVIEW_NameResource((U32)&IP_OS_RSema, "IP Lock");


You can do this dynamically in the callback with the queue registry.

Regards
Johannes

Fred13015

Beginner

Date of registration: Apr 11th 2016

Posts: 4

3

Monday, April 11th 2016, 5:14pm

Hi Johannes,
I'm facing the same Issue. As you suggested above I have tried to declare the queue names in the SendSystemDescription callback, the queue names and IDs appears at the top of the log, but when a queue event occurs the queue name still not appears (while the ID is the same as in the top of the log).
What could be wrong?

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 340

4

Tuesday, April 12th 2016, 10:26am

Hi,

Could you update the SYSVIEW_FreeRTOS.txt in \Description\ of your SystemView installation with the attached one?
I changed the parameters of the queue functions to display a name instead of the address.

Best regards
Johannes
SEGGER - Johannes has attached the following file:

Fred13105

Beginner

Date of registration: Apr 11th 2016

Posts: 4

5

Thursday, April 14th 2016, 11:50am

Hi Johannes,
Perfect it solves the point!
Thanks,
Frederic

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 340

6

Thursday, April 28th 2016, 4:20pm

Hi Frederic,

Thanks for the feedback.
Has also been updated in the latest beta and will be in the next release.

Regards
Johannes

markuskrug

Beginner

Date of registration: Oct 19th 2016

Posts: 4

7

Wednesday, February 15th 2017, 8:58am

I tried the same with no success. However, I could not follow all the advises. So what I did is the following:

In SEGGER_SYSVIEW_Config_FreeRTOS.c I add one line for a semaphore that I want to get displayed by its name instead of the address in the upper log window (that has in the headline 'Events' for the first column).


/*********************************************************************
*
* _cbSendSystemDesc()
*
* Function description
* Sends SystemView description strings.
*/
static void _cbSendSystemDesc(void) {
SEGGER_SYSVIEW_SendSysDesc("N="SYSVIEW_APP_NAME",D="SYSVIEW_DEVICE_NAME",O=FreeRTOS");
SEGGER_SYSVIEW_SendSysDesc("I#15=SysTick");
SEGGER_SYSVIEW_NameResource((U32)&main_trans_semphr, "mem_trans");
}

So I just added the line: SEGGER_SYSVIEW_NameResource((U32)&main_trans_semphr, "mem_trans");
Is this the right place to insert the statement ? So far it does not work.

I use the latest version of SystemView, FreeRTOS 8.2.3. on a Atmel E70 board.

Best Regards
Markus

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 340

8

Wednesday, February 22nd 2017, 11:50am

Hi,

Yes, _cbSendSystemDesc is the right place to insert SEGGER_SYSVIEW_NameResource().

Which version of SystemView do you use?
Which function event does not show the semaphore name?

Best regards
Johannes

Similar threads