Hello, I'm trying during three weeks to implement a pwm in the etpu of the mpc5554. But I don't know how to do. I have read all the freescale documents about the etpu but I have a problem when i test applications on Winidea.
I have all the .c and .h files and an assembler file.
In fact, in the main.c loaded in freescale, I have the following commentary :
"1. MMU not initialized; must be done by debug scripts or BAM
2. SRAM not initialized; must be done by debug scripts or in a crt0 type file "
I think that the SRAM is correctly initialized thanks to the crt0.s file. But the problem is that i don't know how to initialize the MMU. I haven't found any file talking about the initialization of the MMU.
Moreover, I'm not sure that the problem will be resolved thanks to the MMU initialization.
If someone has ever programmed the PWM on the MPC5554 or know how to initialize the MMU, I would be happy to have the solution because I don't know what do now.
Thank you very much
Solved! Go to Solution.
I have found the solution. The problem was that the MMU wasn't initialized.
Are you using one of the Apnote eTPU PWN functions?
The problem as I understand it is etting up the CPu to initialize the eTPU PWM?
Walter Banks
ByteCraft Limited
I have found the solution. The problem was that the MMU wasn't initialized.
Hi
How have you correctly initialized the mmu for the mpc5554?....
currently I can program just first 16KB of flash and