Propeller and Hyper
Newzed
Posts: 2,503
I am using Hyper for my Prop display.· If I want to log data overnight, I have noticed that if I remove the Prop Plug, the Prop continues to log and I can shut down my PC.· When I reboot the PC in the morning, the prop program stops completely when I re-insert the Prop Plug and I have to reset the Prop.· Why does the Prop shut down when I insert the Prop Plug?· All data logged up to the time I re-insert the Prop Plug is good and I can read the EEPROM after resetting.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
Comments
When you insert the PropPlug, it triggers the reset line. Remember, the Propeller needs the reset line to be triggered in order to start the boot loader. The 4 pins on the PropPlug are Ground, Receive-Data, Transmit-Data, and Reset. The easiest way to prevent this is to make a short jumper to go between the PropPlug and the plug for the PropPlug. Put a SPST switch in the reset line. When you want to use the programming port for just data, open the switch. When you want to use it for programming, close the switch. The Propeller will probably reset when you close the switch and that won't matter if you're going to program it.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
The Prop shouldn't reset when you release the switch. If you look at the Protoboard schematic (for example), the reset line on the chip is attached to the PropPlug input and there's a reset switch to ground. The Propeller holds the reset line high through a pullup except after a power up when the "brown out" detector senses the power up.
The PropPlug has a DTR output that goes through a small capacitor to the Protoboard and this lets a short reset pulse go through when DTR goes from high to low (which also happens when the USB is disconnected or closed.
My SuperMill has more than paid for itself.· Any time I need a little board like this one, I run out to the shop, set up SuperMill and in less than an hour my board is etched, drilled, trimmed and deburred.· Everybody should have one!
Thanks for your help, Mike.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
I'm having a little bit of trouble with the switch-modified Prop Plug adapter.· When I pull the Prop Plug, the Prop will log data for X amount of time -·one time·I got to Write #883 before it quit, another time I got to #1055 before it quit.· Last night I hooked everything up with the switch in the Open position and the Prop Plug connected.· Started logging, left my PC on overnight, and this morning it was still logging fine.· I finally stopped it at #1503 Writes.· It occurred to me, that with the Prop Plug disconnected, Rx and Tx are floating.· Do yoiu think it would help if I installed a 10K pullup - or pulldown - on the Rx and Tx pins where they are soldered in to the Proto Board.· Pulldown would be easier, but I can make it a pullup - whichever you suggest.· The·Write can be terminated by pressing any key, and perhaps a random spike is shutting down the·Write operation.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
ans := comm.rxtime(5000)
··· if ans·=>0·····
····· menu
I changed it to:
ans := comm.rxtime(5000)
··· if ans == "q"
····· menu
and the program ran for 21 hours without a problem. Prop Plug disconnected and PC off.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·