Sometimes i put a printf in the initialisation c program, which runs in an endless loop, for debuging purposes.
After i run the loop again and check the console for the outcome,
i realize that the printf is runing ones every loop and the console is flooded with the debuging message.
Even if the c program stops executing, the message keeps coming .
The only remedy is to recycle the power on kflop board. The problem is that sometimes im doing remote debuging and there is none to do that.
IS there another way to flush the serial buffer?
Regards.
Serial buffer clear
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2540
- Joined: Mon Dec 04, 2017 1:49 am
Re: Serial buffer clear
Opps sorry somehow missed this.
Well don't do that
The console messages are buffered by KMotionServer.exe. If you exit KMotion.exe then KMotionServer.exe should exit and discard them.
Well don't do that
The console messages are buffered by KMotionServer.exe. If you exit KMotion.exe then KMotionServer.exe should exit and discard them.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.