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?

Parents
  • I finished testing this by taking a copy of the ble_app_blinky example located in sdk15/examples/ble_peripheral/ & renaming it. Then, I deleted all of the pca folders that I didn't need inside the renamed folder. The only files left for me were pca10040, ble_app_blinky.eww & the main.c file. Inside pca10040/s132/, I then deleted all of the folders except for config & ses. Lastly, I opened up the ble_app_blinky_pca10040_s132 EMPROJECT file & the CMSIS manager still worked. 

    I just used the ble_app_blinky example as an example, but you can base your code upon whichever Nordic example works best for you, make a copy of the example folder & then make changes to the code.

    I am not sure if this is a satisfactory answer regarding you wanting to use a "custom project directory", but at least this way you can make all the changes you want to the example code & still use CMSIS.

    These two links were useful for setting up the CMSIS wizard (link 1, link 2).

  • I provided incorrect information in my post.  The CMSIS configuration tool does not come up in the examples either; each time I try to open it I get the following in the output window but no GUI to make changes.

    CMSIS config - completed

    Finished CMSIS config - completed

Reply Children
  • Are you sure that you have installed Java? You can check by writing the command:

    java

    in a command prompt window. I have heard of a similar situation to yours where the solution was to install java.

  • Java is installed.  Running the command line from the modified tools.xml brings up the CMSIS tool window but it does not come up when I run the tool in SES; the was done in the Nordic_Semi directory of the SDK (15.0.0) using a command window.  Sounds like a path problem but I have been unable to locate anything wrong in the project parameters.

  • Have you made sure that the project macros for the config wizard jar file are correct (see link)? My path was:

    CMSIS_CONFIG_TOOL=../../../../../../external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar

     

  • 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>

Related