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, 02:17 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 07:09 AM
RE: Wow, v2 is here ! :-) - by harchenko_pavel - 27-10-2021, 11:45 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 11:10 AM
RE: Wow, v2 is here ! :-) - by embitz - 27-10-2021, 11:52 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 05:41 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 06:22 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 06:53 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:40 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 07:44 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:47 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 07:54 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 07:59 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 08:02 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 08:07 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 08:10 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 08:14 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:20 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 09:11 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 09:16 AM
RE: Wow, v2 is here ! :-) - by vorosj - 28-10-2021, 09:31 AM
RE: Wow, v2 is here ! :-) - by embitz - 28-10-2021, 09:41 AM
RE: Wow, v2 is here ! :-) - by vorosj - 15-04-2022, 09:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)