etpu pwm MPC5554

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

etpu pwm MPC5554

跳至解决方案
2,629 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,410 次查看
jej13
Contributor II

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,410 次查看
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 项奖励
回复
1,411 次查看
jej13
Contributor II

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

0 项奖励
回复
1,410 次查看
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 项奖励
回复