Display Data
Discovery
Posts: 606
in Propeller 1
Hi,
I write literally scores of programs for the Basic Stamp controller and for most of them they control an apparatus. When I need to monitor the process, I connect my laptop to the BS2 via the USB, open a Debug window, select a port and the data begins painting the screen.
However, for Propeller programs when I disconnect the USB cable and take the laptop away for other activities then return to monitor the data...as soon as the USB cable is connected to the computer the Propeller program stops. In order to get data...I must download and start the program which messes up the controlling process.
Is there an easy way to prevent the Propeller program from stopping when the USB cable is reattached and have the Propeller act like the BS2 controllers?
Sincerely,
Discovery
I write literally scores of programs for the Basic Stamp controller and for most of them they control an apparatus. When I need to monitor the process, I connect my laptop to the BS2 via the USB, open a Debug window, select a port and the data begins painting the screen.
However, for Propeller programs when I disconnect the USB cable and take the laptop away for other activities then return to monitor the data...as soon as the USB cable is connected to the computer the Propeller program stops. In order to get data...I must download and start the program which messes up the controlling process.
Is there an easy way to prevent the Propeller program from stopping when the USB cable is reattached and have the Propeller act like the BS2 controllers?
Sincerely,
Discovery
Comments
If you're using an external Prop Plug, you can plug the USB into the Prop Plug before pluging the Prop Plug into your Propeller board. If your board has an on-board USB-Serial converter, you can probably still do this by connecting a Prop Plug to the right pins and not using the on-board converter.
I will try your suggestion.
Thanks
Discovery
I get the same results...MCU halt.
Discovery
You might want to check your USB device driver (under devices) in the control panel and ensure you have the latest version and that it is setup correctly as per the Parallax instructions on their web site.
also do other Prop heads have this problem?
Version 2.10.00
Supports Windows XP/Vista/7/8/8.1. (XP and Vista are supported but are not Microsoft Certified since Microsoft ended their certification support for those operating systems). For other FTDI USB drivers see http://www.ftdichip.com/Drivers/VCP.htm. Installer available as .exe and .zip archive.
Fixes Included Since v2.08.24:
Support for Selective Suspend
Support for Windows 8/8.1
Performance improvements on open and close port
Fixed problem where COM port became unavailable after D2XX port access
Fixed synchronization issue that could lead to data loss
Fixed bug on close port for .NET Framework applications
Fixed problem on close port that caused some hubs to fail
Fixed bug that prevented remote wakeup for composite devices
Fixed bug causing wrong number of bytes written to be reported after a timeout
Fixed bug in VCP XON/XOFF flow control
Fixed problem connecting multiple devices to EUSB adapter
If you can disable the output pin P30 (ie DIRA[30]~ ) or stop the serial driver on the prop (eg FullDuplexSerial) when the USB is not connected this should prevent the problem.
If you can cut the P30 trace to the FTDI and insert a 5K-10K this may help.
If you can cut the DTR trace to the transistor base this may help.
Sincerely,
Discovery