Runaway BASIC program

Questions about the BASICtools and MakeItC
basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: Runway Program needs to be stopped.

Post 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.



jmcdougall
Posts: 35
Joined: Tue Mar 22, 2022 11:17 pm

Re: Runaway BASIC program

Post 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.

basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: Runaway BASIC program

Post 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.

Post Reply