Hi all,
I check the document sprugw0c TMS320C66X.
in the page 3-16, it mentioned i can change the register, like L1DCFG, in the supervisor mode.
How do i change the mode between supervisor and user.
Thanks.
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.
Hi all,
I check the document sprugw0c TMS320C66X.
in the page 3-16, it mentioned i can change the register, like L1DCFG, in the supervisor mode.
How do i change the mode between supervisor and user.
Thanks.
Hi Mukul,
Not sure what you mean. i am only develop multicore dsp.
Do you mean this setup is through Linux?
Thanks,
YaoTing
Typically Supervisor and User mode setting is in the Memory protection Access(MPA) Registers. If you are not configuring any memory protection then you don`t need to configure it as the DSP by default configures all memory for Normal mode access so this only applies if you are using MPA.
IF you are simply looking to configure L1DCFG, then I would recommend that you look at the following header files in CSL that relates to cache configuration: (Please look at APIs that configure L1DCFG)
pdk_k2hk_4_x_xx\packages\ti\csl\csl_cacheAux.h
pdk_k2hk_4_x_xx\packages\ti\csl\src\ip\cgem\V1\cslr_cgem.h
Hope this helps.
Regards,
Rahul
PS: Please download the software for this device from the link below: