PDA

View Full Version : How do I use the larger memory of the 2pe etc.



Geekgirl
09-02-2008, 11:56 PM
Hi crew, ...····My·first time trying to use the extra memory of the 2p, 2pe etc.

I can't fit my recent project programs onto a bs2 any more, .... "eprom full" error.·

If I take out some features and slim down the scope, it runs fine, so the code is OK, just not enough space to run it all at once.

I was able to break the program into 2 files that both load into a 2pe, but they don't execute properly.

Effectively,what's on the first page 0:filename runs, but never gets to the second page 1:filename

I've searched here but not found anything that tells me much about how multiple page programs work.

Seems like the pages aren't being seen as one big one, or can't communicate between them.


Hopefully, it's just that I missed something small


Thanks in advance for your help,


Darlene

Mike Green
09-03-2008, 12:20 AM
There's an excellent Nuts and Volts Column on the subject (www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv87.pdf (http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/vol3/col/nv87.pdf)).

Other Nuts and Volts Columns are worth looking at. Go to Parallax's main webpage, select the Resources tab and you will see a link to the index.

Geekgirl
09-03-2008, 12:27 AM
·· Shaaazaaammmmmm, ........

You guys are fast!


Got it saved and printed out, will be working at implementation later this afternoon.


Anything else you can point me to will be much appreciated.



Thanks again,

Darlene

Tracy Allen
09-03-2008, 12:42 AM
Be sure to read about the RUN, STORE, GET and PUT commands in the Stamp manual.

In addition to the N&V articles, you might find this link (http://emesys.com/BS2SX.htm) helpful.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com (http://www.emesystems.com)

erco
09-03-2008, 01:44 AM
Also see http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv71.pdf


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."

Geekgirl
09-10-2008, 08:17 PM
· Just a quick update,

··Doh! .....· I feel like the·Village Idiot, ...... "RUN" was what I was looking for.

· Program is up to 5 pages now and having space to work in is a blessing.·

· The project is a working model of a heat exchanger with "F" and "C" temp monitoring and display·(3 4X20 LCDs and made of acrylic so you can see water flow) with 2 small marine
· bilge pumps to·supply "Product" (colored hot water)" and "Cooling water"·(ice water)·controlled by HB25s to maintain an adjustable setpoint.·
··

· I'm still having a bit of trouble·getting the aux io pins on the p40 right, but I'll ask when I get back to that project.

· (actually, the issue is when I make code changes to use aux the·pins so that I don't have to change wiring when I switch modules on the Pro Developement Board but
·· don't·actually use more than 16 io pins)


·
Thanks for the help so far,


·· Darlene·