etpu pwm MPC5554

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

etpu pwm MPC5554

Jump to solution
2,111 Views
jej13
Contributor II

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

Labels (1)
0 Kudos
Reply
1 Solution
892 Views
jej13
Contributor II

I have found the solution. The problem was that the MMU wasn't initialized.

View solution in original post

0 Kudos
Reply
3 Replies
892 Views
walt
Contributor II

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

0 Kudos
Reply
893 Views
jej13
Contributor II

I have found the solution. The problem was that the MMU wasn't initialized.

0 Kudos
Reply
892 Views
andre_mocci
Contributor I

Hi

 

How have you correctly initialized the mmu for the mpc5554?....

currently I can program just first 16KB of flash and

0 Kudos
Reply