How to enable Master Access of SWT in MPC5748G?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable Master Access of SWT in MPC5748G?

1,013件の閲覧回数
ruuxi1h4cx
Contributor II

149622_149622.pngpastedImage_0.png

Master access of SWT is disabled in  Startup.S as follows.

e_lis      r3, 0x7F00       // -> 0xFF00, master access enable
e_or2i    r3, 0x010A

So I have to modify Startup.S file if I want to access SWT control register. Obviously, this is not a good idea.

But, how to enable Master Access of SWT in MPC5748G apart from that way?

ラベル(1)
0 件の賞賛
返信
1 返信

865件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi,

in startup code modify e_lis r3,0x7F00 to e_lis r3, 0xFF00. This enable access for Master 0.

Regards,

Martin

0 件の賞賛
返信