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?

ソリューションへジャンプ
377件の閲覧回数
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 解決策
350件の閲覧回数
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 返信
351件の閲覧回数
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 件の賞賛
返信