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.

28377D Possible to link .ebss into SDRAM?

Is it possible to link the .ebss section into SDRAM hanging off the EMIF of a 28377D and access those variables without using the __addr32 intrinsics?

  • Hi Mike,

    Allocation of variable in SDRAM space is not recommended. Since SDRAM address lied beyond the 22-bit range of the program address bus and can only be accessed through the data bus; this places a restriction on the C compiler being able to work effectively on data in this space, therefore, the user is advised to copy data from external memory to internal RAM before working on it.

    Regards,

    Vivek Singh

  • So would it be a better option to instead use an SRAM device for this purpose?

    Could I also allocate large amounts of const data into a parallel flash device and reference them in code from their C variables?

  • Mike,

    So would it be a better option to instead use an SRAM device for this purpose?

    Yes, using SRAM for this purpose will be ok.

    Could I also allocate large amounts of const data into a parallel flash device and reference them in code from their C variables?

    Yes, this should be fine. You need to make sure read interface of parallel flash is compatible with ASYNC interface of this device.

    Regards,

    Vivek Singh