Is There a Way to Keep Propeller from Resetting When Connecting with USB?
Duane Degn
Posts: 10,588
I'm aware of the problem many Propeller boards with on board USB have with resetting when not connected to a PC. To overcome this I used this software solution Beau posted.
Another problem is the reset when the Propeller connects with a PC. I haven't been able to find a software solution for this issue.
I appears the easiest solution to the USB reset issue is to add a jumper or switch to the reset line. The boards for this project have already been made and I'm pretty sure my client doesn't want to add a switch or jumper.
The boards will need to have their programs updated occasionally so removing the reset circuitry also isn't a desirable option.
Are we stuck with having the board reset when connecting to USB without some sort of hardware change?
Here's a link to a thread where someone asked this same question (without resolution).
Another problem is the reset when the Propeller connects with a PC. I haven't been able to find a software solution for this issue.
I appears the easiest solution to the USB reset issue is to add a jumper or switch to the reset line. The boards for this project have already been made and I'm pretty sure my client doesn't want to add a switch or jumper.
The boards will need to have their programs updated occasionally so removing the reset circuitry also isn't a desirable option.
Are we stuck with having the board reset when connecting to USB without some sort of hardware change?
Here's a link to a thread where someone asked this same question (without resolution).
Comments
I take it that's a "yes"?
Is there a setting within the FTDI chip that would keep the reset line from being toggled when the Prop board is being connected via USB?
Afraid so.
There doesn't appear to be any setting to control DTR behavior from the FTProg tool except for inverting the sense of the signal.
Then, I connected a Prop Pin to the reset input of the Prop.
So, when that pin is programmatically sent high, the Prop cannot be reset by the FTDI chip.
My client is using some sort of interface created with LabView. I'll ask if there's a way for the interface program to control the DTR state. I'm inclined to think there isn't.
The reset hasn't ever been an issue in my personal projects so I hadn't worried about it before.
I like this idea. I'll probably use it in future boards.
Thanks.
and when it's time to reprogram a power reset gives you 4 seconds to click send in prop-tool
as your program have not yet set the pin from the default input after a hardware re-boot.
My choice would be to force a state on the Transistor Base.
Try changing the value of the shunt capacitor for the reset. Originally I had this constant resetting of the propeller if there was no USB connection, and this was not good in the one project I did to control a high-power hydro-turbine that ran-away in 5 seconds if the load is lost while the propeller is incapacitated due to this irritating problem. I think in the original cct from Parallax, the value was 10nF, I changed this to 100nF, and the problem with constant resetis solved when there is no USB connection. However, the board will reset on connection, due to the behaviour of DTR.
Best regards from Thailand!
Allan
http://forums.parallax.com/showthread.php?135067-Serial-Quirk&p=1043169&viewfull=1#post1043169
Best regards
Allan, Are you aware that's the same link as the first link in post #1 of this thread?
The only working solution to keep a Propeller board from resetting when connecting to USB is to have either a switch to disconnect the reset line or to use a Propeller I/O pin to hold the reset line in a constant state.