Prop restarts after starting serial communication
propwell
Posts: 87
Hi together,
i've got a Propeller-Program running, which uses the SerialMirror.spin (but the same problem appears with the FullDuplexSerial.spin).
When I start the serial comunication with "start(...)", after about half a second the propeller restarts completeley for about 3 or 4 times, and then the program runs completely perfect.
Is there any thing, that can make the Propeller restart, a conidition that affects the Serial Comunication?
Thank you,
propwell
i've got a Propeller-Program running, which uses the SerialMirror.spin (but the same problem appears with the FullDuplexSerial.spin).
When I start the serial comunication with "start(...)", after about half a second the propeller restarts completeley for about 3 or 4 times, and then the program runs completely perfect.
Is there any thing, that can make the Propeller restart, a conidition that affects the Serial Comunication?
Thank you,
propwell
Comments
http://forums.parallax.com/showthread.php?p=790298
I'm running Simple_Serial.spin to talk to a serial LCD in a GPS application. The pullup on A30 worked for me.
Jim
Jim
usual PC-terminalsoftware toggles the DTR-PIN when opening the com-port
PST.EXE from parallax does it NOT but ALL other that I have tested
If you use a connection that does noz include the DTR-Line it won't reset.
But you need the DTR-line for programming the Propeller
ou could use some other two pins to drive a serial connection
best regards
Stefan
- what is the DTR-Pin on the Prop?
- in my Program, i use Pins 30 an 31 for the serial comunication! is one of these the DTR-Pin?
Thank you very much for your answers!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
The PC's (or USB's) DTR pin is used by the Propeller Tool to reset the Prop to begin an upload sequence. Any time a connected PC toggles DTR, the Prop's /RST pin is pulled low momentarily, and the Prop resets. What StefanL38 points out is that most terminal programs, when they open a port, toggle the port's DTR line. Rayman and hover1 think that DTR is getting toggled by backfeeding power through the Prop Plug or onboard USB chip. Which of these is true depends on the answer to this question: When you observe this behavior, is your PC connected to the Prop, or not?
-Phil
-Phil
@propwell
If you want to understand the problem more, these are some of the·past posts on the problem:
http://forums.parallax.com/showthread.php?p=790298
http://forums.parallax.com/showthread.php?p=651731
And Phil diagnosised it pretty well.
Let us know if that works for you.
Jim
·