Hello, I got ccs: Bus error when debug S32G274 cortex m7.
Environment: S32G-VNP-RDB2, gcc compiler, S32DebugProbe & PLS UDE debugger.
Problem description:
Cpu fail when execute ldr.w lr, [sp], #4; with S32DebugProbe:
SP and LR before execution:
[sp]=[0x34063770] memory:
With the same elf file, load into PLS debugger, this instruction executes successfully, but it failed later when executed an branch instruction:
lost connection after execution:
The branch destination address is valid:
Hi,
What example are you using? If not, under any NXP provided example, can you reproduce this behavior?
Please, let us know.
Hi, Daniel,
It's not NXP provided example, but I can give you the elf file. Thank you for your help!
Hi,
Thanks for your feedback.
We recommend opening a ticket under the NXP online services for reviewing your project. Since this is a public channel, we recommend a private channel for this manner.
Please, let us know.
Thank you for your suggestion!