DSPRelated.com
Forums

EVM - External Memory, Bean Inspector, variable allocation

Started by uwmechlab January 29, 2004
Hello all,

I'm having some trouble setting up a test application to utilize the
~256K of external SRAM on board my 56F8346 EVM board.

I have found the chip select properties for the CPU Bean (CPU:56F8346)
in the bean inspector - where I think I can setup the 128K external
FSRAM attached to CS0 on the board, and the 128K external FSRAM chip
attached to CS1/CS2 (byte Access).

1.) I'm looking for confirmation that I should set up CS0 with the
128K block size setting, base address 0 and adjust the read/write
wait states to 0, Upper/Lower byte option "both bytes enabled", R/W
enabled, Program Data space select "DS Only".

and for CS1 Base address 4095, 64K Block size, read/write wait states
to 0, Upper/Lower Byte option to Lower Byte Enable, Program Data
space select "DS Only".

and for CS2 Base address 4095, 64K Block size, read/write wait states
to 0, Upper/Lower Byte option to UPPER Byte Enable, Program Data
space select "DS Only".

2.) How should the External memory properties be configured?

3.) How would I allocate a buffer (char array) to each segment or both
i.e. how is the variable declared and does it need to be accessed in
any special way or does the compiler take care of this?

Thanks a bunch in advance

Erick