This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2812 XINTF dual memory mapping?

Good morning all.

I've recently observed an issue on the 2812, that when I set up a variable, say an integer array, to be in a zone of the external interface, writing to this variable then writes the data to multiple locations across the zone.

For example, if I have an array at 0x140FF0, and then loop through the array to write a value to each location in the array, the array will be updated, but so will an equal footprint of data at locations starting at 0x150FF0, 0x160FF0, 0x170FF0, etc, across the entire zone.

The same occurs if I manually change data through the CCS memory window at, to continue the example, 0x140FF0, in the next cycle the data in the other locations will also be updated.

Very odd.
Any obvious explanations that I may have missed?

Ta in advance.

Tim

  •  Tim,

     Is this on an eZdsp?  If so, the eZdsp has only a limited amount of physical external memory (I believe it is 64k) connected.

    -Lori

  • Bugger. You're quite right. I didn't notice that when I first looked for evidence of memory mapping initially, it's not so clear through the schematic, although since it is stated quite clearly that there is 64K of external memory which should have obviously been indicated by the 0x10000 incremental symmetry, I'll chalk that one up to stupidity.

    Thanks Lori and Hareesh, once again.