Tool/software:
Dear All,
I'm going to test SDL API.
The three APIs I'm going to test are as follows.
SL_SelfTest_CCMR4F()
SL_SelfTest_Flash()
SL_SelfTest_SRAM()
The actual tested code is as follows.
SL_SelfTest_Result flash_stResult = ST_PASS;
SL_SelfTest_Result sram_stResult = ST_PASS;
SL_CCMR4F_FailInfo failInfoCCMR4F;
boolean ccmr4fResult = SL_SelfTest_CCMR4F(CCMR4F_SELF_TEST, FALSE, &failInfoCCMR4F);
boolean flashResult = SL_SelfTest_Flash(FLASH_ECC_TEST_MODE_1BIT, TRUE, &flash_stResult); boolean sramResult = SL_SelfTest_SRAM(SRAM_ECC_ERROR_FORCING_1BIT, TRUE, &sram_stResult);
What I'm wondering here is,
When I run the above example code, all three return TRUE,
but what should I do if I need to return FALSE?
What value should I put in the API argument?
Best Regards,
IBLEE
