Shop OBEX P1 Docs P2 Docs Learn Events
Stache as memory stick — Parallax Forums

Stache as memory stick

ArchiverArchiver Posts: 46,084
edited 2003-12-09 15:06 in General Discussion
Hi,

Writing my previous message it occured to me that the Stache could be used
as an RS232 memory stick.
It would require new firmware though.
When connected to the stamp/javelin (acting as DTE) two commands are
to be recognized by the Stache: a STORE command that lets the stamp
controller write bytes to the Stache eeprom,
and a READ command that lets it read bytes from the eeprom. No meaning
whatsoever is placed on the bytes.
That should be handled by the stamp program.

When connected to the PC (acting as DCE) there must be a special program
that reads/writes the Stache eeprom.
This way we would have an easy to use removable storage device.

Question to the developers of Stache: is the above doable (or even
desireable)?

regards peter

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-06 14:27
    --- In basicstamps@yahoogroups.com, "Peter Verkaik" <peterverkaik@b...> wrote:
    > Hi,
    >
    > Writing my previous message it occured to me that the Stache could be used
    > as an RS232 memory stick.
    > It would require new firmware though.
    > When connected to the stamp/javelin (acting as DTE) two commands are
    > to be recognized by the Stache: a STORE command that lets the stamp
    > controller write bytes to the Stache eeprom,
    > and a READ command that lets it read bytes from the eeprom. No meaning
    > whatsoever is placed on the bytes.
    > That should be handled by the stamp program.
    >
    > When connected to the PC (acting as DCE) there must be a special program
    > that reads/writes the Stache eeprom.
    > This way we would have an easy to use removable storage device.
    >
    > Question to the developers of Stache: is the above doable (or even
    > desireable)?
    >

    I think there are a lot of us who want some from of portable memory so we can
    download the data and carry it back to the PC at home.

    HOBO data loggers have a BackPack unit that automatically connects to a data
    logger in
    the field, and then pulls the data.

    You bring that back to your PC and connect it for downloading into your PC.

    I'm not exactly sure how it works, if it resets the logger after it down loads
    or any of
    that.

    But having a portable unit, with battery, memory, and a few indicators would be
    really
    neat.

    Of course, in my thinking, the next logical thing is a display, then inputs....
    Then of
    course the Sunday papers have advertisements for PALM Pilots....

    And that gets me to wondering if anyone is going to do a Nuts&Volts on Palm
    Pilots and
    the Stamp ?

    But, in answer to your original question, I do believe there is some need for
    some
    portable device to download.

    Dave
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-06 16:42
    Hi Dave,

    The problem with dataloggers is that they don't allow random access to
    stored data, at least
    I don't know any that does.
    The reason I thought of the Stache is that it is SX18 based.

    Question: can the Stache be reprogrammed with an SX-key (voiding warranty of
    course)?

    Having written a 16bit filesystem for ram/eeprom for the Javelin, and
    knowing the SX18,
    I am sure the SX18 has enough program space and variable space to port that
    filesystem
    to the SX18. It is a simple filesystem, supporting only 32KB memory (as in
    the Stache),
    Filenames are single character (eg. 'A', 'B' etc.) and supports the
    following functions
    OpenForRead,OpenForWrite,OpenForRandom,Seek,Tell,Read,Write,Close,Flush,Size
    ,Dir,Delete.
    Each of these functions could be called from the stamp with a command byte
    plus
    required parameters. This would give a nice portable filesystem for the
    stamp.
    You could denote a file as boot file. holding parameter settings like
    baudrates, timing values
    etc, without the need for setup code (with readable text) programmed in the
    stamp and save valuable program space.

    What do you think? Would that be a useful device?

    regards peter




    Original Message
    From: "Dave Mucha" <davemucha@j...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, December 06, 2003 3:27 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Stache as memory stick


    > --- In basicstamps@yahoogroups.com, "Peter Verkaik" <peterverkaik@b...>
    wrote:
    > > Hi,
    > >
    > > Writing my previous message it occured to me that the Stache could be
    used
    > > as an RS232 memory stick.
    > > It would require new firmware though.
    > > When connected to the stamp/javelin (acting as DTE) two commands are
    > > to be recognized by the Stache: a STORE command that lets the stamp
    > > controller write bytes to the Stache eeprom,
    > > and a READ command that lets it read bytes from the eeprom. No meaning
    > > whatsoever is placed on the bytes.
    > > That should be handled by the stamp program.
    > >
    > > When connected to the PC (acting as DCE) there must be a special program
    > > that reads/writes the Stache eeprom.
    > > This way we would have an easy to use removable storage device.
    > >
    > > Question to the developers of Stache: is the above doable (or even
    > > desireable)?
    > >
    >
    > I think there are a lot of us who want some from of portable memory so we
    can
    > download the data and carry it back to the PC at home.
    >
    > HOBO data loggers have a BackPack unit that automatically connects to a
    data logger in
    > the field, and then pulls the data.
    >
    > You bring that back to your PC and connect it for downloading into your
    PC.
    >
    > I'm not exactly sure how it works, if it resets the logger after it down
    loads or any of
    > that.
    >
    > But having a portable unit, with battery, memory, and a few indicators
    would be really
    > neat.
    >
    > Of course, in my thinking, the next logical thing is a display, then
    inputs.... Then of
    > course the Sunday papers have advertisements for PALM Pilots....
    >
    > And that gets me to wondering if anyone is going to do a Nuts&Volts on
    Palm Pilots and
    > the Stamp ?
    >
    > But, in answer to your original question, I do believe there is some need
    for some
    > portable device to download.
    >
    > Dave
    >
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-06 20:17
    >Question: can the Stache be reprogrammed with an SX-key (voiding warranty of
    >course)?

    Yes, it can. There is a programming header (4 holes labeled +, -,
    x1, x2) on the Stache circuit board. It programs just as would any
    other SX18. The schematic is included with the Stache documentation
    and is also available on our web site
    <http://www.emesystems.com/stache.htm>. You are welcome to try.
    (And if you want to restore it as a Stache, we can help you with
    that, too.)

    We did consider turning it into a memory module for data. I think to
    be a viable product, though, it would need to have a lot more memory,
    512k at least, in an AT45 chip. On one hand, how is it going to
    compete with memory media out there that offer 256 megabytes less
    than $100? On the other hand, the Stache memory module would offer
    the convenience of an RS232 interface compatible with Stamp and with
    any terminal program on the PC, like hyper-terminal. Would that
    convenience be worth $100, for 1/2 megabyte?

    -- Tracy




    >Hi Dave,
    >
    >The problem with dataloggers is that they don't allow random access to
    >stored data, at least
    >I don't know any that does.
    >The reason I thought of the Stache is that it is SX18 based.
    >
    >Question: can the Stache be reprogrammed with an SX-key (voiding warranty of
    >course)?
    >
    >Having written a 16bit filesystem for ram/eeprom for the Javelin, and
    >knowing the SX18,
    >I am sure the SX18 has enough program space and variable space to port that
    >filesystem
    >to the SX18. It is a simple filesystem, supporting only 32KB memory (as in
    >the Stache),
    >Filenames are single character (eg. 'A', 'B' etc.) and supports the
    >following functions
    >OpenForRead,OpenForWrite,OpenForRandom,Seek,Tell,Read,Write,Close,Flush,Size
    >,Dir,Delete.
    >Each of these functions could be called from the stamp with a command byte
    >plus
    >required parameters. This would give a nice portable filesystem for the
    >stamp.
    >You could denote a file as boot file. holding parameter settings like
    >baudrates, timing values
    >etc, without the need for setup code (with readable text) programmed in the
    >stamp and save valuable program space.
    >
    >What do you think? Would that be a useful device?
    >
    >regards peter
    >
    >
    >
    >
    >
    Original Message
    >From: "Dave Mucha" <davemucha@j...>
    >To: <basicstamps@yahoogroups.com>
    >Sent: Saturday, December 06, 2003 3:27 PM
    >Subject: [noparse][[/noparse]basicstamps] Re: Stache as memory stick
    >
    >
    >> --- In basicstamps@yahoogroups.com, "Peter Verkaik" <peterverkaik@b...>
    >wrote:
    >> > Hi,
    >> >
    >> > Writing my previous message it occured to me that the Stache could be
    >used
    >> > as an RS232 memory stick.
    >> > It would require new firmware though.
    >> > When connected to the stamp/javelin (acting as DTE) two commands are
    >> > to be recognized by the Stache: a STORE command that lets the stamp
    >> > controller write bytes to the Stache eeprom,
    >> > and a READ command that lets it read bytes from the eeprom. No meaning
    >> > whatsoever is placed on the bytes.
    >> > That should be handled by the stamp program.
    >> >
    >> > When connected to the PC (acting as DCE) there must be a special program
    >> > that reads/writes the Stache eeprom.
    >> > This way we would have an easy to use removable storage device.
    >> >
    >> > Question to the developers of Stache: is the above doable (or even
    >> > desireable)?
    >> >
    >>
    >> I think there are a lot of us who want some from of portable memory so we
    >can
    >> download the data and carry it back to the PC at home.
    >>
    >> HOBO data loggers have a BackPack unit that automatically connects to a
    >data logger in
    >> the field, and then pulls the data.
    >>
    >> You bring that back to your PC and connect it for downloading into your
    >PC.
    >>
    >> I'm not exactly sure how it works, if it resets the logger after it down
    >loads or any of
    >> that.
    >>
    >> But having a portable unit, with battery, memory, and a few indicators
    >would be really
    >> neat.
    >>
    >> Of course, in my thinking, the next logical thing is a display, then
    >inputs.... Then of
    >> course the Sunday papers have advertisements for PALM Pilots....
    > >
    >> And that gets me to wondering if anyone is going to do a Nuts&Volts on
    >Palm Pilots and
    >> the Stamp ?
    >>
    >> But, in answer to your original question, I do believe there is some need
    >for some
    >> portable device to download.
    >>
    >
    > > Dave
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-09 02:06
    I found this site:
    http://pages.quicksilver.net.nz/sbridger/
    They offer a chip called BL233 (US$ 4,=) that does RS232/USB to I2C/SPI
    conversion.
    The host (could be stamp,javelin or pc) talks to the chip using ascii
    commands. The
    chip also supports 1-wire (something for the javelin).
    Adding an AT45 to this chip would make a portable memory that is easy
    accessible from both stamp and pc (no API, no DLL required).

    Has anyone used this chip? I believe it operates in half duplex mode so it
    should
    ignore echoed characters when it sends characters to the stamp.

    regards peter


    Original Message
    From: "Tracy Allen" <tracy@e...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, December 06, 2003 9:17 PM
    Subject: Re: [noparse][[/noparse]basicstamps] Re: Stache as memory stick


    > >Question: can the Stache be reprogrammed with an SX-key (voiding warranty
    of
    > >course)?
    >
    > Yes, it can. There is a programming header (4 holes labeled +, -,
    > x1, x2) on the Stache circuit board. It programs just as would any
    > other SX18. The schematic is included with the Stache documentation
    > and is also available on our web site
    > <http://www.emesystems.com/stache.htm>. You are welcome to try.
    > (And if you want to restore it as a Stache, we can help you with
    > that, too.)
    >
    > We did consider turning it into a memory module for data. I think to
    > be a viable product, though, it would need to have a lot more memory,
    > 512k at least, in an AT45 chip. On one hand, how is it going to
    > compete with memory media out there that offer 256 megabytes less
    > than $100? On the other hand, the Stache memory module would offer
    > the convenience of an RS232 interface compatible with Stamp and with
    > any terminal program on the PC, like hyper-terminal. Would that
    > convenience be worth $100, for 1/2 megabyte?
    >
    > -- Tracy
    >
    >
    >
    >
    > >Hi Dave,
    > >
    > >The problem with dataloggers is that they don't allow random access to
    > >stored data, at least
    > >I don't know any that does.
    > >The reason I thought of the Stache is that it is SX18 based.
    > >
    > >Question: can the Stache be reprogrammed with an SX-key (voiding warranty
    of
    > >course)?
    > >
    > >Having written a 16bit filesystem for ram/eeprom for the Javelin, and
    > >knowing the SX18,
    > >I am sure the SX18 has enough program space and variable space to port
    that
    > >filesystem
    > >to the SX18. It is a simple filesystem, supporting only 32KB memory (as
    in
    > >the Stache),
    > >Filenames are single character (eg. 'A', 'B' etc.) and supports the
    > >following functions
    >
    >OpenForRead,OpenForWrite,OpenForRandom,Seek,Tell,Read,Write,Close,Flush,Siz
    e
    > >,Dir,Delete.
    > >Each of these functions could be called from the stamp with a command
    byte
    > >plus
    > >required parameters. This would give a nice portable filesystem for the
    > >stamp.
    > >You could denote a file as boot file. holding parameter settings like
    > >baudrates, timing values
    > >etc, without the need for setup code (with readable text) programmed in
    the
    > >stamp and save valuable program space.
    > >
    > >What do you think? Would that be a useful device?
    > >
    > >regards peter
    > >
    > >
    > >
    > >
    > >
    Original Message
    > >From: "Dave Mucha" <davemucha@j...>
    > >To: <basicstamps@yahoogroups.com>
    > >Sent: Saturday, December 06, 2003 3:27 PM
    > >Subject: [noparse][[/noparse]basicstamps] Re: Stache as memory stick
    > >
    > >
    > >> --- In basicstamps@yahoogroups.com, "Peter Verkaik" <peterverkaik@b...>
    > >wrote:
    > >> > Hi,
    > >> >
    > >> > Writing my previous message it occured to me that the Stache could be
    > >used
    > >> > as an RS232 memory stick.
    > >> > It would require new firmware though.
    > >> > When connected to the stamp/javelin (acting as DTE) two commands are
    > >> > to be recognized by the Stache: a STORE command that lets the stamp
    > >> > controller write bytes to the Stache eeprom,
    > >> > and a READ command that lets it read bytes from the eeprom. No
    meaning
    > >> > whatsoever is placed on the bytes.
    > >> > That should be handled by the stamp program.
    > >> >
    > >> > When connected to the PC (acting as DCE) there must be a special
    program
    > >> > that reads/writes the Stache eeprom.
    > >> > This way we would have an easy to use removable storage device.
    > >> >
    > >> > Question to the developers of Stache: is the above doable (or even
    > >> > desireable)?
    > >> >
    > >>
    > >> I think there are a lot of us who want some from of portable memory so
    we
    > >can
    > >> download the data and carry it back to the PC at home.
    > >>
    > >> HOBO data loggers have a BackPack unit that automatically connects to a
    > >data logger in
    > >> the field, and then pulls the data.
    > >>
    > >> You bring that back to your PC and connect it for downloading into your
    > >PC.
    > >>
    > >> I'm not exactly sure how it works, if it resets the logger after it
    down
    > >loads or any of
    > >> that.
    > >>
    > >> But having a portable unit, with battery, memory, and a few indicators
    > >would be really
    > >> neat.
    > >>
    > >> Of course, in my thinking, the next logical thing is a display, then
    > >inputs.... Then of
    > >> course the Sunday papers have advertisements for PALM Pilots....
    > > >
    > >> And that gets me to wondering if anyone is going to do a Nuts&Volts on
    > >Palm Pilots and
    > >> the Stamp ?
    > >>
    > >> But, in answer to your original question, I do believe there is some
    need
    > >for some
    > >> portable device to download.
    > >>
    > >
    > > > Dave
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-09 14:31
    USB: The 'Slave' USB half-problem has been solved.
    There are a few people out there (FTDI being one)
    who market chips which provide the 'Slave' half of
    a USB conversation. This means you can hook your
    Stamp-based design, through the chip or module,
    to a USB 'Master'.

    As far as I know, the USB 'Master' half MUST be a
    PC -- so far. I think Intel is marketing a board
    which provides an interface to a USB 'Master' port,
    but I don't think it's 'proven' yet.

    The 'Master' half is what people need when they
    want to hook their Stamp to a USB camera,
    Joystick, Keyboard, USB Disk, etc.

    The referred to website ONLY has the 'Slave' half.

    --- In basicstamps@yahoogroups.com, "Peter Verkaik"
    <peterverkaik@b...> wrote:
    > I found this site:
    > http://pages.quicksilver.net.nz/sbridger/
    > They offer a chip called BL233 (US$ 4,=) that does RS232/USB to
    I2C/SPI
    > conversion.
    > The host (could be stamp,javelin or pc) talks to the chip using
    ascii
    > commands. The
    > chip also supports 1-wire (something for the javelin).
    > Adding an AT45 to this chip would make a portable memory that is
    easy
    > accessible from both stamp and pc (no API, no DLL required).
    >
    > Has anyone used this chip? I believe it operates in half duplex
    mode so it
    > should
    > ignore echoed characters when it sends characters to the stamp.
    >
    > regards peter
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-09 15:06
    For usb you need their usb/rs232 connection box, which let you talk to i2c
    devices
    using the pc usb host port. The bare BL233 has a rs232 interface which can
    be connected
    directly to the stamp, or via a max232 to the pc or stamp program port (I am
    not sure if
    echoed characters are a problem).
    It would provide I2C and 1-wire to the normal BS2 using serin/serout
    commands.
    The manual is found here.
    http://pages.quicksilver.net.nz/sbridger/bl233_a.pdf
    From that it looks very promising for implementing some rs232 based portable
    storage device.

    regards peter


    Original Message
    From: "Allan Lane" <allan.lane@h...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, December 09, 2003 3:31 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Stache as memory stick


    > USB: The 'Slave' USB half-problem has been solved.
    > There are a few people out there (FTDI being one)
    > who market chips which provide the 'Slave' half of
    > a USB conversation. This means you can hook your
    > Stamp-based design, through the chip or module,
    > to a USB 'Master'.
    >
    > As far as I know, the USB 'Master' half MUST be a
    > PC -- so far. I think Intel is marketing a board
    > which provides an interface to a USB 'Master' port,
    > but I don't think it's 'proven' yet.
    >
    > The 'Master' half is what people need when they
    > want to hook their Stamp to a USB camera,
    > Joystick, Keyboard, USB Disk, etc.
    >
    > The referred to website ONLY has the 'Slave' half.
    >
    > --- In basicstamps@yahoogroups.com, "Peter Verkaik"
    > <peterverkaik@b...> wrote:
    > > I found this site:
    > > http://pages.quicksilver.net.nz/sbridger/
    > > They offer a chip called BL233 (US$ 4,=) that does RS232/USB to
    > I2C/SPI
    > > conversion.
    > > The host (could be stamp,javelin or pc) talks to the chip using
    > ascii
    > > commands. The
    > > chip also supports 1-wire (something for the javelin).
    > > Adding an AT45 to this chip would make a portable memory that is
    > easy
    > > accessible from both stamp and pc (no API, no DLL required).
    > >
    > > Has anyone used this chip? I believe it operates in half duplex
    > mode so it
    > > should
    > > ignore echoed characters when it sends characters to the stamp.
    > >
    > > regards peter
    > >
    > >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
Sign In or Register to comment.