etpu pwm MPC5554

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,015件の閲覧回数
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 解決策
796件の閲覧回数
jej13
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
796件の閲覧回数
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 件の賞賛
返信
797件の閲覧回数
jej13
Contributor II

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

0 件の賞賛
返信
796件の閲覧回数
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 件の賞賛
返信