Shop OBEX P1 Docs P2 Docs Learn Events
Labview to program BS2 — Parallax Forums

Labview to program BS2

ArchiverArchiver Posts: 46,084
edited 2000-04-25 20:47 in General Discussion
I am wanting to program a BS2 from Labview. I have not been able to
find any information on what the exact codes would be that I need to
send out of the serial port to the BS2.

Any help or pointers are appreciated.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-04-25 20:47
    Mike,

    The 'program code' that is sent to a stamp is actually a tokenized
    version of the basic source provided by the stamp programmer. This
    token list is not 'formally' available or provided by Parallax but there
    are those that spend time generating a list of the tokens being sent.
    The Stampw editors are the only provided way of programming a stamp
    device. There is also the issue of providing the serial line(s)
    sequencing that causes the stamp to reset, enter programming mode, etc.
    This would also have to be reproduced.

    I suspect that the token stream is an extension of the original
    stamp programming scheme that was available at one time long ago as open
    source. That is, the original microchip pic coding that resides on the
    stamp and makes up the various features available in stamp basic used to
    be available on-line. I have never been clear on the 'actual' origin of
    stamp basic but I believe it went something like this: Parallax, as a
    var of microchip pics developed 'and released as free source?' the calls
    and concept of a 'roll your own' basic pic device. Eventually this code
    and implementation was formalized into the Stamp I product, and also
    about that time the original pic code open source 'went away'(g).
    Parallax has over the years added to the code, switched to Scenix
    instead of Microchip, advanced to the Stamp II, and so on, but it is
    indeed now a proprietary environment. I think the original pic code was
    meant to be released ( as opposed to leaked, or provided against
    Parallax's' will ) but this early lineage rather murky and not discussed
    by many. Later as the marketed product flourished this original pic
    code quietly disappeared. Maybe someone else here can speak to whether
    this code is still available ( or supposed to be (g) ); why bring all
    this up...I learned alot about the ways of the pic from this code and it
    is an excellent source for understanding the many different issues and
    quirks of the Basic Stamp I & II language and interpreter. Anyway, if
    you dig a bit you may find a source for this original pic code which
    will shed some light on how one might program a stamp without the
    Parallax editor. I don't think I'm stepping on any toes here ( at least
    I hope not! ) but I have never really seen much discussion of the
    availability of this original pic source. Anybody else care to
    reminisce a bit here and fill in the gaps? ;<)

    Bill

    Mike McKenzie wrote:

    > I am wanting to program a BS2 from Labview. I have not been able to
    > find any information on what the exact codes would be that I need to
    > send out of the serial port to the BS2.
    >
    > Any help or pointers are appreciated.
Sign In or Register to comment.