S32K358 Is it possible to have both cores execute code from the same flash block?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K358 Is it possible to have both cores execute code from the same flash block?

跳至解决方案
373 次查看
DrJonM
Contributor III

Hi,

I'm using an S32K358. Both the Lockstep core and Core 2 will have boot loaders that will verify and launch main application code in each core.

In the initial design, I intend to run the lockstep core boot and application our of flash block 0 and Core 2 out of flash block 1.

However, it would give us some flexibility in the flash layout if we could run the boot loaders for both cores out of block 0 with the application for the lockstep core running out of block 1 and the applications for core 2 out of block 2.

Is this feasible? i.e. can both cores simultaneously execute in place from the same flash block?

If so, what is the performance implication of this

Thanks,

Jon.

0 项奖励
回复
1 解答
346 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Is this feasible? i.e. can both cores simultaneously execute in place from the same flash block?

Yes, but not without restrictions.

Since cores has to go to single resource (flash), there will be arbitration in memory access and the cores will wait for access and will slow each other.

But if the second core execute something simple, it will go most of the time from cache, drop in performance will be very small.

Cores has its separate access ports on XBAR:

petervlna_0-1745475835739.png

Best regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
1 回复
347 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Is this feasible? i.e. can both cores simultaneously execute in place from the same flash block?

Yes, but not without restrictions.

Since cores has to go to single resource (flash), there will be arbitration in memory access and the cores will wait for access and will slow each other.

But if the second core execute something simple, it will go most of the time from cache, drop in performance will be very small.

Cores has its separate access ports on XBAR:

petervlna_0-1745475835739.png

Best regards,

Peter

0 项奖励
回复