Wednesday, May 23rd 2018, 12:58am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jan 10th 2017

Posts: 7


Thursday, January 12th 2017, 1:19pm

Segger SystemView integration into ARM Keil uVision (5)

Hello Segger Team

The debugging SAVE function of ARM Keil uVision (5) can only store Intel HEX format. The Segger SystemView can only read binary or SVDat format.
(At least I did not find another solution)

It would be nice if SystemView could also handle Intel Hex file format or other formats than SVDat /binary.

Here how I did Segger SystemView integration into ARM Keil uVision (5).

  • Write a function using the uVision debugger scripting:

C/C++ Source code

FUNC void SaveSeggerSystemViewData(void) {
	printf("Saving Segger SystemView data in SeggerSystemViewData.hex!\n") ; 
	exec("SAVE \"SeggerSystemViewData.hex\"  (uint32_t)_SEGGER_RTT.aUp[0].pBuffer , ((uint32_t)_SEGGER_RTT.aUp[1].pBuffer + _SEGGER_RTT.aUp[1].SizeOfBuffer)");
	DEFINE BUTTON "Save Segger SystemView Data", "SaveSeggerSystemViewData()"

  • Download the srecord tool from
  • Intergrate srecord to convert the Intel Hex to a binary file:


    Command: ../tools/srecord/srec_cat.exe
    Arguments: SeggerSystemViewData.hex -intel -offset - -minimum-addr SeggerSystemViewData.hex -intel -o SeggerSystemViewData.bin -binary
    A more generic way for converting any hex file which is part of the project:


    Command: ../tools/srecord/srec_cat.exe
    Arguments: %F -intel -offset - -minimum-addr %F -intel -o @F.bin -binary
I hope this will be helpful to other and if someone finds a way how to do it in one step using avoiding to first save the file as intel hex using the debugger tool button and then convert it with the external tool, I would appreciate a post here.

Kind Regards


This post has been edited 1 times, last edit by "Roman" (Jan 12th 2017, 1:35pm)

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 379


Monday, January 16th 2017, 11:48am

Hello Roman,

Thanks for the suggestion.
We will add loading Hex files to the wishlist for the future.
Currently I do not see any other option than to convert it in a second step.

Best regards

Date of registration: Jan 3rd 2017

Posts: 15


Wednesday, January 25th 2017, 8:31am

Dear Roman,

You indeed did a very good job in converting the hex file to bin and than watching the record in the SystemView.

Roman I followed the same steps as per your suggestions but not able to get any picture into my systemview, So can you please help me a little bit in this regard, that how you succeeded in getting the SystemView to work out.

Thanks and regards

Piyush Pandey



Date of registration: Sep 9th 2016

Posts: 9

Location: INDIA

Occupation: Embedded Development Engineer


Thursday, May 11th 2017, 11:46am

Systemview with Keil uVision 5 & ULINK2 (increasing size,placing in ext ram)


I'm able to use system view as you described.
But i can only be able to assign 8kb of buffer.
If i increases buffer size it is not working while i've 30kb of free ram[assigning buffer in int sram].
While assigning it in ext sdram nothing is visible in systemview.

Is there anybody who have the same problem and solved it?

Thank You,
Jigar Patel