Segger J-Link User Manual page 168

Hide thumbs Also See for J-Link:
Table of Contents

Advertisement

168
This will not work for devices which need some special init (for example to add the
core to the JTAG chain), which is lost at a TAP reset.
Prototype
int JLINK_JTAG_Reset(void);
5.12.2.12
JLINK_JTAG_SetDeviceId()
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 configured correctly by setting the appropriate global DLL variables.
For more information about the known global DLL variables, please refer to Global DLL
variables .
Prototype
int JLINK_JTAG_SetDeviceId(int DeviceIndex, U32 Id);
5.12.2.13
JLINK_JTAG_Store()
Stores a JTAG sequence (max. 64 bits per pin) in the DLL JTAG buffer.
Prototype
int JLINK_JTAG_Store(U32 tms, U32 tdi, U32 NumBits);
5.12.2.14
JLINK_JTAG_StoreClocks()
Stores a given number of clocks in the DLL JTAG buffer.
Prototype
int JLINK_JTAG_StoreClocks(int NumClocks);
5.12.2.15
JLINK_JTAG_StoreDR()
Stores JTAG data in the DLL JTAG buffer.
Before calling this function, please make sure that the JTAG chain has been configured
correctly by setting the appropriate global DLL variables. For more information about the
known global DLL variables, please refer to Global DLL variables .
Prototype
int JLINK_JTAG_StoreDR(U32 tdi, int NumBits);
5.12.2.16
JLINK_JTAG_StoreIR()
Stores a JTAG instruction in the DLL JTAG buffer.
Before calling this function, please make sure that the JTAG chain has been configured
correctly by setting the appropriate global DLL variables. For more information about the
known global DLL variables, please refer to Global DLL variables .
Prototype
int JLINK_JTAG_StoreIR(U32 Cmd);
5.12.2.17
JLINK_JTAG_Write()
Writes a JTAG sequence (max. 64 bits per pin).
J-Link / J-Trace (UM08001)
CHAPTER 5
© 2004-2017 SEGGER Microcontroller GmbH & Co. KG
J-Link script files

Advertisement

Table of Contents

Troubleshooting

loading
Need help?

Need help?

Do you have a question about the J-Link and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

J-trace

Table of Contents

Save PDF