Is the DTCM/ITCM accessible through the A-53 core in the 8Mplus?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is the DTCM/ITCM accessible through the A-53 core in the 8Mplus?

1,111件の閲覧回数
jose_au_zone
Contributor II

I'm trying to access the DTCM using /dev/mem on 8mplus and the board is hanging.

The reference manual is bit ambiguous because the region is on the a-53 memory map, like in the picture below

jose_au_zone_0-1634918031040.png

Bu in the beginning of the same section of the manual, it looks like its available only for the M7 core:

jose_au_zone_1-1634918111340.png

Thanks!

ラベル(1)
0 件の賞賛
3 返答(返信)

1,106件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jose

 

one can try to set proper RDC permissions using Table 3-4. Memory Region Mapping

i.MX 8M Plus Applications Processor Reference Manual

 

Best regards
igor

0 件の賞賛

1,040件の閲覧回数
jose_au_zone
Contributor II

Thanks!

Should I use the SDK API for that?

https://mcuxpresso.nxp.com/api_doc/dev/1425/a00017.html

I know that this SDK writes directly to registers in the processor, but since this is running on top of Linux, I'm getting segfaults while trying to run any command on it that writes to those registers

Am I'm doing something wrong here?

0 件の賞賛

1,037件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

in linux rdc is configured in atf (struct imx_rdc_cfg rdc[])

https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c?h=...

 

Best regards
igor

0 件の賞賛