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.

AWR2944: How to test SDL STC

Part Number: AWR2944


Hi,

case 1:

I download the source code to DSP and MSS respectively。 then sync two cores ,start the debug.  then stop, debug log will hint us that wait for interrupt registration in DSP core,

it seems the DSP core is not running at all.

DSP STC Test Application started.
If DSP STC test is successfull, DSP Core will be reset.
Wait for interrupt registration in DSP Core .
Wait for interrupt registration in DSP Core .
Wait for interrupt registration in DSP Core .
Wait for interrupt registration in DSP Core .

case 2:

if I start MSS core first then ,start the DSP core,  it still hint us that "wait for interrrupt ". even the dsp core is done with interrupt register.

case 3: start DSP first ,then start MSS core , debug log as following 

the MSS core will stuck at "STC_DSP_test_main" line 152.   

So I want to know if reaction of  the case 3 is correct ?

Or how to use this STC example. 

Thanks.

BR,

  • Hi,

    Let me check on this on my bench and get back to you with an update on this.

    Thanks,

    Pradipta.

  • Hi,

    The STC test needs to be flashed to the device as a complete .appimage and programming individual cores may not work all the times. The example code has a system project inclusion for the same purpose. Please build the system project and flash the complete .appimage and let us know your observations. 

    You can also use CCS to build the system project.

    Thanks,

    Pradipta.

  • Hi,

    So, I see the infromation below picture. it seems the same logs as in case 3.  Is this a correct activity?

    Thanks

    Best regards

  • Hi,

    additional information please refer to below picture.  I try to power on / off the device , then I see sometimes, it test passed , sometimes it test failed.

    the current is 0.133 A when test failed, the value will be around 0.15 A when test passed.

    Thank you.

  • Hi,

    My understanding is now you are using a system project for this application. 

    Currently do you reset the device by pressing the nreset button or are you power cycling the device for each iteration?

    I can see pass logs as well in your screen shots so trying to debug the reason as to why you are observing failure case as well.

    Thanks,

    Pradipta.

  • Hi,

    Yes,I flashed the apptiimage to the device . it is a Power on reset for each iteration. 

    Now I add a debug log in line 154, refer to below picture

    and the programming will stuck at line 154, when test failed.

     .

    so the condition  "while(1!= (uint32_t)HW_RD_FIELD32(DSP_STC_BASEADDRESS + SDL_STC_STCGSTAT, SDL_STC_TEST_DONE))" is not fulfilled.

    that means the self test is not completed!  But why it happened.

    Thank you.

    BR,

  • Hi, 

    I try to print the SDL_STC_STCGSTAT of DSP.  DSP core can not completed the test sometimes. also I try to increase the DSP wait time value ,but it is not useful.

    Thanks. 

    DSP STC Test Application started.
    If DSP STC test is successfull, DSP Core will be reset.
    Wait for interrupt registration in DSP Core .
    Interrupt registration is Done on DSP Core .
    stcResultDone = 0, stcResultFail = 0, stcResultActive = 10
    DSP STC Test is Active but Not yet Completed.
    R5F STC Test Application started.
    If R5F STC test is successfull,R5F Core will go in to Reset.
    R5F Core is Reset.
    R5F STC is done Successfully & Passed.
    Waiting in loop in STC_Main().
    DSP STC Test Application started.
    If DSP STC test is successfull, DSP Core will be reset.
    Wait for interrupt registration in DSP Core .
    Interrupt registration is Done on DSP Core .
    stcResultDone = 1, stcResultFail = 0, stcResultActive = 5
    DSP Core is Reset.
    DSP STC is done Successfully & Passed.
    R5F STC Test Application started.
    If R5F STC test is successfull,R5F Core will go in to Reset.
    R5F Core is Reset.
    R5F STC is done Successfully & Passed.
    Waiting in loop in STC_Main().
    DSP STC Test Application started.
    If DSP STC test is successfull, DSP Core will be reset.
    Wait for interrupt registration in DSP Core .
    Interrupt registration is Done on DSP Core .
    stcResultDone = 1, stcResultFail = 0, stcResultActive = 5
    DSP Core is Reset.
    DSP STC is done Successfully & Passed.
    R5F STC Test Application started.
    If R5F STC test is successfull,R5F Core will go in to Reset.
    R5F Core is Reset.
    R5F STC is done Successfully & Passed.
    Waiting in loop in STC_Main().
    DSP STC Test Application started.
    If DSP STC test is successfull, DSP Core will be reset.
    Wait for interrupt registration in DSP Core .
    Interrupt registration is Done on DSP Core .
    stcResultDone = 0, stcResultFail = 0, stcResultActive = 10
    DSP STC Test is Active but Not yet Completed.
    R5F STC Test Application started.
    If R5F STC test is successfull,R5F Core will go in to Reset.
    R5F Core is Reset.
    R5F STC is done Successfully & Passed.
    Waiting in loop in STC_Main().

  • Hi,

    I will need to reproduce the issue on the bench and then root cause the issue form there. Allow me some time to get this done and get back to you with an update. 

    Thanks,

    Pradipta.

  • Hi,

    Could you reproduce this issue on your bench successfully? Is there any update.

    Thanks,

    BR,

  • Hi,

    I have not been able to reproduce it for now. We are checking on this within the team as well to see if anyone has other observations on this.

    Thanks,

    Pradipta.

  • Hi,

    We can reproduce this issue on the EVM.  Thanks. 

    Starting QSPI Bootloader ... 
    [BOOTLOADER_PROFILE] Boot Media       : NOR SPI FLASH 
    [BOOTLOADER_PROFILE] Boot Media Clock : 80.000 MHz 
    [BOOTLOADER_PROFILE] Boot Image Size  : 77 KB 
    [BOOTLOADER_PROFILE] Cores present    : 
    unknown
    c66ss0
    r5f0-0
    [BOOTLOADER PROFILE] System_init                      :        440us 
    [BOOTLOADER PROFILE] Drivers_open                     :         16us 
    [BOOTLOADER PROFILE] Board_driversOpen                :       2711us 
    [BOOTLOADER PROFILE] CPU load                         :      82809us 
    [BOOTLOADER_PROFILE] SBL Total Time Taken             :      85979us

     

    Image loading done, switching to application ...
    INFO: Bootloader_socCpuResetRelease:259: PBIST memory tests exeucted by RBL, RINFOL : 0xC0A0 and RINFOU : 0x0
    INFO: Bootloader_runCpu:155: CPU r4 is initialized to 200000000 Hz !!!
    INFO: Bootloader_runCpu:155: CPU c66ss0 is initialized to 360000000 Hz !!!
    INFO: Bootloader_runSelfCpu:217: All done, reseting self ...

     

    DSP STC Test Application started.
    If DSP STC test is successfull, DSP Core will be reset.
    Wait for interrupt registration in DSP Core .
    Interrupt registration is Done on DSP Core .
    stcResultDone = 0, stcResultFail = 0, stcResultActive = 10
    DSP STC Test is Active but Not yet Completed. 
    R5F STC Test Application started.
    If R5F STC test is successfull,R5F Core will go in to Reset.
    R5F Core is Reset.
    R5F STC is done Successfully & Passed.
    Waiting in loop in STC_Main().