Programming BS2 W/PPC
I'm experimenting with reading the tokens sent to the BS2 from the
stampw.exe compiler. I want to use my PocketPC as a mobile platform
for storing tokenized code from stampw.exe and later programming a
BS2 in the field with the PPC, something very similar to the Stache
micro-programmer.
I may be going down the wrong path here, I have only had my stamp a
month and don't fully understand how the DTR is used to turn the ATN
high to program the BS2, it's still pretty Greek to me. I need a web
site with more information on how the compilers program the BS2. Any
help pointing me in the right direction would be appreciated
stampw.exe compiler. I want to use my PocketPC as a mobile platform
for storing tokenized code from stampw.exe and later programming a
BS2 in the field with the PPC, something very similar to the Stache
micro-programmer.
I may be going down the wrong path here, I have only had my stamp a
month and don't fully understand how the DTR is used to turn the ATN
high to program the BS2, it's still pretty Greek to me. I need a web
site with more information on how the compilers program the BS2. Any
help pointing me in the right direction would be appreciated
Comments
>stampw.exe compiler. I want to use my PocketPC as a mobile platform
>for storing tokenized code from stampw.exe and later programming a
>BS2 in the field with the PPC, something very similar to the Stache
>micro-programmer.
>
>I may be going down the wrong path here, I have only had my stamp a
>month and don't fully understand how the DTR is used to turn the ATN
>high to program the BS2, it's still pretty Greek to me. I need a web
>site with more information on how the compilers program the BS2. Any
>help pointing me in the right direction would be appreciated
Here is a URL for the nitty gritty of the protocol:
http://www.emesystems.com/BS2clone.htm
The new Stache v1.4 firmware includes a BSAVE function that might
save you some hassle. It dumps tokenized PBASIC as an ascii hex file
to your debug screen or to a text capture program, (e.g.
hyperterminal or similar). You can examine that file and compare it
byte for byte with the "memory map" display, or (planned) BLOAD it
back into the Stache and thence into a Stamp II.
-- Tracy Allen
electronically monitored ecosystems
http://www.emesys.com/stachedat.htm <-- Stache info
> month and don't fully understand how the DTR is used to turn the ATN high
> to program the BS2, it's still pretty Greek to me. I need a web site with
> more information on how the compilers program the BS2. Any help pointing
> me in the right direction would be appreciated
The ATN line just connects DTR thru a level converter to the Reset pin of
the PIC processor.
WOW! When you said, "The insights did not come without an effort" you
aren't kidding. You are arguably the most knowledgeable person in
this group when it comes to the Basic stamp programming protocol.
I had been experimenting with reading the output from the stampw.exe
a little and had already discovered the brake signal before I read
you excellent work. The moment I saw it I was flabbergasted.
Sir, I can't thank you enough for your article. It's articulate,
concise and professional. Your work has saved me at least 20 to 40
hours of work. But a more important fact is that you published your
hard work with sufficient detail for others like me to follow. It's
you and others like you which make this new hobby so exciting. I can
only aspire to reach such a noble level in this community.
My forte isn't programming or building things with electronics but
building things with wood and digging big holes rapidly with golf
clubs, I'm a carpenter by trade. If there is anything I can do for
you please don't hesitate to ask.
patient and most willing to help with any issue presented to the group. He
(and a few others like him) are the reasons I stay subscribed to the group.
I don't use stamps any more but the things I learn on this list keeps me
very interested. Thanks Tracy and others for sharing your knowledge with
us......
Tom Estes
Original Message
From: <tunatunup2000@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, March 02, 2001 4:25 PM
Subject: [noparse][[/noparse]basicstamps] Re: Programming BS2 W/PPC
> I have just finished studying your article "BASIC Stamp clone" and
> WOW! When you said, "The insights did not come without an effort" you
> aren't kidding. You are arguably the most knowledgeable person in
> this group when it comes to the Basic stamp programming protocol.
SNIP