cancel
Showing results for 
Search instead for 
Did you mean: 

STMFlashloader without ''Press any key to continue...''

daviddavid95
Associate II
Posted on March 01, 2010 at 21:01

STMFlashloader without 'Press any key to continue...'

#bootloader
3 REPLIES 3
Posted on May 17, 2011 at 13:41

Does anyone know of any effective ways of getting immediate output from STMFlashLoader.exe?

 

fflush(stdout);

This will flush the pending output buffer, as will waiting for a character.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
bartj1
Associate III
Posted on May 17, 2011 at 13:41

Hello,

I was also able to edit the source and comment out the getchar line. This appears to work as expected.

However, I am attempting to create a process in VB.net(2008) to call STMFlashLoader.exe and monitor its output stream. I am able to do this but the output appears only in 2 bursts(when I upload from the STM32 to the PC). If instead of calling STMFlashLoader.exe (plus parameters), I use ping as my file name and the passed parameter of google.com, I get immediate update when monitoring, thus I feel that my Vb code is doing what I expect.

Does anyone know of any effective ways of getting immediate output from STMFlashLoader.exe?

Thanks!

bartj1
Associate III
Posted on May 17, 2011 at 13:41

clive1,

Much thanks...it works!