Re: Runway Program needs to be stopped.
Posted: Sun May 21, 2023 6:51 pm
From help files and also here in the forum (search runaway program)
But what if the program does not STOP. We call these runaway programs. These programs typically are flooding the serial communication channel, and this can cause issues with the driver or BASICtools Tcl program, having a hard time keeping up, In these cases, the program can usually be STOP'd by disconnecting the USB connection and reconnecting and then going into the Options Menu choose Serial Port and reselect the COM port you were using. In this case the disconnect lets Windows clear the serial driver, and Tcl to close that serial port. Re-opening the serial port will start the board up again, but will send a character to halt the user program.
But what if the program does not STOP. We call these runaway programs. These programs typically are flooding the serial communication channel, and this can cause issues with the driver or BASICtools Tcl program, having a hard time keeping up, In these cases, the program can usually be STOP'd by disconnecting the USB connection and reconnecting and then going into the Options Menu choose Serial Port and reselect the COM port you were using. In this case the disconnect lets Windows clear the serial driver, and Tcl to close that serial port. Re-opening the serial port will start the board up again, but will send a character to halt the user program.