Hi,
A install a extra sram AS7C34096 into the RCM5700 board.
The external ram works fine. It can store data, or running code in it.
The external sram uses CS1 OE1.
I am sure the external sram is OK, if I force the CS_RAM to CS1 OE1 WE1 for “store program in flash”, MB2CR is 0xC5 which mean it point to the external sram.
But if I change BOARDTYPES.LIB:
#if BOARD_TYPE == RCM5700
//the RCM5700 has only 128k of internal RAM available
#ifdef RAM
#if SEPARATE_INST_DATA
#error “The RCM5700 does not support compiling to”
#error " RAM when Separate I&D space is enabled."
#fatal " Turn off Separate I&D or compile to flash."
#endif
#endif
//#define CS_RAM (CS3OE0 & _MBC_CS_MASK)
#define CS_RAM (CS1OE1 & _MBC_CS_MASK) //change it here
And then choose “compile-> store program in ram” it stopped just after the RabbitBios.c is transfered. There is not response from the target board, and the Dynamic C stopped!
Is there some code need to be changed if I choose to compile in EXTERNAL sram?
Thanks
LTZ