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.

CC2340R5: CC2340R5

Part Number: CC2340R5

Tool/software:

Hello Team,
                  I am working on CC2340R5 , i am using  simplelink_lowpower_f3_sdk_8_40_00_61  SDK.


i seen function  

void AssertHandler(uint8_t assertCause, uint8_t assertSubcause)
{
Log_error2(">>>STACK ASSERT Cause 0x%02x subCause 0x%02x",
assertCause, assertSubcause);

// check the assert cause
switch(assertCause)
{
case HAL_ASSERT_CAUSE_OUT_OF_MEMORY:
Log_error0("***ERROR***");
Log_error0(">> OUT OF MEMORY!");
break;

case HAL_ASSERT_CAUSE_INTERNAL_ERROR:
// check the subcause
if(assertSubcause == HAL_ASSERT_SUBCAUSE_FW_INERNAL_ERROR)
{
Log_error0("***ERROR***");
Log_error0(">> INTERNAL FW ERROR!");
}
else
{
Log_error0("***ERROR***");
Log_error0(">> INTERNAL ERROR!");
}
break;

case HAL_ASSERT_CAUSE_ICALL_ABORT:
Log_error0("***ERROR***");
Log_error0(">> ICALL ABORT!");
//HAL_ASSERT_SPINLOCK;
break;

case HAL_ASSERT_CAUSE_ICALL_TIMEOUT:
Log_error0("***ERROR***");
Log_error0(">> ICALL TIMEOUT!");
//HAL_ASSERT_SPINLOCK;
break;

case HAL_ASSERT_CAUSE_WRONG_API_CALL:
Log_error0("***ERROR***");
Log_error0(">> WRONG API CALL!");
//HAL_ASSERT_SPINLOCK;
break;

case HAL_ASSERT_CAUSE_STACK_OVERFLOW_ERROR:
Log_error0("***ERROR***");
Log_error0(">> STACK OVERFLOW!");
HAL_ASSERT_SPINLOCK;
break;

default:
Log_error0("***ERROR***");
Log_error0(">> DEFAULT SPINLOCK!");
//HAL_ASSERT_SPINLOCK;
}

return;
}

where we can see the Log_error, i mean in terminal or any specific location to see it.

  • Greetings Prashant,

    These should be visible in any serial terminal that is connected to the COMPORT of the device. You could, for instance, use Putty/Tera-term to be able to see the prints from here. Have you already tried this?

    Best,
    Achyut Ray