Skip to main content
daviddavid95
Associate
March 1, 2010
Question

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

  • March 1, 2010
  • 3 replies
  • 1003 views
Posted on March 01, 2010 at 21:01

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

#bootloader
This topic has been closed for replies.

3 replies

bartj1
Associate III
May 17, 2011
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!

Tesla DeLorean
Guru
May 17, 2011
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
bartj1
Associate III
May 17, 2011
Posted on May 17, 2011 at 13:41

clive1,

Much thanks...it works!