PST with USB cable unplugged
Roger Lee
Posts: 339
Running a program using "Parallax Serial Terminal" for debug.
It hangs up without the USB plugged in. Resets continuously.
Q: Can the spin code for "Parallax Serial Terminal" be left in somehow?
Q: Do I have to comment all these lines for it to run unplugged?
It hangs up without the USB plugged in. Resets continuously.
Q: Can the spin code for "Parallax Serial Terminal" be left in somehow?
Q: Do I have to comment all these lines for it to run unplugged?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
My code has now has about 130 search-able comments added.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
-Phil
Really I'm OK for now. It's just such a pain in the rear.
Perhaps I'll hear more about this issue on Saturday.
Not going to ruin my weekend.
Have at it, I'm getting out of the way.
'Sorry for the implied exasperation. It's just that this has been a long-standing hardware design issue which, despite having a simple solution costing pennies, has yet to be addressed.
In the meantime, if you pull A30 and A31 up to Vdd with 4.7K resistors, your problem will disappear. This will provide enough power to the FTDI chip, without the USB cable connected, to keep it from toggling DTR, which is the source of your present difficulties. It's kludgy, but it works.
-Phil
Would a PST dummy object be helpful? Something that you could simply "remark" in/out in the OBJ section?
Attached is a "dummy" which should make it so that you only edit 1 line of code, instead of 130.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
OBC, good idea - could work!
PST Dummy is not a drop in replacement,yet.
Don't know if you intended for it to be.
Were you just showing me the concept
I'm using the constants that are now undefined (pst#NL).
edited my code last night to add (and again today)
can now use find/replace twice to change all.
also edited out half of the PST calls.
Roger
Post Edited (Roger Lee) : 5/11/2010 4:20:38 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log
I didn't test it, but it should work fine as a drop in..
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.
I'd have thought if you failed to start the object then eventually the transmit buffer would fill up and your program will hang on a tx call.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Are you suggesting coconuts migrate?"
-Phil
A dummy object in fact requires to modify only one line. I'll use this solution. Thanks.
Massimo
should be the next best thing to fixing the hardware issue which is plaguing us.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Are you Propeller Powered? PropellerPowered.com
Visit the: PROPELLERPOWERED SIG forum kindly hosted by Savage Circuits.