cannot load BS2
viking
Posts: 30
I am using a Basic Stamp· BS2-IC· 1995 Rev B . There is a program in it but I am trying to load another program. It does not seem to be working. I am powering it with a 9V battery with an output of 6.8V .It is connected to my laptop. I hit Alt L and everything comes up as it should. Then I go to Alt R and then the debug screen comes up. It fills up with SSSSS··· On checking the out put of the pins with a volt meter I am not getting an output on the last pins 6 & 7 etc This is the simple program. Any ideas?
·'THIS IS THE PROGRAM FOR THE JUGGLING TEDDY BEAR
DIRS=%1111111111111111
OUTS=%0000000000000000
START:
OUTS=%10001
PAUSE 100
OUTS=%01001
PAUSE· 100
OUTS=%01010
PAUSE· 100
OUTS=%00110
PAUSE· 100
OUTS=%00101
PAUSE· 100
OUTS=%10010
PAUSE 100
OUTS=%10101
PAUSE· 100
outs=%1010011
DEBUG OUTS
GOTO START
·
·'THIS IS THE PROGRAM FOR THE JUGGLING TEDDY BEAR
DIRS=%1111111111111111
OUTS=%0000000000000000
START:
OUTS=%10001
PAUSE 100
OUTS=%01001
PAUSE· 100
OUTS=%01010
PAUSE· 100
OUTS=%00110
PAUSE· 100
OUTS=%00101
PAUSE· 100
OUTS=%10010
PAUSE 100
OUTS=%10101
PAUSE· 100
outs=%1010011
DEBUG OUTS
GOTO START
·
Comments
·
·· A weak 9V battery like that is not going to be reliable when trying to download a program.· That could very well be part of your problem.· You say you have a laptop, but how are you connecting the BASIC Stamp to the laptop?· Serial or USB?· Are you using an adapter?· If it’s an on-board Serial Port you will want to disable the FIFO Buffers.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
My BS2 would work sometimes but not others and it took awhile to figure out that the tab at the bottom of the power jack was sticking.
One other thing is that if you are using a 9 pin cable in any form, try switching to a different one. My first time using a BS2 I couldn't get·regular loading because there was a short in one of the wires. Some guys from the robot club dinked around with it for a few hours before switching out the cable and the problem went away.
Post Edited (AIman) : 11/3/2006 7:35:49 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
·
·· Yes you can use the cable that came with it, however for Windows XP you need to have the Windows version of the BASIC Stamp Editor.· You can download the latest version from our website.· A VOM most likely won’t detect rapid changes on the pins.· You will need to make the pins HIGH for a longer period of time to see them with a VOM.· Rapid changes like that are only going to show up on a Scope or Logic Analyzer.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I have four or five stamp1 rex d running for a few years·and driving solid state relays direct for xmas lights and no problems. This particular BS2 I used for X 10 control fading commands. I do not know why I am having trouble now. I suppose I should use the ULN2003 for driving the relays. However if on the BS1 I put it in the holes next to the pins and line up the ground then pin 1 will send a signal to input 7 on the ULN but this should not matter. The BS2 is another matter. Have a good weekend.