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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,395 Views
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!

Labels (1)
0 Kudos
Reply
3 Replies

1,390 Views
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 Kudos
Reply

1,324 Views
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 Kudos
Reply

1,321 Views
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 Kudos
Reply