Memory mapping for dual core application

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

Memory mapping for dual core application

33 Views
bhavyavyas
Contributor I

Hi,

I am using imxRT-1176 EVKB and working dual core application. CM 7 is my primary core and CM4 is my secondary (slave) core. In my application CM7 and CM4 will have same code with shared memory. CM7 code is working fine but as i use the same code in CM4 the memory overflows. Help me in memory management so both core can work properly.

 

CM7 Memory mapping:

bhavyavyas_0-1765521634519.png

 CM7 build usage:

bhavyavyas_1-1765521694822.png




CM4 memory mapping:

bhavyavyas_2-1765521738136.png

 

CM4 build usage:

bhavyavyas_3-1765521806629.png

 

0 Kudos
Reply
1 Reply

15 Views
mayliu1
NXP Employee
NXP Employee

Hi @bhavyavyas ,

Thank you so much for your interest in our products and for using our community.

1: Did you use MIMXRT1170-EVKB development board or your customed board?

2: Which SDK demo do your use.

I suggest you can refer to SDK demo "evkbmimxrt1170_hello_world_secondary_core_boot_primary_core_cm7" and "evkbmimxrt1170_hello_world_secondary_core_boot_secondary_core_cm4"

For CM7 project: 

mayliu1_1-1765524223802.png

 

mayliu1_0-1765524191245.png

For CM4 project:

mayliu1_2-1765524285812.png

mayliu1_3-1765524330929.png

Please double check CORE1_BOOT_ADDRESS setting in " the evkbmimxrt1170_hello_world_secondary_core_boot_primary_core_cm7" 

mayliu1_4-1765524430611.png

Wish it helps you.
If you still have question about it, please kindly let me know.

Best Regards
MayLiu

0 Kudos
Reply