Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM is FULL — Parallax Forums

EEPROM is FULL

ArchiverArchiver Posts: 46,084
edited 2004-07-23 00:38 in General Discussion
In a message dated 7/3/2004 2:36:17 PM Eastern Daylight Time,
z_alnaqash@y... writes:


> I am using BS2P 40 I/O and I am in the middle of my program and I got an
> error message saying that my EEPROM is FULL.
>
> WHAT CAN I DO ??????
>
>

Are you running in slot 0? Look at the memory map to see if it is full. You
have 7 other 2K slots you can write programs to.

Sid


[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-07-03 19:28
    I am using BS2P 40 I/O and I am in the middle of my program and I got an error message saying that my EEPROM is FULL.

    WHAT CAN I DO ??????

    Regards

    Zaid


    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com

    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-03 19:36
    You must be doing something very complicated if you've managed to fill
    the EEPROM -- I've only done it once in 10 years of BASIC Stamp
    programming. Lucky for you, the BS2p has eight 2K banks and you can put
    code and data in other banks. You can find information on multi-bank
    programming on Dr. Tracy Allen's web site (www.emesystems.com) and in
    this Nuts & Volts article:

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf

    If you have lots of DATA statements, definitely move them to another
    bank to make room for your program code. The STORE instruction lets you
    point to data banks for use with READ and WRITE (STORE is only available
    on the BS2p and BS2pe).

    For an example of using big data tables in other banks, have a look at
    our thermocouple interface project.

    http://www.parallax.com/detail.asp?product_id=28022

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Zaid Alnaqash [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=2ZibuqxqBVcmoY_PzZkDdjrm5WoPs5hQFSM7h8x1ENiMHk2U8Bvz7BXuuvTqRKQFNqxIbTQ6-fpyZtdtYghF]z_alnaqash@y...[/url
    Sent: Saturday, July 03, 2004 1:29 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] EEPROM is FULL


    I am using BS2P 40 I/O and I am in the middle of my program and I got an
    error message saying that my EEPROM is FULL.

    WHAT CAN I DO ??????

    Regards

    Zaid
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-03 20:48
    In a message dated 7/3/2004 7:36:02 PM Eastern Daylight Time,
    tboonefisher@s... writes:


    > Maybe the ability to call a subroutine
    > in another bank and return to the previous
    > point of execution *should* be included in
    > PBASIC 2.6??
    > Tom Fisher
    >

    There is a roundabout way to do that, you know.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-03 20:57
    In a message dated 7/3/2004 7:55:36 PM Eastern Daylight Time,
    tboonefisher@s... writes:


    > It's just that currently, there's no will.
    >

    That was an unjustified comment, sir.

    I was going to show you how it can be done, but now you are on your own.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 00:09
    Maybe the ability to call a subroutine
    in another bank and return to the previous
    point of execution *should* be included in
    PBASIC 2.6??
    Tom Fisher
    Dallas,TX

    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, July 03, 2004 1:36 PM
    Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > You must be doing something very complicated if you've managed to fill
    > the EEPROM -- I've only done it once in 10 years of BASIC Stamp
    > programming. Lucky for you, the BS2p has eight 2K banks and you can put
    > code and data in other banks. You can find information on multi-bank
    > programming on Dr. Tracy Allen's web site (www.emesystems.com) and in
    > this Nuts & Volts article:
    >
    > http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf
    >
    > If you have lots of DATA statements, definitely move them to another
    > bank to make room for your program code. The STORE instruction lets you
    > point to data banks for use with READ and WRITE (STORE is only available
    > on the BS2p and BS2pe).
    >
    > For an example of using big data tables in other banks, have a look at
    > our thermocouple interface project.
    >
    > http://www.parallax.com/detail.asp?product_id=28022
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Zaid Alnaqash [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=z1csQpT-bn328wBCAXjOozKjSpAhLJaInkQJtTms0U87Qjvlt_XYYmTW_vXPL2ZA84OjFXAi0JHAyEE]z_alnaqash@y...[/url
    > Sent: Saturday, July 03, 2004 1:29 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > I am using BS2P 40 I/O and I am in the middle of my program and I got an
    > error message saying that my EEPROM is FULL.
    >
    > WHAT CAN I DO ??????
    >
    > Regards
    >
    > Zaid
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 00:14
    If it was possible at all we would be doing it now.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=l98QZr_IDZsXjPmfQC9r6-VevlTGXZHc0Sru1XkbqN6oDZXyPHH6LzDkVf29IiBp1MaAHxdXTVmrzKImFBCL3mg]tboonefisher@s...[/url
    Sent: Saturday, July 03, 2004 6:09 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    Maybe the ability to call a subroutine
    in another bank and return to the previous
    point of execution *should* be included in
    PBASIC 2.6??
    Tom Fisher
    Dallas,TX

    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, July 03, 2004 1:36 PM
    Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > You must be doing something very complicated if you've managed to fill

    > the EEPROM -- I've only done it once in 10 years of BASIC Stamp
    > programming. Lucky for you, the BS2p has eight 2K banks and you can
    > put code and data in other banks. You can find information on
    > multi-bank programming on Dr. Tracy Allen's web site
    > (www.emesystems.com) and in this Nuts & Volts article:
    >
    > http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf
    >
    > If you have lots of DATA statements, definitely move them to another
    > bank to make room for your program code. The STORE instruction lets
    > you point to data banks for use with READ and WRITE (STORE is only
    > available on the BS2p and BS2pe).
    >
    > For an example of using big data tables in other banks, have a look at

    > our thermocouple interface project.
    >
    > http://www.parallax.com/detail.asp?product_id=28022
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Zaid Alnaqash [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=KDCBewXzi7zNVY8xzX9xEiwsgifHub-KLxJKUpewoy-_Cauv7Ad1V5xlJcyjcpOQmnRqCQ0jSZHN-l63QFXf]z_alnaqash@y...[/url
    > Sent: Saturday, July 03, 2004 1:29 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > I am using BS2P 40 I/O and I am in the middle of my program and I got
    > an error message saying that my EEPROM is FULL.
    >
    > WHAT CAN I DO ??????
    >
    > Regards
    >
    > Zaid
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 00:33
    Where there's a will, there's a way! Whoever
    wrote PBasic can surely do this if they are so
    inclined.
    Tom Fisher

    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, July 03, 2004 6:14 PM
    Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > If it was possible at all we would be doing it now.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=tHIN2K9VN-SxuTRqp4Yfu75EY4eqV8HgBNeZvN_gU-Ij3veT-OBSCEhlshG_HC5eUKVtXpdK8fEjZgnisPQ]tboonefisher@s...[/url
    > Sent: Saturday, July 03, 2004 6:09 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > Maybe the ability to call a subroutine
    > in another bank and return to the previous
    > point of execution *should* be included in
    > PBASIC 2.6??
    > Tom Fisher
    > Dallas,TX
    >
    >
    Original Message
    > From: "Jon Williams" <jwilliams@p...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Saturday, July 03, 2004 1:36 PM
    > Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > > You must be doing something very complicated if you've managed to fill
    >
    > > the EEPROM -- I've only done it once in 10 years of BASIC Stamp
    > > programming. Lucky for you, the BS2p has eight 2K banks and you can
    > > put code and data in other banks. You can find information on
    > > multi-bank programming on Dr. Tracy Allen's web site
    > > (www.emesystems.com) and in this Nuts & Volts article:
    > >
    > > http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf
    > >
    > > If you have lots of DATA statements, definitely move them to another
    > > bank to make room for your program code. The STORE instruction lets
    > > you point to data banks for use with READ and WRITE (STORE is only
    > > available on the BS2p and BS2pe).
    > >
    > > For an example of using big data tables in other banks, have a look at
    >
    > > our thermocouple interface project.
    > >
    > > http://www.parallax.com/detail.asp?product_id=28022
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Zaid Alnaqash [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=wykfxA6bo3WIGBryLkR4Is4-IbqqmMEjD6q-joqquMHRB6z1sgub9a9XYVS4685CM9y5m2HPAozX76AaOVYi]z_alnaqash@y...[/url
    > > Sent: Saturday, July 03, 2004 1:29 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] EEPROM is FULL
    > >
    > >
    > > I am using BS2P 40 I/O and I am in the middle of my program and I got
    > > an error message saying that my EEPROM is FULL.
    > >
    > > WHAT CAN I DO ??????
    > >
    > > Regards
    > >
    > > Zaid
    > >
    > >
    > > 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.
    > >
    > > Yahoo! Groups Links
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 00:53
    > > Maybe the ability to call a subroutine
    > > in another bank and return to the previous
    > > point of execution *should* be included in
    > > PBASIC 2.6??
    > > Tom Fisher
    > >
    >
    > There is a roundabout way to do that, you know.
    >
    This is why I am certain it can be implemented
    if one has access to the assembly language code
    for the Stamp. Again....where there's a will, there's
    a way. It's just that currently, there's no will.
    Tom Fisher
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 01:05
    > That was an unjustified comment, sir.
    >
    > I was going to show you how it can be done, but now you are on your own.
    >
    Sid, *if* you were at all knowlegeable about assembly language coding
    you would know that most anything can be done. I meant no disrespect to
    those who
    have created a fine product like PBasic but for some reason they have
    *elected*
    not to code such a feature.
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 01:09
    I don't think this is the place to be trying to cut each other short, if you show us the
    way, it helps everyone (I've been wondering how to do it, myself), and maybe he won't
    be so grumpy in the future.

    --- In basicstamps@yahoogroups.com, Newzed@a... wrote:
    > In a message dated 7/3/2004 7:55:36 PM Eastern Daylight Time,
    > tboonefisher@s... writes:
    >
    >
    > > It's just that currently, there's no will.
    > >
    >
    > That was an unjustified comment, sir.
    >
    > I was going to show you how it can be done, but now you are on your own.
    >
    > Sid
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 01:33
    > I don't think this is the place to be trying to cut each other short, if
    you show us the
    > way, it helps everyone (I've been wondering how to do it, myself), and
    maybe he won't
    > be so grumpy in the future.
    >
    Sorry I never meant too appear 'grumpy' but I have enough experience
    with assembly
    language, C, C++, etc etc to know that this feature most certainly can be
    added. It may
    require a major overhaul of the PBasic interpreter and be too expensive and
    time consuming for an
    experienced coder to do, but it *is* possible. To tell someone otherwise is
    misleading.
    Again all due respect to the authors of PBasic but PBasic needs to be
    updated so that
    users can *easily* access all of the memory space.
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:13
    Okay, let me make it more clear: it is not possible with the current
    BASIC Stamp architecture. We investigated a long time, and there is no
    clean way to use cause the current line of BASIC Stamp modules to "glue"
    their program banks together into one contigous mass.

    It's not a matter of will; it's a matter of archtecture for the existing
    line.

    Jon Williams
    Parallax


    Original Message
    From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9J36s13bRLrGvMYnyly6z1lXUVkyt754BWSRKPc5fkKfo-YRlfg13Y0o9WIfJHCDM1u_3H7GlRoRZpmeMXvl1Bpf]tboonefisher@s...[/url
    Sent: Saturday, July 03, 2004 6:34 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    Where there's a will, there's a way! Whoever
    wrote PBasic can surely do this if they are so
    inclined.
    Tom Fisher

    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, July 03, 2004 6:14 PM
    Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > If it was possible at all we would be doing it now.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=9J36s13bRLrGvMYnyly6z1lXUVkyt754BWSRKPc5fkKfo-YRlfg13Y0o9WIfJHCDM1u_3H7GlRoRZpmeMXvl1Bpf]tboonefisher@s...[/url
    > Sent: Saturday, July 03, 2004 6:09 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > Maybe the ability to call a subroutine
    > in another bank and return to the previous
    > point of execution *should* be included in
    > PBASIC 2.6??
    > Tom Fisher
    > Dallas,TX
    >
    >
    Original Message
    > From: "Jon Williams" <jwilliams@p...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Saturday, July 03, 2004 1:36 PM
    > Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > > You must be doing something very complicated if you've managed to
    > > fill
    >
    > > the EEPROM -- I've only done it once in 10 years of BASIC Stamp
    > > programming. Lucky for you, the BS2p has eight 2K banks and you can

    > > put code and data in other banks. You can find information on
    > > multi-bank programming on Dr. Tracy Allen's web site
    > > (www.emesystems.com) and in this Nuts & Volts article:
    > >
    > > http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf
    > >
    > > If you have lots of DATA statements, definitely move them to another

    > > bank to make room for your program code. The STORE instruction lets

    > > you point to data banks for use with READ and WRITE (STORE is only
    > > available on the BS2p and BS2pe).
    > >
    > > For an example of using big data tables in other banks, have a look
    > > at
    >
    > > our thermocouple interface project.
    > >
    > > http://www.parallax.com/detail.asp?product_id=28022
    > >
    > > -- Jon Williams
    > > -- Applications Engineer, Parallax
    > > -- Dallas Office
    > >
    > >
    > >
    Original Message
    > > From: Zaid Alnaqash [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=w1JoOxQkC4bsK11f_oDhsV5_u5xJz57jn0ca3JXCgXsdfFQKE1yJF4_2_hGoRrhCYahAmfhtFK_3Tf4]z_alnaqash@y...[/url
    > > Sent: Saturday, July 03, 2004 1:29 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: [noparse][[/noparse]basicstamps] EEPROM is FULL
    > >
    > >
    > > I am using BS2P 40 I/O and I am in the middle of my program and I
    > > got an error message saying that my EEPROM is FULL.
    > >
    > > WHAT CAN I DO ??????
    > >
    > > Regards
    > >
    > > Zaid
    > >
    > >
    > > 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.
    > >
    > > Yahoo! Groups Links
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:14
    Again, YOU'RE WRONG. Please take my word for it. I was a BASIC Stamp
    customer LONG before a became an employee and I pushed for this myself.
    Our compiler engineer spent weeks trying to come up with a method to do
    this, but nothing worked to our satisfaction.

    There is not going to be a PBASIC 2.6 ... we're frying much bigger fish.

    Jon Williams
    Parallax


    Original Message
    From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=1dlLacx0AIUNeihmOTmU8CwnO93kpueMKEKR9lB7uuOLFaYC5bGS0SwPfBfV3D2TcM46xIr54IuTsH_02bpChEVQ]tboonefisher@s...[/url
    Sent: Saturday, July 03, 2004 6:54 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > > Maybe the ability to call a subroutine
    > > in another bank and return to the previous
    > > point of execution *should* be included in
    > > PBASIC 2.6??
    > > Tom Fisher
    > >
    >
    > There is a roundabout way to do that, you know.
    >
    This is why I am certain it can be implemented
    if one has access to the assembly language code
    for the Stamp. Again....where there's a will, there's
    a way. It's just that currently, there's no will.
    Tom Fisher




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:20
    No, what we have always elected to do with the BASIC Stamp 2 family is
    keep them upward compatible -- a lot of this has to do with the
    interpreter architecture that is rock stable (enough that it gets used
    in military projects will more regularity that you can imagine). When
    you really get a handle on the BASIC Stamp you'll understand that we
    don't download assembly language to it, we download program tokens (very
    much like Java bytecodes) that are handled by the PBASIC interpreter.
    For better worse, the current interpreter architecture limits us to 2K
    boundaries (this is BS2 legacy).

    Of course there will be a future BASIC Stamp module that will have more
    memory and code space than what we currently offer. But unlike our
    competitors, when we do something new we tend to do something really new
    (like the BASIC Stamp was 10 years ago). We're not sitting around on
    our laurels....

    Jon Williams
    Parallax
    Dallas Office


    Original Message
    From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=hZ-n5r9XBjn4lsIL--sUzNkq8k4VUZ8JL0fRbcUsEoCFFcMVXkcJ0Vk0GEu2JQYxkDwugEkV02zPUbyHpw8]tboonefisher@s...[/url
    Sent: Saturday, July 03, 2004 7:06 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > That was an unjustified comment, sir.
    >
    > I was going to show you how it can be done, but now you are on your
    > own.
    >
    Sid, *if* you were at all knowlegeable about assembly language
    coding you would know that most anything can be done. I meant no
    disrespect to those who have created a fine product like PBasic but for
    some reason they have
    *elected*
    not to code such a feature.
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:22
    I've posted this link more times than I can remember:

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf

    It shows a tested strategy that is as close as you can get -- I believe
    -- to doing a GOSUB across program banks.

    Jon Williams
    Parallax


    Original Message
    From: jackfr057 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=T4j95sbMxW6ccfGWC15rYvRiwypDlbhkYrd7F-erqpn5-fkQ8PWGGb9sOWHKI9jYTJbG1z5SDiFlOKZ4W3cK]devrin.talen@v...[/url
    Sent: Saturday, July 03, 2004 7:09 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL


    I don't think this is the place to be trying to cut each other short, if
    you show us the
    way, it helps everyone (I've been wondering how to do it, myself), and
    maybe he won't
    be so grumpy in the future.
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:26
    We will not be overhauling PBASIC or the current BASIC Stamp series.
    Where we differ from others is that -- with very minor updates -- we're
    running the interpreter today that we originally released. The BS2p has
    had a few more updates than the other modules, due largely to the
    *larger* features (1-Wire, I2C, LCD, etc.).

    Jon Williams
    Parallax


    Original Message
    From: TBooneFisher [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=F1Nm09VD_3KQE_HKkL6Je6UVNq10Z3xMDkibo3miOVZkLUyWSindfze0EkMFlzFx7wDOttX-8cfJLAL-goAMx_U]tboonefisher@s...[/url
    Sent: Saturday, July 03, 2004 7:33 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL


    > I don't think this is the place to be trying to cut each other short,
    > if
    you show us the
    > way, it helps everyone (I've been wondering how to do it, myself), and
    maybe he won't
    > be so grumpy in the future.
    >
    Sorry I never meant too appear 'grumpy' but I have enough experience
    with assembly language, C, C++, etc etc to know that this feature most
    certainly can be added. It may require a major overhaul of the PBasic
    interpreter and be too expensive and time consuming for an experienced
    coder to do, but it *is* possible. To tell someone otherwise is
    misleading. Again all due respect to the authors of PBasic but PBasic
    needs to be updated so that users can *easily* access all of the memory
    space. Tom Fisher Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:45
    Jon,

    Some of your customers understand that we can't have it all our way.
    I have been real happy with the capabilities of the Basic Stamp. I
    would like to have more speed, ram, and storage space. I do however
    require good customer service and proper documentation. That is why I
    haven't converted to the "other manufacturer". I will maintain my
    loyalty to Parallax until I go to a compiler or to C. Then I can have
    it my way.

    Thanks for a great product,

    James Long


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > We will not be overhauling PBASIC or the current BASIC Stamp series.
    > Where we differ from others is that -- with very minor updates --
    we're
    > running the interpreter today that we originally released. The
    BS2p has
    > had a few more updates than the other modules, due largely to the
    > *larger* features (1-Wire, I2C, LCD, etc.).
    >
    > Jon Williams
    > Parallax
    >
    >
    >
    Original Message
    > From: TBooneFisher [noparse][[/noparse]mailto:tboonefisher@s...]
    > Sent: Saturday, July 03, 2004 7:33 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL
    >
    >
    > > I don't think this is the place to be trying to cut each other
    short,
    > > if
    > you show us the
    > > way, it helps everyone (I've been wondering how to do it,
    myself), and
    > maybe he won't
    > > be so grumpy in the future.
    > >
    > Sorry I never meant too appear 'grumpy' but I have enough
    experience
    > with assembly language, C, C++, etc etc to know that this feature
    most
    > certainly can be added. It may require a major overhaul of the
    PBasic
    > interpreter and be too expensive and time consuming for an
    experienced
    > coder to do, but it *is* possible. To tell someone otherwise is
    > misleading. Again all due respect to the authors of PBasic but
    PBasic
    > needs to be updated so that users can *easily* access all of the
    memory
    > space. Tom Fisher Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 02:49
    > don't download assembly language to it, we download program tokens (very
    > much like Java bytecodes) that are handled by the PBASIC interpreter.
    > For better worse, the current interpreter architecture limits us to 2K
    > boundaries (this is BS2 legacy).
    >
    Jon, I'm completely aware of the program tokens that are *intepreted*
    and that it is the machine language architecture of the *interpeter* that
    would need to be
    modified/rewritten. I'm sure this might be an expensive, time consuming
    BUT certainly not impossible task. It's the use of the word 'impossible'
    that I take exception to. I'll certainly agree that it is not possible with
    the
    current interpreter machine code.
    Anywho, we are obviously splitting hairs here and I appologize to all
    who were offended. But please be careful about throwing around words like
    impossible, never, etc etc.
    Tom Fisher
    Dallas,TX
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 03:13
    We've made our SX tools very easy to get into, and you can get an
    inexpensive C compiler from Pavel Baranov:

    http://www.picant.com/c2c/c.html

    Jon Williams
    Parallax

    Original Message
    From: jelongus [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6HFgCBIRT9bhG7UurC4dbHJcA4vZ3MDRSwL5ZIHNd4Me0yqEAYOCr81kDdeZtV84aSqY6l5Pr4Sq64oJqPK6sQhXqgw]propellanttech@c...[/url
    Sent: Saturday, July 03, 2004 8:45 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL


    Jon,

    Some of your customers understand that we can't have it all our way.
    I have been real happy with the capabilities of the Basic Stamp. I
    would like to have more speed, ram, and storage space. I do however
    require good customer service and proper documentation. That is why I
    haven't converted to the "other manufacturer". I will maintain my
    loyalty to Parallax until I go to a compiler or to C. Then I can have
    it my way.

    Thanks for a great product,

    James Long


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > We will not be overhauling PBASIC or the current BASIC Stamp series.
    > Where we differ from others is that -- with very minor updates --
    we're
    > running the interpreter today that we originally released. The
    BS2p has
    > had a few more updates than the other modules, due largely to the
    > *larger* features (1-Wire, I2C, LCD, etc.).
    >
    > Jon Williams
    > Parallax
    >
    >
    >
    Original Message
    > From: TBooneFisher [noparse][[/noparse]mailto:tboonefisher@s...]
    > Sent: Saturday, July 03, 2004 7:33 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL
    >
    >
    > > I don't think this is the place to be trying to cut each other
    short,
    > > if
    > you show us the
    > > way, it helps everyone (I've been wondering how to do it,
    myself), and
    > maybe he won't
    > > be so grumpy in the future.
    > >
    > Sorry I never meant too appear 'grumpy' but I have enough
    experience
    > with assembly language, C, C++, etc etc to know that this feature
    most
    > certainly can be added. It may require a major overhaul of the
    PBasic
    > interpreter and be too expensive and time consuming for an
    experienced
    > coder to do, but it *is* possible. To tell someone otherwise is
    > misleading. Again all due respect to the authors of PBasic but
    PBasic
    > needs to be updated so that users can *easily* access all of the
    memory
    > space. Tom Fisher Dallas,TX



    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 03:31
    Well, take it from me...I'll NEVER have a full head of hair!!!! This I have
    accepted....we all must accept that my big shiny melon will burn its image
    in each of your retinas as the bright sun glints off of it's mirror like
    surface!!

    Anyhow, just to note....my boss is starting to get turned on to stamps (not
    in a fetish way).
    We were trying to do some comm troubleshooting on a control board and we
    were trying to find an RS422 converter...but had none that seemed to work.
    I tossed the idea of using the Stamp (knowing IT would work, but not sure if
    I could figure it out).
    Well, he was impressed that we were able to interface pretty quickly and
    display 19.2k Hex data.

    Sorry....just wanted to bring a little melon humour to a 'discussion' that
    might be amped a wee bit! (at least it seems that way over text!)

    Original Message
    From: "TBooneFisher" <tboonefisher@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, July 03, 2004 9:49 PM
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > > don't download assembly language to it, we download program tokens (very
    > > much like Java bytecodes) that are handled by the PBASIC interpreter.
    > > For better worse, the current interpreter architecture limits us to 2K
    > > boundaries (this is BS2 legacy).
    > >
    > Jon, I'm completely aware of the program tokens that are *intepreted*
    > and that it is the machine language architecture of the *interpeter* that
    > would need to be
    > modified/rewritten. I'm sure this might be an expensive, time consuming
    > BUT certainly not impossible task. It's the use of the word 'impossible'
    > that I take exception to. I'll certainly agree that it is not possible
    with
    > the
    > current interpreter machine code.
    > Anywho, we are obviously splitting hairs here and I appologize to all
    > who were offended. But please be careful about throwing around words like
    > impossible, never, etc etc.
    > Tom Fisher
    > Dallas,TX
    >
    >
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 05:52
    Jon,

    It is nice to see a employee (former customer) that is so devoted to
    his employer/product. It is refreshing to see. I know you have to put
    up with a lot of griping, but you seem to handle it well. You guys
    just keep up the excellent work.

    James Long


    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > We've made our SX tools very easy to get into, and you can get an
    > inexpensive C compiler from Pavel Baranov:
    >
    > http://www.picant.com/c2c/c.html
    >
    > Jon Williams
    > Parallax
    >
    >
    Original Message
    > From: jelongus [noparse][[/noparse]mailto[noparse]:p[/noparse]ropellanttech@c...]
    > Sent: Saturday, July 03, 2004 8:45 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL
    >
    >
    > Jon,
    >
    > Some of your customers understand that we can't have it all our
    way.
    > I have been real happy with the capabilities of the Basic Stamp. I
    > would like to have more speed, ram, and storage space. I do however
    > require good customer service and proper documentation. That is why
    I
    > haven't converted to the "other manufacturer". I will maintain my
    > loyalty to Parallax until I go to a compiler or to C. Then I can
    have
    > it my way.
    >
    > Thanks for a great product,
    >
    > James Long
    >
    >
    > --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    > wrote:
    > > We will not be overhauling PBASIC or the current BASIC Stamp
    series.
    > > Where we differ from others is that -- with very minor updates --
    > we're
    > > running the interpreter today that we originally released. The
    > BS2p has
    > > had a few more updates than the other modules, due largely to the
    > > *larger* features (1-Wire, I2C, LCD, etc.).
    > >
    > > Jon Williams
    > > Parallax
    > >
    > >
    > >
    Original Message
    > > From: TBooneFisher [noparse][[/noparse]mailto:tboonefisher@s...]
    > > Sent: Saturday, July 03, 2004 7:33 PM
    > > To: basicstamps@yahoogroups.com
    > > Subject: Re: [noparse][[/noparse]basicstamps] Re: EEPROM is FULL
    > >
    > >
    > > > I don't think this is the place to be trying to cut each other
    > short,
    > > > if
    > > you show us the
    > > > way, it helps everyone (I've been wondering how to do it,
    > myself), and
    > > maybe he won't
    > > > be so grumpy in the future.
    > > >
    > > Sorry I never meant too appear 'grumpy' but I have enough
    > experience
    > > with assembly language, C, C++, etc etc to know that this feature
    > most
    > > certainly can be added. It may require a major overhaul of the
    > PBasic
    > > interpreter and be too expensive and time consuming for an
    > experienced
    > > coder to do, but it *is* possible. To tell someone otherwise is
    > > misleading. Again all due respect to the authors of PBasic but
    > PBasic
    > > needs to be updated so that users can *easily* access all of the
    > memory
    > > space. Tom Fisher Dallas,TX
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-04 10:27
    In a message dated 7/3/2004 10:34:57 PM Eastern Daylight Time,
    tboonefisher@s... writes:


    > Anywho, we are obviously splitting hairs here and I appologize to all
    > who were offended. But please be careful about throwing around words like
    > impossible, never, etc etc.
    >

    I guess my feathers got a bit ruffled, but then at my age they ruffle pretty
    easy.

    Here is how I handle jumping point-to-point between banks.

    Suppose I have a routine called MARK in slot 0 and a routine called CHECK
    in slot 1.

    mark: 'slot 0
    'do a bunch of stuff
    a = 1
    run 1

    check: 'slot 1
    'check something
    a = 2
    run 0

    At the beginning of the program in slot 0 I write:

    if a = 2 then mark

    At the beginning of the program in slot 1 I write:

    if a = 1 then check

    Everytime I run MARK it will jump to CHECK in slot 1. When CHECK is done
    it jumps back to MARK in slot 0.

    Suppose I don't want it to go to the beginning of MARK but to a specific line
    in MARK. Then I change MARK to read:

    mark:
    'do a bunch of stuff
    a = 1
    run 1
    cont1:
    'do some more stuff

    I change the line at the beginning of slot 0 to read:

    if a = 2 then cont1

    I have now jumped from a routine in slot 1 to a precise point in slot 0.

    Using just the variable "a" I can jump to 127 points in slot 1 and from slot
    1, I can jump to 127 points in slot 0.

    If I have a slot 2, then I use a variable "b" to accomplish the same thing.
    I can now jump to a precise point in any of the three slots.

    The control program for my model train has five banks - init, run, switch,
    horn and lights and after hours of programming I can can switch to any point in
    any bank and back again.

    I hope this helps.

    Also, my apologies for being a bit crusty. It's just that Parallax is #1 in
    my book and I tend to resent any inference that they are less than supportive.

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-22 04:01
    Hi,

    This is the part of the program available on parallax site. I am having
    difficulty understanding it. If P4 is connected to phase 1 and P5 is
    connected to Phase 2 and so on. What should happen to the stepper motor?

    Thanks

    Sandesh

    ' {$STAMP BS2}
    Coils VAR OUTB

    sAddr VAR Byte
    x VAR Byte

    Step1 DATA %1100
    Step2 DATA %0110
    Step3 DATA %0011
    Step4 DATA %1001

    Initialize:
    DIRB = %1111

    Main:
    FOR x = 1 TO 100
    GOSUB Step_Fwd
    NEXT
    PAUSE 5

    Step_Fwd:
    sAddr = sAddr + 1 // 4
    READ (Step1 + sAddr), Coils
    PAUSE 5
    RETURN
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-22 15:52
    It will turn; if the motor is 100 steps per revolution, then the code at
    main should cause the motor to rotate one full revolution. I know that
    program works -- because I wrote it!!! And I've tested it with two
    different brands of unipolar steppers.

    There is documentation on our site that gives a bit of explanation on
    how stepper motors work, and a web search will turn up a ton of
    documentation. Unipolar stepper motors must have their coils energized
    in a specific sequence to step (turn) properly. This program stores
    those steps in a table and reads them out for each step. The modulus
    operator (//) wraps the table pointer so that it goes back to the
    beginning after the last step is executed.

    If your motor is not turning then you probably have the coils miswired.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: firsttime@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mu1R78-g9DPFJobvHUo0SpwRkMmk6SCmWgrAxJL5YINoepiiQStGwnZdWT8_rTUCcFtJxwD7xIPn96KXe13szyc]firsttime@a...[/url
    Sent: Wednesday, July 21, 2004 10:01 PM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL


    Hi,

    This is the part of the program available on parallax site. I am having
    difficulty understanding it. If P4 is connected to phase 1 and P5 is
    connected to Phase 2 and so on. What should happen to the stepper motor?

    Thanks

    Sandesh

    ' {$STAMP BS2}
    Coils VAR OUTB

    sAddr VAR Byte
    x VAR Byte

    Step1 DATA %1100
    Step2 DATA %0110
    Step3 DATA %0011
    Step4 DATA %1001

    Initialize:
    DIRB = %1111

    Main:
    FOR x = 1 TO 100
    GOSUB Step_Fwd
    NEXT
    PAUSE 5

    Step_Fwd:
    sAddr = sAddr + 1 // 4
    READ (Step1 + sAddr), Coils
    PAUSE 5
    RETURN




    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.

    Yahoo! Groups Links







    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-23 00:38
    I got it.

    Thanks Jon.


    Original Message
    From: "Jon Williams" <jwilliams@p...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, July 22, 2004 9:52 AM
    Subject: RE: [noparse][[/noparse]basicstamps] EEPROM is FULL


    > It will turn; if the motor is 100 steps per revolution, then the code at
    > main should cause the motor to rotate one full revolution. I know that
    > program works -- because I wrote it!!! And I've tested it with two
    > different brands of unipolar steppers.
    >
    > There is documentation on our site that gives a bit of explanation on
    > how stepper motors work, and a web search will turn up a ton of
    > documentation. Unipolar stepper motors must have their coils energized
    > in a specific sequence to step (turn) properly. This program stores
    > those steps in a table and reads them out for each step. The modulus
    > operator (//) wraps the table pointer so that it goes back to the
    > beginning after the last step is executed.
    >
    > If your motor is not turning then you probably have the coils miswired.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: firsttime@a... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=L8fPMETypwXliEAvUnFa4OHhDTh1XI4lIPpFA4bQFYK8WvNwqRhhgU0ckGHoFdOnsggNTMvsG7PbCtO79kgFZDI]firsttime@a...[/url
    > Sent: Wednesday, July 21, 2004 10:01 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] EEPROM is FULL
    >
    >
    > Hi,
    >
    > This is the part of the program available on parallax site. I am having
    > difficulty understanding it. If P4 is connected to phase 1 and P5 is
    > connected to Phase 2 and so on. What should happen to the stepper motor?
    >
    > Thanks
    >
    > Sandesh
    >
    > ' {$STAMP BS2}
    > Coils VAR OUTB
    >
    > sAddr VAR Byte
    > x VAR Byte
    >
    > Step1 DATA %1100
    > Step2 DATA %0110
    > Step3 DATA %0011
    > Step4 DATA %1001
    >
    > Initialize:
    > DIRB = %1111
    >
    > Main:
    > FOR x = 1 TO 100
    > GOSUB Step_Fwd
    > NEXT
    > PAUSE 5
    >
    > Step_Fwd:
    > sAddr = sAddr + 1 // 4
    > READ (Step1 + sAddr), Coils
    > PAUSE 5
    > RETURN
    >
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    >
    > 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.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
Sign In or Register to comment.