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,396 次查看
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,391 次查看
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,325 次查看
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,322 次查看
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 项奖励
回复