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?
Hi,
in startup code modify e_lis r3,0x7F00 to e_lis r3, 0xFF00. This enable access for Master 0.
Regards,
Martin