Friday, February 23rd 2018, 7:49am UTC+1

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.

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

1

Monday, February 1st 2016, 3:34pm

keeping attached during reset

Hi,

I want to see the terminal messages showing up during the boot process of my board. I wish to push the reset button and see the messages show up in the SystemView terminal.
is this possible?

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 377

2

Tuesday, February 2nd 2016, 9:14am

Hi,

Doing a reset while SystemViewer is running is currently not possible.
What you can do for now is to start a debug session and halt in the reset handler, start SystemViewer, continue the debug session.
Then you will get messages right after SystemView has been initialized.

We will also add start, stop and reset target to SystemViewer to allow control over the target without a debugger.

Best regards
Johannes

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

3

Tuesday, February 2nd 2016, 2:08pm

using RTT prints works perfect during the reset. I'm using these for now

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 377

4

Tuesday, February 2nd 2016, 2:27pm

Yes, but for SystemView, the recording has to be explicitly started from SystemViewer,
which is lost and not restarted on reset.

Regards
Johannes

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

5

Friday, April 15th 2016, 9:54am

is this topic of interest for further development?

would be nice to follow the SystemView without restarting the session each time I reset my debug session.

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

6

Tuesday, May 24th 2016, 11:20am

sorry to bring this up again, but would it be possible to call the needed functions on the target manually after a reset that SystemViewer can keep recording?

thank you very much!

SEGGER - Johannes

Super Moderator

Date of registration: Aug 31st 2012

Posts: 377

7

Tuesday, May 24th 2016, 3:01pm

Hi,

You can explicitly call SEGGER_SYSVIEW_Start() at the beginning of your application to start recording.
It cannot be guaranteed that SystemViewer can properly keep and manage the connection over a reset.

Regards
Johannes

pruesch

Beginner

Date of registration: Jun 11th 2015

Posts: 84

8

Wednesday, May 25th 2016, 2:39pm

Hi Johannes,

thanks for the hint. It looks aceptable :)

but one thing worth mentioning:

SEGGER_SYSVIEW_Start() can not be called before the FreeRTOS scheduler is started.
otherwise assertions will trigger because the "syscall from isr with too high priority" will be matched.