Multicore Linking with .o ile slave project

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

Multicore Linking with .o ile slave project

1,662件の閲覧回数
tbayram
Contributor IV

Hello everyone,

We're working on IMX1176 multicore M4/M7 Mcu. And we have .o file M4 slave project. How can we link this .o file M4 slave project with our master M7 project.

Could you help me please?

Thank you.

0 件の賞賛
返信
5 返答(返信)

1,543件の閲覧回数
tbayram
Contributor IV

Hi @nxf77486 ,

Thanks for your reply. But I wanna link slave and master project with only .o slave file but master project is not allow this. Master project says I will compile slave project and I will start. but we dont want this. we want to compile slave project then we want to give this compiled slave project to master project. Master project start all core with pre-compiled slave project. How can we do that.

Thanks for all.

Have a nice day

0 件の賞賛
返信

1,504件の閲覧回数
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

In this case the solution we currently offer is the one I previously send, so we recommend to use this procedure and see if this works for your project. They require a compile procedure to assign the memory map between the two cores.

0 件の賞賛
返信

1,625件の閲覧回数
tbayram
Contributor IV

Hi @DanielRuvalcaba  ,

Thanks for your answer and interest on subject.

We are two teams working on IMX1176. one team is working on M7 processor and the other team is working on M4 processor. we are working on M4 and we will give the other team the M4 project compiled as object file. how can the other team link this object file to their project? is there any tool to do this? Should the M7 project be opened as master before linking with the M4 project? Should the M4 project be opened as slave?

Have a nice day

0 件の賞賛
返信

1,561件の閲覧回数
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

I would recommend o this case to create a project on the CM4 core as a "slave" project this can be configured on the MCUXpresso and the CM7 project as a "master" (see image attached).

Also on the MCUXpresso User Guide on the chapter 20. Multi core Projects is explain how to link this project in order to make them work.

nxf77486_0-1702931371847.png

 

Please let me know if you have any question.

0 件の賞賛
返信

1,641件の閲覧回数
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

We have some guides like AN13264 where we show how to create a dual core application.

I’d also recommend you to take a look to these threads:

 

How to create multi core project with MCUXpresso IDE form scratch?

Linking additional Object Files with GNU Linker

Position-Independent Code with GCC for ARM Cortex-M

 

I hope this helps.

 

Regards,

Daniel.

0 件の賞賛
返信