Hi TI,
Here I have an issue which is very new to me.
I am using TMS570LC4357 with free-RTOS (HalCoGen generated code).
And I want to use N2HET and HTU Peripherals too.
So Before StartScheduler() function, I can do modify the value of any HTU related Register, (ex: CPENA, GC etc.,)
But after StartScheduler() fucntion is called, I can not modify any HTU related Register contents through code.
But the notable point here is that I can do modifying the value of any HTU related register through debugger, but not through the c code.
I have attached the sample code with this post which causes the issue.
And the snapshots to explain my issue is below.
I cannot understand why the HTU Registers are not written when the htu1REG->CPENA = 1; is getting executed.
And another note here I want to share is below.
Is this caused by MPU unit configuration? or any other reason?
Please anybody guide me to modify HTU Registers after free-RTOS code starts running.
Thanks in advance.
Regards,
Karthikeyan.k