J Link / Trace User Guide Link, Manual Web
User Manual:
Open the PDF directly: View PDF
Page Count: 367 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- About this document
- Table of contents
- Introduction
- Licensing
- J-Link software and documentation package
- Software overview
- J-Link Commander (Command line tool)
- J-Link GDB Server
- J-Link GDB Server CL (Windows, Linux, Mac)
- Debugging with J-Link GDB Server
- Supported remote (monitor) commands
- clrbp
- cp15
- device
- DisableChecks
- EnableChecks
- flash breakpoints
- getargs
- go
- halt
- interface
- jtagconf
- memU8
- memU16
- memU32
- reg
- regs
- reset
- semihosting breakOnError
- semihosting enable
- semihosting IOClient
- semihosting ARMSWI
- semihosting ThumbSWI
- setargs
- setbp
- sleep
- speed
- step
- SWO DisableTarget
- SWO EnableTarget
- SWO GetMaxSpeed
- SWO GetSpeedInfo
- waithalt
- wice
- SEGGER-specific GDB protocol extensions
- Command line options
- Program termination
- Semihosting
- J-Link Remote Server
- J-Mem Memory Viewer
- J-Flash
- J-Link RTT Viewer
- J-Link SWO Viewer
- SWO Analyzer
- JTAGLoad (Command line tool)
- J-Link RDI (Remote Debug Interface)
- Processor specific tools
- J-Link Software Developer Kit (SDK)
- Setup
- Working with J-Link and J-Trace
- Supported IDEs
- Connecting the target system
- Indicators
- JTAG interface
- SWD interface
- Multi-core debugging
- Connecting multiple J-Links / J-Traces to your PC
- J-Link control panel
- Reset strategies
- Strategies for ARM 7/9 devices
- Type 0: Hardware, halt after reset (normal)
- Type 1: Hardware, halt with BP@0
- Type 2: Software, for Analog Devices ADuC7xxx MCUs
- Type 3: No reset
- Type 4: Hardware, halt with WP
- Type 5: Hardware, halt with DBGRQ
- Type 6: Software
- Type 7: Reserved
- Type 8: Software, for ATMEL AT91SAM7 MCUs
- Type 9: Hardware, for NXP LPC MCUs
- Strategies for Cortex-M devices
- Type 0: Normal
- Type 1: Core
- Type 2: ResetPin
- Type 3: Connect under Reset
- Type 4: Reset core & peripherals, halt after bootloader
- Type 5: Reset core & peripherals, halt before bootloader
- Type 6: Reset for Freescale Kinetis devices
- Type 7: Reset for Analog Devices CPUs (ADI Halt after kernel)
- Type 8: Reset core and peripherals
- Type 9: Reset for LPC1200 devices
- Type 10: Reset for Samsung S3FN60D devices
- Strategies for ARM 7/9 devices
- Using DCC for memory access
- The J-Link settings file
- J-Link script files
- Actions that can be customized
- Script file API functions
- JLINK_CORESIGHT_AddAP()
- JLINK_CORESIGHT_Configure()
- JLINK_CORESIGHT_ReadAP()
- JLINK_CORESIGHT_ReadDP()
- JLINK_CORESIGHT_WriteAP()
- JLINK_CORESIGHT_WriteDP()
- JLINK_CORESIGHT_WriteDAP()
- JLINK_ExecCommand()
- JLINK_JTAG_GetDeviceId()
- JLINK_JTAG_GetU32()
- JLINK_JTAG_Reset()
- JLINK_JTAG_SetDeviceId()
- JLINK_JTAG_Store()
- JLINK_JTAG_StoreClocks()
- JLINK_JTAG_StoreDR()
- JLINK_JTAG_StoreIR()
- JLINK_JTAG_Write()
- JLINK_JTAG_WriteClocks()
- JLINK_JTAG_WriteDR()
- JLINK_JTAG_WriteDRCont()
- JLINK_JTAG_WriteDREnd()
- JLINK_JTAG_WriteIR()
- JLINK_MemRegion()
- JLINK_MEM_WriteU8()
- JLINK_MEM_WriteU16()
- JLINK_MEM_WriteU32()
- JLINK_MEM_ReadU8()
- JLINK_MEM_ReadU16()
- JLINK_MEM_ReadU32()
- JLINK_SYS_MessageBox()
- JLINK_SYS_MessageBox1()
- JLINK_SYS_Report()
- JLINK_SYS_Report1()
- JLINK_SYS_Sleep()
- JLINK_SYS_UnsecureDialog()
- Global DLL variables
- Global DLL constants
- Script file language
- Script file writing example
- Executing J-Link script files
- Command strings
- List of available commands
- AppendToLogFile
- CORESIGHT_SetIndexAHBAPToUse
- CORESIGHT_SetIndexAPBAPToUse
- device
- DisableAutoUpdateFW
- DisableCortexMXPSRAutoCorrectTBit
- DisableFlashBPs
- DisableFlashDL
- DisableInfoWinFlashBPs
- DisableInfoWinFlashDL
- DisableMOEHandling
- DisablePowerSupplyOnClose
- EnableAutoUpdateFW
- EnableEraseAllFlashBanks
- EnableFlashBPs
- EnableFlashDL
- EnableInfoWinFlashBPs
- EnableInfoWinFlashDL
- EnableMOEHandling
- EnableRemarks
- ExcludeFlashCacheRange
- Hide device selection
- HSSLogFile
- InvalidateCache
- InvalidateFW
- map exclude
- map illegal
- map indirectread
- map ram
- map region
- map reset
- ProjectFile
- ReadIntoTraceCache
- ScriptFile
- SelectTraceSource
- SetAllowFlashCache
- SetAllowSimulation
- SetBatchMode
- SetCFIFlash
- SetCheckModeAfterRead
- SetCompareMode
- SetCPUConnectIDCODE
- SetDbgPowerDownOnClose
- SetETBIsPresent
- SetETMIsPresent
- SetFlashDLNoRMWThreshold
- SetFlashDLThreshold
- SetIgnoreReadMemErrors
- SetIgnoreWriteMemErrors
- SetMonModeDebug
- TraceSampleAdjust
- SetResetPulseLen
- SetResetType
- SetRestartOnClose
- SetRTTAddr
- SetRTTTelnetPort
- SetRTTSearchRanges
- SetRXIDCode
- SetSkipProgOnCRCMatch
- SetSysPowerDownOnIdle
- SetVerifyDownload
- SetWorkRAM
- ShowControlPanel
- SilentUpdateFW
- SupplyPower
- SupplyPowerDefault
- SuppressControlPanel
- SuppressInfoUpdateFW
- SWOSetConversionMode
- Using command strings
- List of available commands
- Switching off CPU clock during debug
- Cache handling
- Virtual COM Port (VCOM)
- Flash download
- Flash breakpoints
- Monitor Mode Debugging
- Low Power Debugging
- Open Flashloader
- J-Flash SPI
- RDI
- RTT
- Trace
- Target interfaces and adapters
- Background information
- Designing the target board for trace
- Semihosting
- Introduction
- Debugger support
- Implementation
- Communication protocol
- Register R0
- Command SYS_OPEN (0x01)
- Command SYS_CLOSE (0x02)
- Command SYS_WRITEC (0x03)
- Command SYS_WRITE0 (0x04)
- Command SYS_WRITE (0x05)
- Command SYS_READ (0x06)
- Command SYS_READC (0x07)
- Command SYS_ISTTY (0x09)
- Command SYS_SEEK (0x0A)
- Command SYS_FLEN (0x0C)
- Command SYS_REMOVE (0x0E)
- Command SYS_RENAME (0x0F)
- Command SYS_GET_CMDLINE (0x15)
- Command SYS_EXIT (0x18)
- Enabling semihosting in J-Link GDBServer
- Enabling Semihosting in J-Link RDI + AXD
- Support and FAQs