Question About SWT Driver of MPC5748G

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

Question About SWT Driver of MPC5748G

578 Views
ruuxi1h4cx
Contributor II

Hello everyone!

    Recently, I'm writing the SWT driver of MPC5748G. But I got a probem when I unlock watchdog. The code is as follows.

/* unlock watchdog */

void swt_unlock(void)

{

    SWT_1_SR = 0xC520;

    SWT_1_SR = 0xD928;

}

    When i run  "SWT_1_SR = 0xC520", there will be " No source available for " " ". So I can't debug my code step by step. How could i do. I would be very grateful if any one can help me.

Labels (1)
0 Kudos
0 Replies