Clearing out Stamp Program Memory
Jerry2
Posts: 3
Hi,
I've been using BS2's for some time now. I like the quick and easy way they can be used to work out a concept to control and communicate with other devices so I am regularly plugging in new sensors and bits of circuitry to test things out. This is so useful that it has become a part of my ready-fire-aim-aim-fire development process.
The consequence of this process is that every time I power up a new circuit I have an unknown program in BS2 memory. The old program may have the pin directions wrong for the new circuit, and blow a pin driver.
So far, I have been pretty lucky. All (3) of my stamps have survived this treatment but I know this will not last.
I'm pretty sure that the best practice would be to erase the BS2 program memory when I finish each session but I can't quite figure out how to do this, so I am looking for ideas.
Thanks
Jerry
I've been using BS2's for some time now. I like the quick and easy way they can be used to work out a concept to control and communicate with other devices so I am regularly plugging in new sensors and bits of circuitry to test things out. This is so useful that it has become a part of my ready-fire-aim-aim-fire development process.
The consequence of this process is that every time I power up a new circuit I have an unknown program in BS2 memory. The old program may have the pin directions wrong for the new circuit, and blow a pin driver.
So far, I have been pretty lucky. All (3) of my stamps have survived this treatment but I know this will not last.
I'm pretty sure that the best practice would be to erase the BS2 program memory when I finish each session but I can't quite figure out how to do this, so I am looking for ideas.
Thanks
Jerry
Comments
Every time I load the BASIC Stamp Editor I click the PBASIC directive, STAMP directive and type END. When I am done with any program I am working on I download this program, which essentially erases the old program and sets all pins to input. I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
The way I do it the effect is essentially the same…Since the tab is always there I just select it and hit RUN. Instant program clear button.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support