Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wow, v2 is here ! :-)
#20
Single step is working but you are impatient, you have to step some more lines (in your case 1 line) till it become visible.

You are facing two different things here:

1) How printf in newlib is working
2) How EBmonitor is working

1) printf doesn not always flush out everything right away. But if you have a newline then most likely it will flush the line. This depends how the buffering is set.

2) EBmonitor normally stops when the debugger stops and will poll the pipe on a live time ticker. event.
    If you turn on "High-performance"  it will poll te pipe constantly instead of using the live time ticker.
    The latest consumes more bandwidth of the interface.
     With "High-performance" EBmonitor is still paused on debugger stop but you have more chance that it has pulled the data before it stops.

Normally when you are using printf you won't notice a time difference of 250ms.

If you need tight synchronisation between printf and output then you should use semihosting. Semihosting uses a breakpoint and hold the target till the info is taken by the host.
Reply


Messages In This Thread
Wow, v2 is here ! :-) - by vorosj - 27-10-2021, 01:17 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 06:09 AM
RE: Wow, v2 is here ! :-) - by harchenko_pavel - 27-10-2021, 10:45 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 10:10 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 10:52 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 04:41 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 05:22 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 05:53 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 06:40 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 06:44 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 06:47 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 06:54 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 06:59 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 07:02 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:07 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 07:10 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:14 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:16 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 07:20 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 08:11 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 08:16 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 08:31 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 08:41 AM
RE: Wow, v2 is here ! :-) - by vorosj - 15-04-2022, 08:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)