This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to run CMSIS configuration tool

I am new to Nordic and am using SES as my development environment along with the Nordic SDK v15.0.0.  I have followed the instructions for installing the CMSIS configuration tool and it works in the examples but cannot get it to work with a custom project directory.  The tools.xml file follows all the suggestions that I found on your website but still no luck.  When called, I get the CMSIS Config Completed and Finished CMSIS Config posts in the output window but the tool GUI never showed up on the monitor. I have tried directly coding the path for the tool in the java instruction contained in tools.xml and also tried modifying the "global macros" path in the build environment.  Any additional suggestions?

  • Hi,

    "CMSIS config - completed" indicates that the command has been run.

    Could you post your tools.xml and the content of the Output Window from when you change Tasks to Output in the dropdown?

     - Johannes

  • Sorry for the long break, I was moved to a different project for a while but am now back.  I just updated to SES 3.40 today but problem still exists as previously described.  Below is my tools.xml file.  Looking back to the previous comment by Bjorn Kvaale, where do I find the macro settings?

    <tools>

      <!-- PC-lint - www.gimpel.com/.../pcl.htm -->

      <if host_os="win">
        <item name="Tool.PClint">
          <menu>&amp;PC-lint (Unit Check)</menu>
          <text>PC-lint (Unit Check)</text>
          <tip>Run a PC-lint unit checkout on the selected file or folder</tip>
          <key>Ctrl+L, Ctrl+P</key>
          <match>*.c;*.cpp</match>
          <message>Linting</message>
          <commands>
            &quot;$(LINTDIR)/lint-nt&quot; -v -incvar(__CW_ARM) -i$(LINTDIR)/lnt co-gcc.lnt $(DEFINES) $(INCLUDES) -D__GNUC__ -u -b +macros +macros -w2 -e537 +fie +ffn -width(0,4) -hF1 &quot;-format=%f:%l:%C:\s%t:\s%m [-e%n]&quot; &quot;$(InputPath)&quot;
          </commands>
        </item>
        <item name="Tool.CMSIS_Config_Wizard" wait="no">
          <menu>&amp;CMSIS Configuration Wizard</menu>
          <text>CMSIS Configuration Wizard</text>
          <tip>Open a configuration file in CMSIS Configuration Wizard</tip>
          <key>Ctrl+Y</key>
          <match>*config*.h</match>
          <message>CMSIS Config</message>
          <commands>
            java -jar &quot;$(CMSIS_CONFIG_TOOL)&quot;&quot;$(InputPath)&quote;
          </commands>
        </item>
      </if>
    </tools>

  • You can find the Project Macros, by right clicking on your Project (e.g. Project 'ble_app_blinky_pca10040_s132') in the top left hand corner of SES -> Edit Options ... -> Code tab -> Build tab -> Choosing the Common Configuration -> click on Project Macros.

    See the picture below for more info:

    In your devzone post, you mention that you have "followed the instructions for installing the CMSIS configuration tool". Did you follow this youtube video?

  • The project MACRO's are correct.  I ran the video again and everything looks good.  Java is installed and I have been able to bring up the wizard GUI by invoking the command line from a console window (in Windows 7 Professional).  I do not get a GUI window after calling CMSIS configuration manager in SES using the right hand click on the "sdk_config.h" file in the project window.   The output window does show the following, which makes me believe it has run but was unable to open a new window:

    CMSIS Config
    CMSIS Config sdk_config.h
    Finished CMSIS Config

    Any idea how to resolve this?

  • java -jar &quot;$(CMSIS_CONFIG_TOOL)&quot;&quot;$(InputPath)&quote;

    Hi,

    You are missing a space between the two parameters.
    It should be: java -jar &quot;$(CMSIS_CONFIG_TOOL)&quot; &quot;$(InputPath)&quote;

Related