Page 2 of 2

Re: Runway Program needs to be stopped.

Posted: Sun May 21, 2023 6:51 pm
by basicchip
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.

Re: Runaway BASIC program

Posted: Mon May 22, 2023 10:25 pm
by jmcdougall
Tried that multiple times yesterday and that did not work. I can see the restarts but no char being sent to cause a halt and it certainly doesn't halt. It just restarts the program. That is why I posted after trying that and searching the forum for other possible solutions. Have been testing now using the other SuperPro I have.

Re: Runaway BASIC program

Posted: Mon May 22, 2023 11:05 pm
by basicchip
It has worked for me in all situations I have tried.

Disconnect the USB wait 10 seconds

Reconnect, then select the serial port quickly.

If you can send me the program, I can try here.