Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

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

$
0
0

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.

   


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>