Enable J-Link log file
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:
- Open the J-Link Commander
- Click the small green J-Link icon in the windows task bar
- Switch to the Settings tab in the J-Link Control Panel
- Check the Override checkbox in the Log file section and specify a path to the log file
- Close the J-Link Commander
- 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.
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.