Accessing winIDEA settings

Parent Previous Next

isystem.connect API features sets of classes that can be used to configure winIDEA. However, not all settings can be set using the provided classes. This is why the isystem.connect API offers a couple of functions as the part of the CIDEController class (e.g. getOptionStr, setOption), which enable the user to read or modify any winIDEA setting which can be accessed through an option URL. This chapter shows how to search for the desired option URL. For documentation of the before mentioned functions please refer to the API documentation.

The easiest method to obtain the option URL is to open Help / Display Option.

Depending on the type of the option, it is necessary to select appropriate type:
IDE - covers settings found in Debug menu (Files for download, Operating System, Debug Options), Test menu (isystem.test options), FLASH menu (FLASH Setup), Tools menu (Options)

iOPEN - covers hardware related settings (iSYSTEM tools, CPU settings)

Document - covers document settings, most commonly used for configuring CPU-specific analyzer settings

Plugin - covers plugin-specific settings

For example, to configure the RH850/F1H PE1 core to stall when the trace FIFO is full, check the URL option and search for Stall in the list of option strings for traceFile.trd and hit Display:

Choose the setting that depicts the StallCPU for PE1 core:

This string can now be used in the isystem.connect API to change its value to TRUE.