PINK remote reset circuit.
My Pink occasionally locks up when I try to FTP. I'm at work and would love to reset it but I'm 30 miles away. I have a stamp attached to the PINK my thought was to monitor a variable if it = 999 then it triggers a relay that cuts power to the Pink and the stamp. This would reset the variable in the process of reseting the stamp. I was thinking of have a capacitor big enough to hold the relay open for a second or two. Is this a good idea? is there a better way with out getting anything to complicated, space and power is limited. is a relay to noisy for a PINK, and there for not advised?
thanks for your input.
.... the relay would power the PINK through the NC position of the relay.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
thanks for your input.
.... the relay would power the PINK through the NC position of the relay.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I actually have several issues with FTPing, but they are all minor and I've found work arounds. With this specific issue I can't make it happen, it's kinda happening randomly. But when it does happen I'm usually uploading and editing pages a lot. I also have my stamp continuously reading Var25 for my bot control. and I have at least one page accessing the PINK. reading and writing vars. here is my IP address if you want to look at what I'm doing 71.219.82.181.
I'm on version 1.0
I'm going to be working on the stamp code so it not constantly communicating with the PINK.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I have a error 120 server busy error. I'll PM you my login. perhaps the diagnostics info will be of some value. I have all the pages backed up. so no worries.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
FTP is an interesting protocol. It uses one dedicated socket for a control data and one or more sockets for file transfers. This enables client/server communication while there are active transfers. Enabling more than one connection at a time is very expensive in terms of cpu cycles/ram since you have to keep track of connection states. Not to mention the file system on the PINK is probably limited thus it would be difficult to implement multiple read/write handles anyways.
Just as a test: Try opening multiple ftp connections to your PINK using different applications (wsftp, windows explorer, etc). See if you can reproduce the errors by creating too many simultaneous connections.
Harrison
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
Remember that while the FTP is a busy process the PINK still has the web server, e-mail engine, and one of the most time consuming processes which is serial communication with the host. On a normal web server this wouldn’t be an issue but with a PINK it’s real effectiveness comes by having constant communication with the host controller. I would also try your tests while it is not busy handling that as well. Admittedly the PINK testing was mostly done under controlled circumstances and subject to very low overhead. However the routines used are part of the standard development libraries used by NetBurner. If there’s a problem it most likely exists in more than one place. Still, we could see about getting your firmware upgraded to see if that helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support