How do I use the extra memory in the BS2sx?
HkySk8r187
Posts: 14
I was using the BS2, which has 2k EEPROM program size ~500 lines. My program hit the limit and would no longer fit in memory. I got the error "Data occupies same location as program". I'm guessing that it's because I have about 650 lines of code so far.
So I remove hte BS2 and put on my BS2sx which says it has 8x2k EEPROM program size ~4000 lines. I get the same error, and the memory map looks identical as it did with the BS2. I thought this chip was supposed to hold 8 times the amount of code?
I don't get it. Can anyone help? Thanks.
So I remove hte BS2 and put on my BS2sx which says it has 8x2k EEPROM program size ~4000 lines. I get the same error, and the memory map looks identical as it did with the BS2. I thought this chip was supposed to hold 8 times the amount of code?
I don't get it. Can anyone help? Thanks.
Comments
For a discussion of multi-slot programming, look at the PBasic manual in the section on the RUN statement and this Nuts and Volts column: www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf.
This does in a single READ and a subroutine call what you did in 4 lines of code before.
I am not always waiting 'WholeBeatTime' after an entry, sometimes I want to wait (WholeBeatTime / 2), or (WholeBeatTime * 2)
This creates 2400 table entries for 1200 instructions, so getting even more out of the memory would be necessary.
Here is a modified version of the program Mike posted:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com