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.

AM2434: R5FSSx core (re)configuration with SDK.

Part Number: AM2434

Hello.


We'll use the AM2434 in the next generation of our products. Currently I'm using the AM243X-LP kit for investigation. SW configuration: ccs2100 + sdk 12_00_00_27 + sysconfig1.26.0 + ti_cgt_arm_llvm_4.0.4


1) I'm wonderred how to manage the configuration of R5 domains (Lockstep/Split) modes? My assumptions is: the SBL has to configure domains before to release the Reset for cores. But I can't find API / manuals / examples.
2) I'm not sure but seems to me the SDK assumes that the r5f0 domain should run in the LockStep and r5f1 in the Split modes. Am I correct? 


Really we don't plan to use the advantages of LockStep modes. We only need more resources for the R5 cores (TCM, etc).


Next question related to the combining of 2/3 projects into mcelf file. 
As example, I'm having the applications for r5f1-0 and r5f1-1 cores. How to aggregate both images into the mcelf?

  • Hi,

    1) I'm wonderred how to manage the configuration of R5 domains (Lockstep/Split) modes? My assumptions is: the SBL has to configure domains before to release the Reset for cores. But I can't find API / manuals / examples.
    2) I'm not sure but seems to me the SDK assumes that the r5f0 domain should run in the LockStep and r5f1 in the Split modes. Am I correct? 

    AM243 doesn't support lockstep mode and SBL is not configuring R5F0 cores in lockstep mode.

    Next question related to the combining of 2/3 projects into mcelf file. 
    As example, I'm having the applications for r5f1-0 and r5f1-1 cores. How to aggregate both images into the mcelf?

    You can use MCELF image gen tool for this: AM243x MCU+ SDK: Booting Tools

    Best Regards,
    Meet.

  • Hello, Meet.

    Thank you for your answer. But it's a bit confusing me. Could you explain following:

    sprsp65j.pdf 

    Processor cores: • Up to 2× Dual-core Arm Cortex®-R5F MCU subsystems operating at up to 800MHz, highlyintegrated for real-time processing

    – Dual-core Arm Cortex®-R5F clusters support dual-core and single-core operation.

    Basically... Is my expectation coorect that the TCM memories are doubled when cluster in the "single-core" mode?

    This is the single reason why I want to (re)configure clusters.

  • Hello, Meet.

    Thank you for your answer. But it's a bit confusing me.

    Can you explain following:

    sprsp65j.pdf

    Processor cores: • Up to 2× Dual-core Arm Cortex®-R5F MCU subsystems operating at up to 800MHz, highlyintegrated for real-time processing

    – Dual-core Arm Cortex®-R5F clusters support dual-core and single-core operation.

    Is my expectation that tthe TCM memories are doubled when cluster in the "single-core" mode correct?

    This is the single reason why I want to (re)configure clusters.

  • Is my expectation that tthe TCM memories are doubled when cluster in the "single-core" mode correct?

    An R5F cluster does support the single-core mode (but this is not the same as lockstep mode), in which CPU0 is the only operating core but can use CPU1's TCMs as well, so this understanding is correct. By default R5 cores are configured in split mode and SBL doesn't configure them to single-core mode, so there is no need for you to change any configuration for this.

  • Hello, Meet.

    At the first: thank you for clarification of the Single-Core and LockStep.

    Next: I need to double the TCM memory. That is what i'm looking for. Does SDK support that?

  • Next: I need to double the TCM memory. That is what i'm looking for. Does SDK support that?

    Yes, this is possible, please refer to this thread to get more details on how to configure that:  PROCESSOR-SDK-AM64X: How to Disable dual core mode of R5F and run in single core mode