End of Program Space
JCee
Posts: 36
Is there a way to determine, at compile time, the end of program space in RAM. I am working on a GPS data logger and I want to store the GPS data in eeprom AFTER my program. I realize that I can press F8 and find the end of the code space but I dont want to do this everytime I change the code. Any simple solutions?
Comments
Jim
Edit: If you're on a Demo or PPDB Board, that may be a problem, as they are SMT components.
The word at addr 8 holds the start of the variable section (the yellow part of the hex viewer in PropTool). This should be the beginning of the usable EEPROM space.
Andy
ViewPort comes close and with patience you can figure it out by clicking on each PUB or PASM label to senthizise the data. You can also pump it out at runtime but, man, wouldn't that be handy in the prop tool to just be able to look at a listing?
Have you looked at BST or Homespun?
Does it do that?
When I press F8 I can see the first 12 bytes are
00 B4 C4 04 6F 63 10 00 1C 5E BC 63 2C
However when I try to read the first 10 bytes this is what I get:
00 B4 C4 04 6F 91 10 00 14 0E D0 0E 24
Not the same, espically the word where the vars are supposed to begin.
here is the code I am using to read RAM