添加至 Operation Mode Control--Jones Chen wiki 页面

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Operation Mode Control--Jones Chen



Author: Jones Chen in Texas Instruments
1JTAG pin
2TRST
Do not use pull-up resistors on TRST: it has an internal pull-down device.
In a low-noise environment, TRST can be left floating.
In a high-noise environment, an additional pull-down resistor may be needed. (The size of this resistor should be based on electrical current considerations.)
3Operations Mode Status Latched
The state of the TRST, EMU0, and EMU1 signals at device power up determine the operating mode of the device. The operating mode takes effect as soon as the device has sufficient power to operate. Should the TRST signal rise, the EMU0 and EMU1 signals are sampled on its rising edge and the\at operating mode is latched.
4Test Program
A test program has been programmed, the program has been burn to flash in advance. The program toggles the GPIO34 which connected to LED3 to let the LED blink.
5EMU0 and EMU1 Circuits:
6XRST Circuit:
 
7Experiment Description:
Emulator is disabled, so the TRST=0 when power on
Once power on, the four signals TRST XRST EMU0 EMU1 are monitored from the oscillograph.
 
1)  The yellow line is the TRST signal
2)  The aqua line is the XRST signal
3)  The purple line is the EMU0 signal
4)  The green line is the EMU1 signal
 
8Operation mode:
 
9Results:
Experiment Number
Operation Mode entered
Signals Description
Program Run correctly
Else
1
Normal mode
Figure 1
Yes, led blinking
 
2
Wait in reset mode
Figure 2
No
 
3
Reserved for testing
Figure 3
No
 
4
Slave mode
Figure 4
Yes, led blinking
 
 
 
 
 
 
 
10Figures:
Figure 1 Experiment 1, Power on momentNormal Mode entered
  
Figure 2 Experiment 2, Power on momentWait in reset mode entered
Figure 3 Experiment 4,  Power on momentReserved for testing mode entered
Figure 4 Experiment 6, Power on momentSlave mode entered