Part Number: TMS570LS0432
Hello
In my program I do the register test periodically. TI demo function "Reg_Read_Compare"
so I want to injection fault in register. please help me how to do inject the error in regiser
Thank you
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.
Part Number: TMS570LS0432
Hello
In my program I do the register test periodically. TI demo function "Reg_Read_Compare"
so I want to injection fault in register. please help me how to do inject the error in regiser
Thank you
Hi Whong,
1. If you already have initial value, you need to read the initial value first: Reg_Read_Compare(MODULE NAME, BASELINE);
2. If you don't have initial value, or you want to change the initial value, please configure the registers first, then re-baseline those register value.
Reg_Read_Compare(MODULE NAME, reBASELINE);
3. Inject a wrong value to a register you want to do a test
4. read the register value, and compare with the baseline value
Reg_Read_Compare(MODULE NAME,COMPARE);