Memory map & ram
mizio
Posts: 10
MEMORY MAP...
GOOD MORNING
I AM MAURIZIO FROM ROMA ITALIA
SORRY FOR MY BAD ENGLISH
MY QUESTION:
i have a SX28PBASIC with eeprom 24LC128
when i open "BASIC STAMP EDITOR/DEVELOPMENT SYSTEM"
to display "MEMORY MAP",
i see the capacity "EEPROM MAP" is the same of device 24LC16B.
Also, the "RAM MAP" is the same that "PIC16C57C" .
I USE THESE DIRECTIVES FOR SX28PBASIC ...
' {$STAMP BS2sx}
' {$PBASIC 2.5}
I hope that SX28PBASIC with eeprom 24LC128 can have "memory map" and "ram map" great that
PIC16C57C with 24LC16B ? ..... NO?· . I NEED MORE EEPROM.
i hope your answer please...
Tank's
GrazieMaurizio (from Roma - Italia)
GOOD MORNING
I AM MAURIZIO FROM ROMA ITALIA
SORRY FOR MY BAD ENGLISH
MY QUESTION:
i have a SX28PBASIC with eeprom 24LC128
when i open "BASIC STAMP EDITOR/DEVELOPMENT SYSTEM"
to display "MEMORY MAP",
i see the capacity "EEPROM MAP" is the same of device 24LC16B.
Also, the "RAM MAP" is the same that "PIC16C57C" .
I USE THESE DIRECTIVES FOR SX28PBASIC ...
' {$STAMP BS2sx}
' {$PBASIC 2.5}
I hope that SX28PBASIC with eeprom 24LC128 can have "memory map" and "ram map" great that
PIC16C57C with 24LC16B ? ..... NO?· . I NEED MORE EEPROM.
i hope your answer please...
Tank's
GrazieMaurizio (from Roma - Italia)
Comments
grazie
maurizio
There is no way to expand the amount of EEPROM available to a single program beyond 2K bytes. Stamps like the BS2sx
get around this by allowing several 2K programs ("slots") to be stored in the Stamp's EEPROM. The extra EEPROM can also
be used for storing data.
sorry,
24LC16B have less memory of 24LC128 ?
Since, why the "BASIC STAMP EDITOR/DEVELOPMENT SYSTEM" see the same "memory map"?
also if i put these directives?
' {$STAMP BS2sx}
' {$PBASIC 2.5}
I need more memory program
i need no other eeprom for storing data.
Grazie
maurizio
As I mentioned, the Basic Stamp Editor will always see only 2K of memory regardless of the directive used. The BS2 has one 2K
"slot" for a program while the BS2sx has 8 "slots" of 2K each. The BS2p and BS2px also have 8 "slots" while the BS2pe has 16
"slots" of which the first 8 can be used for programs or data and the other 8 can only be used for data.
There is no way to get more memory for programs. You will have to simplify or otherwise shrink your program or split it up into
sections as described in the article I mentioned for use in multiple "slots".
sorry for my bad english
grazie Maurizio
from Roma - Italia
I'm not sure how you would see the other 2K "slots", but I'm sure you can use them in your program. See "Multi-Slot" programming.
tanks your tip
i see the example run1.bsx and run2.bsx so i can see more details argument
if i have 2 module in my project, i hope to have 26 bytes RAM each module of project.
tanks
Maurizio
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
Here is 7.50 AM o'clock
are you sleeping ))
so i thank you.
i will try memory ram with many variabile, PUT GET, in many moduli so i can check the capacity ...
see you later..
Bye
Maurizio
if i am sure
i can tell it:
the memory Ram is always 26 bytes with available simbols
instead, in the ScratchPad Ram (0 to 62) i can PUT and GET my data
from each Slot Programm but i cannot have simbols for these locations.
Well, a question:
if i have 3 slot programs,
i can declare in RAM only 26 bytes simbols for all slots programs together (whole project)?
an example:
^^^^^^ step1 ^^^^^
'Run slot1
MyVar var byte
MyVar = 1234
^^^^^^ step2 ^^^^^
'Run slot2
MyVar var byte
MyVar = 5678
^^^^^^ step3 ^^^^^
'Run slot3
debug MyVar 'what value return MyVar? 1234 or 5678 ???????
Grazie
Maurizio