I am using a BF532 with 32MB of SDRAM and would like to allocate (at compile time) a giant 24MB array that I manage myself. Is there something easy I can do to the LDF file to make this easy?
if you are using a System Builder-generated LDF (one added when creating your project, or via 'Project Options: Add Startup Code/LDF'), you can go to 'Project Options: LDF Settings: External Memory' and set the external memory partition to 'none', which will just define one block of SDRAM taking up the whole size, or 'custom', which will divide the SDRAM into 4 equal chunks, but wrap them in $VDSG tags so that you can make modifications that wont be discarded when the LDF is regenerated.
This would allow you to manually edit the memory range(s) of the SDRAM sections in the LDF to give you enough of a contiguous range of memory for your array.
Oh nice. I never realized what that setting was all about. Thanks! (I had always assumed that the 8MB chunks had something important to do with performance or were somehow tied into the whole banking aspect of the SDRAM system).
Retrieving data ...