EasyManua.ls Logo

Segger J-Link - Monitor Code

Segger J-Link
480 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
276 CHAPTER 8 Monitor Mode Debugging
J-Link / J-Trace (UM08001) ©
2004-2017 SEGGER Microcontroller GmbH & Co. KG
8.4 Monitor code
A CPU core-specific monitor code is necessary to perform monitor mode debugging
with J-Link. This monitor performs the communication with J-Link while the CPU is in
debug mode (meaning in the monitor exception). The monitor code needs to be com-
piled and linked as a normal part of the application. Monitors for different cores are
available from SEGGER upon request at support_jlink@segger.com.
In general, the monitor code consists of three files:
JLINK_MONITOR.c: Contains user-specific functions that are called on debug
mode entry, exit and periodically while the CPU is in debug mode. Functions can
be filled with user-specific code. None of the functions must block the generic
monitor for more than 100ms.
JLINK_MONITOR.h: Header file to populate JLINK_MONITOR_ functions.
JLINK_MONITOR_ISR.s: Generic monitor assembler file. (Should not be modified
by the user)Do NOT touch.

Table of Contents

Other manuals for Segger J-Link

Related product manuals