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.

How debug secured C6748 with DSP BIOS based application when exit mode is SECUREWITHSK

Hi, we using generic secured C6748 for our project.

1.  I experience an issue with debugging DSP BIOS based application when exiting in SECUREWITHSK boot exit mode.

2.  I have no problem with debugging the above application when exiting in NONSECURE boot exit mode.

3.  I have no problem with debugging application without DSP BIOS when exiting in SECUREWITHSK or NONSECURE boot exit mode.

4.  I opened(unsecured) all MPUs and IOPUs.

5.  In the scenario with DSP BIOS I noted that if I use "bios.GBL.USERINITFXN" (which is empty and do nothing for the test) option than the application stuck in the init routine.

     From that I conclude that DSP get reset all the time, but I can't understand why.

     I looked in "FLTSTAT" (value = 0x0E030210) register of the MPU2 and noted following :

  1. Supervisor write fault (10h).
  2. Privilege ID = DSP (1h).
  3. Master ID = DSP CFG (3h).
   I tried to clear the register to continue and didn't succeed, DSP continue to stuck between the c_init and the end of user init routine.
6.  The above occures whenever  "bios.GBL.ENABLE_SK = false" or bios.GBL.ENABLE_SK = true.
 
What I did wrong?
Dani.

   

 

 
P.S info of MPU2 register:
 
MPSAR 0x00000000
MPEAR 0xFFFFFFFF
MPPA 0x03FFFEFF    
 
MPFAR 0x00000100
MPFSR 0x0C030210