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.

TMS320F280025C: DCSM usage for program isolation

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

Hi

I need to partition my program into 2 part.  Completely eliminate access to RAM from one to another. Avoid stack corruption and data corruption.

Something similar to SVC mode / MPU on ARM.

Can DCSM be used for that purpose?

What would be the strategy?

Do you have examples for this use case?

Best regards

Rasty

  • Hi Rasty,

     

    Apologies for the late response.

     

    DCSM as the name suggests provides code protection where we can keep code that is running from another zone (and unauthorized debug accesses) from seeing or modifying the first zone’s code in memory.

     

    Hope this informtion is helpful.

     

    Thanks & Regards

    Pramod

  • Hi

    Sounds good.

    I have to solve following problem.

    I have a code/data/stack, which should be isolated from other software.

    It is safety-related rather than security.

    Can you explain how to create an isolated island, with its own data and stack, which is protected from other pieces of software?

    For simplicity, all can be in RAM - code, data and stack.

    Thanks

    Rasty

  • Hi, 

    There is an example in C2000Ware showcasing how to use DCSM to configure memories to protect access from other zone. Please refer that for this use case. The example is at C2000Ware_4_01_00_00\libraries\diagnostic\f28002x\examples\sdl_ex_dcsm_ffi