Stamp reset on PC Restart?
KC8DKT
Posts: 76
·· Is there any way to keep the stamp from restarting when the PC turns on or powers up?· The DB9 and USB BOE do this.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Any links / info on how I would auto mate that?
Not reset with PC but let me upload code with out a manual switch?
Have no clue where to even start on this one...
What info I did find said only Tx/Rx is a MUST for uploading a program to the stamp. They said the Stamp ID button and the scan port for stamp in PBasic would not work "have to input $Stamp BS2Px my self" but uploading code would. I could live with that if they are right. Anything else NOT work if they are right about this?
If you want to leave the PC connect and not have the BASIC Stamp reset when the PC boots, you need to break the connection to the ATN pin; of course, you have to restore the connection for reprogramming.· The attached diagram shows the connection and where you could insert a switch or jumper.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Its the ATN "Low to High to Low" that tells the stamp to restart?
When I upload a program the ATN is held HIGH just before the upload starts and then drops back to LOW when the upload is done and the stamp resets?
I know as the program is being uploaded all pins on the stamp 0-15 go to INPUTs. I2C IO-Expanders do not have this problem and will hold there latch High/Low even when uploading to the stamp. This could be a way to setup some kind of automated setup if I got the above info right.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax