imx6sx M4 run program at address < 0x20000000

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6sx M4 run program at address < 0x20000000

292 Views
mtx512
Contributor V

In the imx6sx reference manual it quotes the following:

Instruction fetch requests to the code bus are not registered. It is recommended that
performance critical code be located such that it fetches from the ICode bus interface as
defined by addresses < 0x2000_0000 (the system bus interface includes the addresses > =
0x2000_0000 and < 0xE000_0000 and the Private Peripheral Bus is used for addresses
>= 0xE000_0000).

This would imply TCM is the best place to run code from, however it restricts the application size to 64K. In the M4 memory map there is some memory below TCM, 256Mb (1000_0000 1FFF_7FFF) which is named as DDR Code alias (see below). Can this be used for application code? If yes what the address space on the A9 side to load the code into this space?

2000_0000 2000_7FFF 32 KB TCMU
1FFF_8000 1FFF_FFFF 32 KB TCML
1000_0000 1FFF_7FFF 256 MB -64 KB DDR Code alias

Labels (1)
0 Kudos
1 Reply

114 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Jas

please check

https://community.nxp.com/thread/378646

A9 address can be found in i.MX6SX Reference Manual Chapter 2 Memory Maps

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SXRM.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos