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.
Solved! Go to Solution.
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:
Best regards,
Peter
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:
Best regards,
Peter