AnsweredAssumed Answered

the same program can not be executed by multi cores

Question asked by Charlin Ma on Mar 10, 2019
Latest reply on Mar 20, 2019 by Martin Kovar

BackGround:

In MPC5748G, I program one piece of code via z4a core in one single elf file.

Then I enable z4b in this single core project(z4a.elf), by configuring the BAF, CCTL2/CADDR2

By the way, z4b start address is the same as z4a, but with different stack.

However z4b does not run.

What is wrong?

But when I create another specific project for z4b, then flash z4a.elf + z4b.elf, they both works fine.

When I create projects in Tricore/rh850, the 2 cores run the same program(the same binary on the same address of flash) with different ram(stack, the small data-addressing base address is the same, of course), they work fine. when they immigrates to PowerPC, they fail. 

What is the constraints that is hidden from programmer?

 

Thanks

Outcomes