Re: Dropped prints when executing TCL commands in startup scripts

2021-05-02 Thread Lior Albaz
Hi Antonio, It seems there is a little mess with OpenOCD print results and processes. I think except critical errors, results and processes output should be sent only to the caller that may be telnet, TCL script, ... e.g, * From TCL, when you issue the *targets *command there is no output to th

Re: Dropped prints when executing TCL commands in startup scripts

2021-04-28 Thread Jan Matyáš
Hi Antonio, thank you for the concise explanation, it is now all clear to me :) So yes, it seems that the concrete examples I ran into (load_image, verify_image) could use some form of (optional) progress info. I'd be happy to submit a patch, as time permits. Regards, Jan On Wed, Apr 28, 2021

Re: Dropped prints when executing TCL commands in startup scripts

2021-04-28 Thread Antonio Borneo
On Tue, Apr 27, 2021 at 11:18 AM Jan Matyáš wrote: > > Hello, > > I have noticed that when TCL commands are being issued from OpenOCD's startup > scripts, their output (produced by command_print()) is not actually visible > on the output, apart from the last print. The preceding prints seem to b