5.11.2.5 JTAG_SetDeviceId()
Description
Sets the JTAG ID of a specified device, in the JTAG chain. The index of the device
depends on its position in the JTAG chain. The device closest to TDO has index 0. The
Id is used by the DLL to recognize the device.
Before calling this function, please make sure that the JTAG chain has been config-
ured correctly by setting the appropriate global DLL variables. For more information
about the known global DLL variables, please refer to Global DLL variables on
page 213.
Prototype
__api__ int JTAG_SetDeviceId(int DeviceIndex, unsigned int Id);
5.11.2.6 JTAG_GetDeviceId()
Description
Retrieves the JTAG ID of a specified device, in the JTAG chain. The index of the
device depends on its position in the JTAG chain. The device closest to TDO has index
0.
Prototype
__api__ int JTAG_GetDeviceId(int DeviceIndex);
5.11.2.7 JTAG_WriteIR()
Description
Writes a JTAG instruction.
Before calling this function, please make sure that the JTAG chain has been config-
ured correctly by setting the appropriate global DLL variables. For more information
about the known global DLL variables, please refer to Global DLL variables on
page 213.
Prototype
__api__ int JTAG_WriteIR(unsigned int Cmd);
5.11.2.8 JTAG_StoreIR()
Description
Stores a JTAG instruction in the DLL JTAG buffer.
Before calling this function, please make sure that the JTAG chain has been config-
ured correctly by setting the appropriate global DLL variables. For more information
about the known global DLL variables, please refer to Global DLL variables on
page 213.
Prototype
__api__ int JTAG_StoreIR(unsigned int Cmd);
5.11.2.9 JTAG_WriteDR()
Description
Writes JTAG data.
Before calling this function, please make sure that the JTAG chain has been config-
ured correctly by setting the appropriate global DLL variables. For more information
about the known global DLL variables, please refer to Global DLL variables on
page 213.
J-Link / J-Trace (UM08001)
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
209
Need help?
Do you have a question about the J-Link and is the answer not in the manual?