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.

TMS320F28374D: How to initialize or clear a specified RAM area

Part Number: TMS320F28374D

Hi Team,

There's an issue from the customer need your help:

Currently my 28374D CUP1 has two projects flashed, and during normal operation, there will be jumps between the two projects, and I want the RAM area specified by the DSP is initialized or cleared first before project 1 jumps to project 2 or before project 2 is initialized. Does TI provide some library functions or instructions that allow RAM to be initialized or cleared? If not, what should I do to initialize RAM? 

Could you help check this case?

Thanks & Regards,

Ben

  • Hello Ben,

    The customer can initialize memory sections by using this function: MemCfg_initSections(uint32_t ramSections). There are macros for different RAM sections which can be viewed in the memcfg.h header file. Let me know if there are further questions about this or if this does not fit the customer's requirement.

    Best regards,

    Omer Amir