Anybody really use the "reset" button?
Rayman
Posts: 14,887
Just curious...
I have included a reset button in all my designs, but I'm not sure I see the utility of it...
Cycling the power switch does the same thing and better, IMHO.
Perhaps in some bigger system that the Prop was just a part of, it would be nice to reset just the Prop.
But, I've never really had a need for the reset button.
Would anybody miss the reset button?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
I have included a reset button in all my designs, but I'm not sure I see the utility of it...
Cycling the power switch does the same thing and better, IMHO.
Perhaps in some bigger system that the Prop was just a part of, it would be nice to reset just the Prop.
But, I've never really had a need for the reset button.
Would anybody miss the reset button?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I always have someone watching my back.
I can see how it might be useful in testing, however.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Pulling the power plug all the time does seem a bit brutal.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
But that doesn't help when an external device also needs a reset. A serial LCD is a good example - a few garbage characters can put it into a non-responsive mode, and then the fastest way to clear everything is to just recycle power.
tl;dr: A regular button input is more flexible than a reset button and can be programmed to perform a reset.
-Phil
It is generally considered bad design practice to require the use of a reset button in an end product. This is especially true for a peripheral that would be reset separately from the main device. Imagine having a reset button on one of our serial LCDs. pressing it would mess everything up for the microcontroller connected to it, but the microcontroller wouldn't even be aware that the LCD was reset.
Development systems, on the other hand, do need a reset button. They are especially useful to put the microcontroller to sleep if it starts behaving erratically. It is usually faster to press the reset button than to slide the power switch. I have even held the reset button on a board to keep the microcontroller from running then used my other hand to turn the board off.
Like you mentioned, I often use the 'Identify' function of the Propeller Tool to reset the Propeller, by pressing 'F7', then 'Enter' to close the response window. For products that use the Propeller, but don't generally change firmware, we prefer to have a jumper on the DTR line, so that the user can prevent the computer from resetting or programming the Propeller. (See the Propeller Servo Controller, for example.) An exception would be the PropScope, which does not store its firmware in EEPROM; the computer loads it on every use.
If you have space for 2x0.1" pin stakes you could solder on pins and any old pc will have a 2pin jumper to a switch so you can have add a reset button if you wish and place it where you want it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
I've been using a R/C cheapo set modded for a remote reset for
more years than I would care to admit.
It used to be with an ethernet download DOS INT 21 hook for a
'loader on file change' and ran a batch file to load the targets.
when necessary, push the button, reset target.
just add a jumper header or pth pair
or cycle the power by remote.
ah, remoting before VNC....
I could <still> use a Prop W98 IDE framework.
jr
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
Post Edited (Leon) : 5/13/2010 3:05:36 AM GMT
The reset button is used on the hand wired Hydra clone I built. I'd rather use the reset to go back to the menu on the SD card than pulling the plug and powering it back on.
In the case of some of the robots I work on having a reset button is fine and works well as long as it is managed properly. The reset on the main host will also reset any other boards that it needs to in order to ensure everything come back up in an orderly fashion.
Robert
But I have never left a reset button in a finished project.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
Well, I guess you need to reset because something went wrong.. so
RSI = Repetitive Silly Input ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"Are you suggesting coconuts migrate?"
Of course with the Prop and Prop tool the debug, fix, compile, load reset cycle is fast enough in most cases but when you are poking around with a scope, for example, a quick reset button hit can be very useful.
Aside: I wish there was a reset button on the front of my cable TV digi box. Damn thing is always locking up or forgetting to put the Finnish subtitles onto programs etc etc. I have to keep pulling the power plug out to get it back to sanity. Drat, now I have a little project to attend to.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
Heater our digi recordery thing locks up constantly. This required the pulling of the power as there seems to be a beleif that reset buttons are never required. I noticed a short while ago that my partners daughter could reset it by pulling it forwards a couple of inches and pushing it back again. I assumed that it was the two pin mains plug that was loose, but it turned out to be that one of the house bunnies (four legged sort ) had bitten through the mains wire.
How can they do that and not die ????
On topic, my beloved Nascom had a NMI button too, this gave an on screen dump of all the registers and their contents and initilizes the single step mode
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
Post Edited (Toby Seckshund) : 5/13/2010 1:02:14 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
MOORE'S LAW: The capabilities of electronics shall double every 18 months.
cloyd's corollary: Hardware is easy, software is hard.
Until..one day we came home to find the little mutt had chewed through the refrigerators mains cable. Strangely the chewing habit had stopped.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
That would have been the final reset.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
Post Edited (Toby Seckshund) : 5/14/2010 4:57:46 PM GMT
Did you know on some BASIC Stamp Programs the reset button is used to change modes of the program?· The Scribbler Robot was one example of where this was used.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
The idea is i'm working toward a self build, cheap component, 'strip board' propeller system to link up to a mini kb and screen in a 'developers heaven'
laptop style thing.
When bored of this, plugging in a RamBlade will allow me to run CP/M and more using the base prop as a terminal
The salient point is all 3 designs so far, and the final 3 stage Vreg monster I'm now working on all have a 4 pin PropPlug header.
I found a instructible maybe here on the foums to build a plug in reset switch. So I adapted it slightly and have built a tiny PCB with just
a tac switch shorting RESN to GND and female and male headers to carry through to the prop-plug. Hey Presto easy resets while coding, both whilst connected to
the pc or not.
I think the idea may be useful to you in that if you're not sure whether to include the reset switch or not, maybe you could provide a small 'Plug In' reset switch. It would
save PCB space if that is an issue.
Post Edited (nyje) : 5/14/2010 8:51:41 PM GMT
Another thing I use it a lot for is if I am running PropDOS, because you have to reset the prop every time you want to select a different program. [noparse][[/noparse]Actually, that would be interesting to get it so resetting isn't necessary... Maybe just have the programs run within propdos itself.]
Another reason I'd need a reset switch is if the prop starts glitching the game I am working on, and adds invisible monsters to the screen which can only be defeated by attacking randomly...
If it's for something other than code that hasn't been completely corrected, or if it has reset routines built in, a reset button wouldn't be necessary.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
MCU Projects·- my new site where I will be posting all projects, code, etc.
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
SD Card Adapter·- Add extra memory to your next Propeller project with ease!