PDA

View Full Version : ISOPODX Question on using RAM


earlwb
12-16-03, 02:59 PM
Will the ISOMAX firmware automatically get loaded into RAM if I choose the full extended RAM option setting?
On page 60:
If I understand the manual, it stated that it would load the ROM image into the RAM. is this correct thinking?
excerpt from page 60:
b. If the RAM contents are invalid, load the SAVE-RAM image from Data Flash ROM. If this RAM
image is valid, use it. This gives you a convenient method to initialize your application RAM.
Thanks, can't wait until I get it to play with. :)

RMDumse
12-16-03, 03:14 PM
The manual reference you mention applies to just the user variables associated with SAVE-RAM. These variables are again reloaded on cold reset. It is not refering to the entire firmware image.

earlwb
12-16-03, 03:20 PM
So then if I choose the extended RAM option, does ISOMAX still work on it?

nmitech
12-16-03, 04:00 PM
When you are working with IsoMax, you are using the combine internal & external memory. You can only access up to 32KByte of external Program Ram from 0x8000-0xFFFF, and approx. 56Kbyte of external data memory.

If you are working with CodeWarrior, You can disable the internal memory and you can access full 64Kbyte of external Program Ram and 64KByte of external Data Ram. This mode is only good for program development in RAM.

To enable the external memory using IsoMax, simply enter this line,
HEX 10 C00 !

Next, enter the line below before you load your application program onto the external Program Ram,
8000 PDP !
Your program will load from 8000 and start building up.
Before Loading your program on the external program ram, you must remove or comment out EEWORD, or IN-EE

RMDumse
12-16-03, 04:58 PM
The IsoMax kernel is *not* automatically copied from Flash to external RAM. If you want to use IsoMax, you have to leave the low 32K of Program memory as Flash.

Another way of handling activating words in source with out have to remove them: rather than going through all your code and removing the use of EEWORD and IN-EE, make the kernel words ineffective. At the beginning of your source, you could just have a single line for each, for instance

: EEWORD ;

to make the EEWORD s in the rest of your post harmless. If you wanted to switch back and make EEWORD work, just comment out the redefinition line

( : EEWORD

and you'll have the rest working again as per the original state. Same for IN-EE.