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.

External Ram



Hi

I am developing  an application using the eZdsp F28335. The board contains an external RAM to be used in storing varables in a dynamic memory arrays. If I dont use the external RAM , every thing is ok. When I try to use this external RAM by intializing the arrays, my program is stopped. knowing that I am using the linker command that locate this external RAM. Is there any proceduer or application notes(examples) to be used in solving my problem. Many thanks in advance.

  • Bassim,

    At power-up/reset the XINTF on the 2833x/2823x is not clocked and the pins are configured as GPIOs. You need to configure the XINTF and GPIO pins before accessing external memory. Instead of initializing your arrays in the declaration you will probably have to initialize them in your code after configuring the XINTF.

    Regards,
    Dave Foley

     

  • Bassim,

    or initialize XINTF in assembly before calling _c_int00. I seem to recal that somebody posted the code (either for 2812, 28335 or 28346) already on the forum.

    Regards, Mitja

  • Hello, I'm coming across the same problem - my '.ebss' section assigned to XINTF6 on a 2812 is all FFFF - when set to run internally instead of externally, there are initial values setup correctly, so the code works. I've yet to find the assembler code example that sets up the XINTF, so I can put it into CodeStartBranch.asm.   Any ideas, or is there a better way - hopefully not using assembler!!