View Full Version : Clueless user help needed again pls, re:eeprom full

10-26-2009, 04:44 PM
Hi all,

my app is coming on pretty well now thanks to the superb help from forum users.But i have hit a bit of a snag.
My app is too big (editor says EEPROM FULL,i know m code is not very good & messy but can someone help explain what i can do to increase available space for my app.
looked in manual but not really any wiser
using a·bs2p40
Regards Adrian http://forums.parallax.com/images/smilies/confused.gif http://forums.parallax.com/images/smilies/blush.gif

10-26-2009, 05:55 PM
Post you code.

Generally you can reduce or increase the number of variables, and make more efficient branching to make a program smaller, but it all depends on the program!

Also, if you have lots of constants, you could consider an external EEPROM to store them in.

Don't worry. Be happy

10-26-2009, 07:33 PM
Are you utilizing the other memory slots?· The BS2p40 has 16K of memory.· You can find out more information by looking at the "RUN" command in the "BASIC Syntax and Reference Manual".


Dave Andreae

Parallax Tech Support·

Mike Green
10-26-2009, 08:41 PM
There's also a Nuts and Volts Column on Multi-Slot Programming. Look in the index under the "Resources" tab on the main Parallax webpage. I think it's #87 or something like that.

10-27-2009, 01:28 AM

Thanks for replies guys,
i looked at the N&V multi bank programming doc & i'm absolutely non the wiser, how do you assign program code to the slots ??.
I think i'm in well past my very limited ability now,i may forgo adding the missing functions to keep file small enough.Not a truly acceptable ·solution but it sort of does what i require.

Find attached my messy but working program, lots of notes in it.
except regarding setgear routines.need 2 shift settings,different ramping in & may need· ramping out as well, hard to tell on test rig (no Hydralic circuit)but easy to tune on vehicle.

regards Adrianhttp://forums.parallax.com/images/smilies/sad.gif

Mike Green
10-27-2009, 02:01 AM
Taking out the DEBUG statements will free up a little memory.

Look in the Stamp Manual starting on page 68 for a description of how to group source programs together for multi-slot downloadig.

10-27-2009, 02:58 AM
Hi Mike,

looked at page 68> re:multiple files.

If i want to do this will i have to rewrite my app or can i just split the original ??.

if i read multi-bank programing article correctly i will have to write new tasks to branch between banks ???

i'm out of my depth now for sure.

regards Adrian