Paged memory: "EEPROM full" error
I'm a new user.
I am trying to run a program beyond its 2k boundary with a BS2p.· I invoked the RUN commands by·insrting a "RUN 0" and a·"RUN 1" in program, but when I do a Syntax Check (or a RUN download command), I get a "EEPROM full" error.
What am doing wrong?
Thanks,
Jim S.
I am trying to run a program beyond its 2k boundary with a BS2p.· I invoked the RUN commands by·insrting a "RUN 0" and a·"RUN 1" in program, but when I do a Syntax Check (or a RUN download command), I get a "EEPROM full" error.
What am doing wrong?
Thanks,
Jim S.
Comments
$stamp bs2p, run1.bsp,run2.bsp
open a new program window and call it run2.bsp
you are going to have to setup any needed variables and contstants over again because tecnically its another program.
remember also you can pass valuse between the 2 with put and get using the sram.
in program1 you'll have to setup a goto program 2 and visa vera so it seems as though its one
its explained well in the help file as well as the stamp manual
if have have confused you or if you need other help post again
I can post a sample program that I have made for an example when I get get home if you need it. I'm using 4 banks in mine
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
I·appreciate your offer for sample program.· You may post it or email direct to jims99@ureach.com
Jim S.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
{$STAMP BS2p, prog2.bsp, prog3.bsp, prog4.bsp }
you could then write prog2.bsp...prog3.bsp...prog4.bsp
as seperate programs(open new code windows)
the stamp editor will then associate pro2.bsp,prog3.bsp,and prog4.bsp with
prog1.bsp
within the programs you would still have to put the neccessary code to jump to the other pages, like:
if data=1 then run1
·it will then jump to page 1 (which would be prog2.bsp, page 0 is your main code)
in prog2.bsp you would have to make the jump back to page 0 or to page whatever depending on how large you make it.
if exit=true then run0
each new window you would pretty much treat similar to a new program
' {$STAMP BS2p}
' {$PBASIC 2.5}
*variables*
*constants*
*code*
when you download it to the stamp you should it download to each modified program(page)
and like chris said is you are using all of the same variables you can just redeclare them in exact order on all of your following pages.
if you decide you want to change some or add new ones you might want to try passing them using the scratchpad ram (PUT,GET)
its very easy to use.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
Jim S.
Thank you so much.· Problem solved! (I mixed file extention names)
·· Happens to the best of us!· Take Care!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com