I'm now having a problem when using printf in the main function.
I do observe the messsage from the console.
And the INTVEC is updated,but the interrupts can no longer be entered.
Without using the printf, the interrupts work well.
I configured my project as the follows.
Is there any connection between the printf and the interrupts?
How can I use the printf correctly without affecting the interrupts?
Best regards!
Laura
已解决! 转到解答。
Hi,
the only difference what I can identify is that you are using older version of PE Micro debug plugin. On third screenshot I can see gdbjtag.ppc_1.7.2 . On my machine is latest version - 1.8.3.
Try to update your PE Micro debug plugin - https://community.nxp.com/docs/DOC-342273
Hope it helps.
Jiri
Jiri is right, you have to update P&E plugin. They have fixed this issue since version 1.7.3
Hi,
I figured out, that my issue is related to MPC5748G only (there is the same Z4 core). I did some test with MPC5744P - and there is no issue - at least with pll + interrupt example with added semihosting console support:
Can you please share your project?
Hi Jiri,
Thanks for your help.
I have also tried the pll + interrupt example . The same issue happened.
The changes I made are as follows.
1.Libraries support
2. semihosting support
3. Printf function
but as you see the application just can't stop at the breakpoint in the PIT0_isr .
Is there anything wrong with my changes above?
Best regards!
Laura
Hi,
the only difference what I can identify is that you are using older version of PE Micro debug plugin. On third screenshot I can see gdbjtag.ppc_1.7.2 . On my machine is latest version - 1.8.3.
Try to update your PE Micro debug plugin - https://community.nxp.com/docs/DOC-342273
Hope it helps.
Jiri