SEGGER J-Link Global DLL Error Codes

This programmer/debugger is an older model and is no longer for sale. Please visit Microchip’s "Programmers and Debuggers" page to find currently available options.

The J-Link DLL defines a set of global error codes which may be returned by almost every DLL API function. The global error codes start at -256, so values from -1 to -255 are reserved for function-specific error codes. In the following, all error codes which are defined by the DLL and their explanations are listed:

Symbolic names Explanation
JLINKARM_ERR_EMU_NO_CONNECTION If this error code is returned, no connection to the emulator could be established.
JLINKARM_ERR_EMU_COMM_ERROR If this error code is returned, a communication error between the emulator and the host occurred.
JLINKARM_ERR_DLL_NOT_OPEN If this error code is returned, the DLL has not been opened but needs to be before using the function that has been called.
JLINKARM_ERR_VCC_FAILURE If this error code is returned, the target system has no power (Measured: VTref < 1V).
JLINK_ERR_INVALID_HANDLE If this error code is returned, an invalid handle (e.g. file handle) was passed to the called function.
JLINK_ERR_NO_CPU_FOUND If this error code is returned, J-Link was unable to detect a supported core that is connected to J-Link.
JLINK_ERR_EMU_FEATURE_NOT_SUPPORTED If this error code is returned, the emulator does not support the selected feature (usually returned by functions that need specific emulator capabilities).
JLINK_ERR_EMU_NO_MEMORY If this error code is returned, the emulator does not have enough memory to perform the requested operation.
JLINK_ERR_TIF_STATUS_ERROR If this error code is returned, an target interface error occurred such as "TCK is low but should be high".

This information was taken from the SEGGER Microcontroller document, “J-Link SDK User’s Guide of the J-Link application program interface (API)”, Software Version 4.86, Manual Rev. 2 (UM08002).

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.