Out of Memory!
Pat Alonzi
Posts: 27
Hey everyone,
Just my luck that the program I wrote on Friday the 13th doesn't work.
I have managed to fill the bs2's memory, but when i look at the EEPROM, the first 20% is empty. Is this space reserved or can i force it open inorder to get the rest of my program to fit?
Thanks,
Pat
Just my luck that the program I wrote on Friday the 13th doesn't work.
I have managed to fill the bs2's memory, but when i look at the EEPROM, the first 20% is empty. Is this space reserved or can i force it open inorder to get the rest of my program to fit?
Thanks,
Pat
Comments
as well as the error message.
You may need to either switch to some other Stamp model with more memory (like the BS2pe) or switch to another processor
like the Propeller. If you stay with the Stamps, keep in mind that the extra memory appears as "slots". These are effectively
overlay areas. You actually put a mostly independent program which you can execute from the beginning only. You can have
some shared variables which you can use for passing information. This actually works very well for programs with a complicated
user interface since you can often put the whole menu thing into one or two slots. You either have a separate slot for each of
the menu selected operations or combine them all into the main slot.
Like Mike wrote, you could/should consider·some re-wording to cut down on text.
(I modified the version of your program that immediately precedes this Reply... it'd help if you added a "Rev#" to your mods.)
Update -- Looks like you could do some tightening up in channelSelector.
Post Edited (PJ Allen) : 4/15/2007 5:04:38 PM GMT
As I was looking closer, I can see that you haven't been able to RUN this and there are some places where you're going to get stuck (a couple of DO...LOOPs should be DO...LOOP...UNTIL, some other stumbling blocks will evince.)