Enable LockStep Mode

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User15507
Level 1
Level 1
First reply posted First question asked
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



<>
(...)
void _START(void)
{
Ifx_SCU_LCLCON *LockStepCpu0 = &(*(volatile Ifx_SCU_LCLCON *)0xF0036134u);
LockStepCpu0->B.LSEN = 1;

__non_return_call(_Core0_start);
}
(...)

3213.attach

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
0 Likes
2 Replies
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
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.
0 Likes
User15507
Level 1
Level 1
First reply posted First question asked
Thank you for your consideration
0 Likes