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.

[OMAP2430] OMAP SDP External memory



Hello all,

                    I have the following questions:

1) We have with us the OMAP 2430 SDP from TI. Does it have an external SRAM interfaced to the DSP? If yes, how much is this memory and how to access this from the DSP core

2) If there is no external memory interfaced, i believe that, from the DSP core we could access the ARM side memory (Internal to ARM) as external SRAM. For this i understand that we need to use a GEL file to configure the DSP side mmu and then release the DSP reset. Also we need to make an entry in the Linker cmd file.

Can anyone let me knwo what is this Gel file that we need to use, and what are the settings that need to be done in the CMD file.

3) How to instruct the compiler to place a variable or a table for instance in this external memory

4) What is the best  way to allocate memory dynamically while working on the DSP core.

For all the queries above, we are using on the DSP core and nothing is running on the ARM core.

thanks and regards

prasanna/-

  • prasanna um said:
    1) We have with us the OMAP 2430 SDP from TI. Does it have an external SRAM interfaced to the DSP? If yes, how much is this memory and how to access this from the DSP core

    The OMAP 2430 SDP is not a readily available board, so for support on it you will likely find better answers working with your local TI contact, I have not had a chance to work with this device/board before so I am not sure what memories are implemented on it.

    prasanna um said:
    2) If there is no external memory interfaced, i believe that, from the DSP core we could access the ARM side memory (Internal to ARM) as external SRAM. For this i understand that we need to use a GEL file to configure the DSP side mmu and then release the DSP reset. Also we need to make an entry in the Linker cmd file.

    Typically this would be correct based on the newer processors that have a similar architecture.

    prasanna um said:
    3) How to instruct the compiler to place a variable or a table for instance in this external memory

    Assuming this is from the DSP side of things you could do this with pragmas such as DATA_SECTION as discussed in section 6.8.4 of SPRU187, this allows you to define a particular memory segment (those defined in your linker command file) to place an object like a variable or array.

    prasanna um said:
    4) What is the best  way to allocate memory dynamically while working on the DSP core.

    Typically dynamic memory allocation would be done with some form of malloc(), in the case of DSP/BIOS you could use the MEM_alloc functionality which is similar to an old fashioned malloc call however it allows you to define a particular heap to allocate from, so you can place dynamically allocated items in various memory segments.