infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: Enable LockStep Mode

  1. #1
    Beginner Beginner lsh9640 is on a distinguished road
    Join Date
    Jul 2018
    Posts
    6
    Points
    65

    Enable LockStep Mode

    Hi, I am using TC275
    and there is CPU LockStep features in it. So I am trying to use a lockstep feature but it has to be enabled right after cold reset before entering initialization.
    but based on the sample code i received from chipbender, this is as far as I can go and Lock step register does not change to enable


    Code:
    <<IfxCpu_CStart0.c>>
    (...)
    void _START(void)
    {
    	Ifx_SCU_LCLCON *LockStepCpu0 = &(*(volatile Ifx_SCU_LCLCON *)0xF0036134u);
    	LockStepCpu0->B.LSEN = 1;
    
        __non_return_call(_Core0_start);
    }
    (...)
    Click image for larger version

Name:	lock_step_register.jpg
Views:	0
Size:	23.7 KB
ID:	3560

    How can I enable the lockstep feature ??

    Sorry my english is not good but I tried to explain as much as I could

    Thanks.

    Best Regards,
    Dongah Electric Componenet R&D Center Research Engineer, Korea
    SIHUN, LEE
    lsh9640@dongah.biz
    82-10-4902-9640

  2. #2
    Advanced Advanced cwunder is on a distinguished road
    Join Date
    Feb 2015
    Location
    USA
    Posts
    48
    Points
    757.5
    From the manual:
    These registers are only initialized by a cold power-on reset. In this initialization state, all lock stepped processors in the system will have lockstep enabled. The lockstep function can only be disabled by the system initialization software writing a 0 to the LSEN bitfield. Application software cannot enable or disable the lockstep function.

    The registers which are used to configure and enable CPU Lockstep Mode are only writeable by Infineon's start-up firmware and are configured from the BMI
    See section 4.1.5.2 Configuration by Boot Mode Index (BMI) in the users manual.

  3. #3
    Beginner Beginner lsh9640 is on a distinguished road
    Join Date
    Jul 2018
    Posts
    6
    Points
    65
    Thank you for your consideration

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.