The code in M0 core is running from SRAM or FLASH? (LPC54114)

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

The code in M0 core is running from SRAM or FLASH? (LPC54114)

ソリューションへジャンプ
917件の閲覧回数
da_chen
Contributor II

I'm now running a dual-core project in LPC54114. Every thing works fine. But it came to me that from where the M0 core fetched its code? SRAM or FLASH? What about M4?

ラベル(1)
0 件の賞賛
返信
1 解決策
852件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Chen,

The M0+ core slave project is distributed in RAM. The slave project is associated with the master project. So, it will be compiled first and then the image data will be linked into the master image file.

So after power on, the slave fetch code from flash to RAM then run code from RAM.

The M4 core run project from Flash.


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
853件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Chen,

The M0+ core slave project is distributed in RAM. The slave project is associated with the master project. So, it will be compiled first and then the image data will be linked into the master image file.

So after power on, the slave fetch code from flash to RAM then run code from RAM.

The M4 core run project from Flash.


Have a great day,
Jun Zhang

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信