Please help. How do I use the entire 8 x 2K EEPROM program size inside only on
Hi,
I'm feverishly creating a marine tide calculator using the BS2SX and the um-fpu coprocessor. I'm dying to use the entire 8 x 2K = 16K program size in one program.
The document states:
For BS2e, BS2sx, BS2p, BS2pe, and BS2px programs, each editor page can be a separate project, or part of a single project. A project is a set of up to eight files that should all be downloaded to the BASIC Stamp for a single application. Each of the files within the project is downloaded into a separate "program slot". Only the BASIC Stamp 2e, 2sx, 2p, 2pe, and 2px modules support projects (multiple program slots).
Notice it says "or part of a single project". So my question is how do I use the entire program size for one program instead of having only room for 8 separate, 2K programs?
Thanks in advance,
Engin
I'm feverishly creating a marine tide calculator using the BS2SX and the um-fpu coprocessor. I'm dying to use the entire 8 x 2K = 16K program size in one program.
The document states:
For BS2e, BS2sx, BS2p, BS2pe, and BS2px programs, each editor page can be a separate project, or part of a single project. A project is a set of up to eight files that should all be downloaded to the BASIC Stamp for a single application. Each of the files within the project is downloaded into a separate "program slot". Only the BASIC Stamp 2e, 2sx, 2p, 2pe, and 2px modules support projects (multiple program slots).
Notice it says "or part of a single project". So my question is how do I use the entire program size for one program instead of having only room for 8 separate, 2K programs?
Thanks in advance,
Engin
Comments
Thanks man. I tried that but I want to be able to share the data I send to the EEPROM with the main section of the program. I calculated that I would need approximately 10K for the tide data and my program part is around 2K. How do I get my main program to "see" the data if it is in another file?
Thanks again,
Engin
·· Only the BS2p series modules can read DATA in one slot from another.· For the BS2e/BS2sx the DATA you read would have to reside in the same program slot.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
It is not impossible with the BS2sx. You have to write a little program in each bank of the BS2sx that passes the data in a RAM or scratchpad buffer. When a program running in slot 0 needs to retrieve data from slot 7, for example, it RUNs that little routine with a pointer to the DATA location, and the routine transfers the data to RAM or scratchpad, and then RUNs back to slot 0. You have to have a run/return mechanism in place in your program, because the Stamp does not take care of that automatically.
That said, again, you might want to look at a BS2p, pe or px.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Thanks very much. I read your comments and looked everything over and know that you're right. I bought the SX thinking I could combine the programs. I may resort to buying the BS2P or may try using the ram.
Thanks again guys.
Engin