Reseting the Basic Stamp's memory
Dell_Conagher
Posts: 2
Hey guys, i'm a student working with the "Robotics with the Boe-Bot" kit and I'm having some trouble with the on stamp memory. I'm using the Board of Education stamp just for info on what i'm working with. When i type in a pulseout command onto the Stamp program and hit play, the servo-wheels do what i tell them. Yet when i type in a newer program and hit play, the old program still runs; Completely negating what I've just entered I've skimmed through both the Robotics with the Boe-Bot and the Whats a Micro Controller manuels searching for an answer, but to no avail. There is a reset button on the board, but inseat of wiping the memory, it only halts the saved command for the duration of me pusing the reset button O.o
If anyone has any advice for this, it would be greatly appreciated since it's hindering my classwork quite a bit. Thanks again guys
If anyone has any advice for this, it would be greatly appreciated since it's hindering my classwork quite a bit. Thanks again guys
Comments
You are correct that hitting the reset button won't do it. That just restarts the processor, which loads and then runs whatever program is currently in the EEPROM.
I suspect that either
(A) your "newer program" IS running, and just isn't doing what you're expecting it to do. Try loading a new program that doesn't do anything other than displaying "New Program Running" to the screen.
(B) you're somehow not actually loading the newer program into the Stamp's EEPROM. Again, a new program that doesn't do anything other than displaying a new string to the screen will tell you. When you load the new program you should see that little window come up that looks for, and locates the Stamp, like the one on page 22 of the manual.
(C) you're up against power supply issues that are causing your servos to do essentially random things. Try loading a program that does nothing with the servos (perhaps display "Prog 1 running"), and physically disconnect the servos. Then load a different program that also does nothing with the servos (perhaps display "Prog 2 running"). You should be able to see the second program replace the first.
If none of that does what it should, I'm stymied.
leave it to me to ask something silly before thinking it through
Please do not feel this way because you will not ask a question that need to be asked
Now saying this ,this not to say that if you have a question about how do your classwork project that you get anyone to do it for you
Do you see the window with the bar graph popping up when you expect the new program being loaded?
If there are connection problems then you should get error messages, Stamp not found or similar things.
As Sylvie369 mention you should try a very simple program and be sure that being loaded and run properly.
You can also post both your old and new program here for us to try if our suggestions still doesnt solve your problems.
I wouldn't know the first thing about Stamps if it weren't for the fact that a lot of people asked a lot of questions...and Mike Green answered all of them. :smilewinkgrin: