Shop OBEX P1 Docs P2 Docs Learn Events
Extra memory — Parallax Forums

Extra memory

ArchiverArchiver Posts: 46,084
edited 2004-01-28 16:05 in General Discussion
Anyone ever use a flash bios eeprom form a computer as extra memory?

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-01-28 09:02
    Hi all,
    I am wondering if it is possible to add extra memory to a bs2p40 for
    program storage. If this is possible how would I go about dumping the
    runnign program and starting the next.

    Ian Lounsbury, KD7LON
    11th grade, Cottage Grove High School
    Lead Sound Tech, Technical Director,
    Light Tech/Assist. Designer, Rental Show Tech
    Cottage Theatre
    Cottage Grove, Oregon 97424
  • ArchiverArchiver Posts: 46,084
    edited 2004-01-28 15:53
    In a message dated 12/30/2003 7:48:45 PM Eastern Standard Time,
    ilounsbu@l... writes:


    > I am wondering if it is possible to add extra memory to a bs2p40 for
    > program storage. If this is possible how would I go about dumping the
    > runnign program and starting the next.
    >

    I could be wrong, but I don't think there is anyway of adding program memory
    to the 2P - data storage, yes, program storage, no. The best thing would be
    to add a slave chip like the BS2E and let it do part of the programming.



    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2004-01-28 16:05
    The BS2p40 has eight available program slots. You can put extra code in
    other slots and call it with the RUN instruction (Note: You cannot do a
    GOSUB across slots). This article provides a strategy for putting
    subroutine-type code in extra slots:

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

    One thing to consider is the use of DATA statements. If your main
    program is using a lot of EEPROM data, you may want to move that to
    another slot. The BS2p and BS2pe are unique in that they allow READ and
    WRITE to work across slots (by using the STORE instruction to set the
    READ/WRITE slot).

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


    Original Message
    From: coniam22 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=J-waPwGGLc4-Xi5b3xdkgglHeQWf270okBb054fKokMe7d58jBp7Zuean3JU1zH8Hh6XJ_cwVVnsJ5fHKgI]ilounsbu@l...[/url
    Sent: Wednesday, January 28, 2004 3:03 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] extra memory


    Hi all,
    I am wondering if it is possible to add extra memory to a bs2p40 for
    program storage. If this is possible how would I go about dumping the
    runnign program and starting the next.

    Ian Lounsbury, KD7LON
    11th grade, Cottage Grove High School
    Lead Sound Tech, Technical Director,
    Light Tech/Assist. Designer, Rental Show Tech
    Cottage Theatre
    Cottage Grove, Oregon 97424
Sign In or Register to comment.