Difference between revisions of "Enable J-Link log file"

From SEGGER Wiki
Jump to: navigation, search
(Enable J-Link Log File)
Line 10: Line 10:
 
#From now, any J-Link DLL based application uses the J-Link log file override
 
#From now, any J-Link DLL based application uses the J-Link log file override
   
The override option can be used in any application as it is a global override.
+
The override option can be used in any application to create the J-Link log file as it is a global override.
   
 
=== J-Link Commander ===
 
=== J-Link Commander ===

Revision as of 08:51, 20 October 2016

Enable J-Link Log File

Software which uses the J-Link DLL to include J-Link support (e.g. IDEs), can implement an option to specify a J-Link log file. As this is no must, the J-Link log file can also be set / overwritten using the J-Link Control Panel. This allows to create a log file independent of the used software. Please note, right now the J-Link Control Panel is available in the windows software package, only.

Following steps needs to be done to configure the J-Link log file using the J-Link Control Panel:

  1. Open the J-Link Commander
  2. Click the small green J-Link icon in the windows task bar
  3. Switch to the Settings tab in the J-Link Control Panel
  4. Check the Override checkbox in the Log file section and specify a path to the log file
  5. Close the J-Link Commander
  6. From now, any J-Link DLL based application uses the J-Link log file override

The override option can be used in any application to create the J-Link log file as it is a global override.

J-Link Commander

The J-Link Commander allows to configure the J-Link log file using the "log <LogFilePath>" command.

IAR EWARM

Open the project options Project --> Options and switch to the J-Link / J-Trace --> Connection tab. Check the Log communication checkbox and enter a path.