This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[Su007]: Unable to open the command file

Other Parts Discussed in Thread: CC2510, SIMPLICITI, CC2640

Have currently opened up the simple link project for CC2510 in IAR workbench, I am currently getting the error:

[Su007]: Unable to open the command file "C:\Texas Instruments\SimpliciTI-IAR-1.2.0\Components\bsp\boards\

sfrccxx10\ide\srfccxx10_cc2510\iar\..\..\..\source\apps\smpl_config.dat"

I have tried to follow other threads on this matter, such as a peer to peer example however it doesn't seem to be applicable to what my error consists of. I was wondering if there was anybody that knew the solution to this error? 

Any help would be greatly appreciated,

Mairtin

  • Mairtin,

    check whether you can find the .dat file at:

    "C:\Texas Instruments\SimpliciTI-IAR-1.2.0\Components\bsp\boards\sfrccxx10\source\apps\smpl_config.dat"

    if not, change to the correct .dat file path

  • The file path is correct, however I am still getting the same error which is quite baffling. 

    The path is, C:\Texas Instruments\SimpliciTI-IAR-1.2.0\Components\bsp\boards\sfrccxx10\apps

    However the error keeps saying this is the path:

    "C:\Texas Instruments\SimpliciTI-IAR-1.2.0\Components\bsp\boards\sfrccxx10\ide\srfccxx10_cc2510\iar\..\..\..\source\apps\smpl_config.dat

    Could there be any explanation for this? 

    Also when I try and use the path that they say cannot open the command file, the same error still persists. 

  • This is a screen shot of the problem, if this would have any way in helping identify the problem

  • The solution to this problem was that the project had not been 'cleaned' and the previous files were still in the project. I have now the problem where when I go to build the project, nothing is happening it gets to this point:

    Updating build tree...

    bsp_board.c bsp_drivers.c bsp_extended.c smpl_link.c bsp.c bsp_buttons.c bsp_leds.c mrfi.c mrfi_f1f2.c mrfi_radio.c nwk.c nwk_QMgmt.c nwk_api.c nwk_frame.c nwk_globals.c nwk_freq.c nwk_ioctl.c nwk_join.c

    nwk_link.c nwk_mgmt.c nwk_ping.c nwk_security.c

    Then sits at this point for as long as you leave it, IAR Workbench will also seem to stop responding also when the code is being built. 

    The vital question is, if this is a problem with the debugger settings or any other settings in IAR Workbench, or unfortunately this is due to me requiring a new laptop. 

  • I think the problem may be caused by the output file as when I try to open it, I get this here message:

    Then when I also try and debug the code without downloading, this message appears:

    What is the problem with the output file and also why will the code not debug for?

    Any help would be greatly appreciated!

    Mairtin

  • Mairtin,

    which software package are you working with actually? Can you share the link where you downloaded it?

  • I am working with IAR Embedded Workbench IDE, which I installed via a CD that was supplied with the development kit (CC2510DK-MINI) which I purchased from TI. 

  • Mairtin,

    could you try instead just to use the SimpliciTI code instead the one from the CD delivered with the DK?

    http://www.ti.com/tool/simpliciti

  • I has the same issues like which he said....

     

    Building configuration: CC2640App - FlashROM 
    Updating build tree... 
     
    2  file(s) deleted. 
    Updating build tree... 
    Performing Pre-Build Action 
    anbt_dmp_driver.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    accelerometer.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    anbt_i2c.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    anbt_dmp_mpu6050.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    battservice.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    bleUserConfig.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    Board.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    board_adxl345.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    board_key.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    board_led.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    buzzer.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    board_uart.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    devinfoservice.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    ccfg_appBLE.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    ICallBleAPI.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    gattservapp_util.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    main.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    keyfobdemo.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    peripheral.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    npi_tl_uart.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    proxreporter.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    simplekeys.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
    util.c  
    [Su007]: Unable to open the command file "G:\AmoMCU_newDIY\TEST2_KeyFob-Amomcu\CC26xx\IAR\Application\CC2640\..\..\..\..\..\..\CC26XX_other\Projects\ble\config\ 
    buildComponents.opt" 
    Error while running C/C++ Compiler 
     
    Total number of errors: 23 
    Total number of warnings: 0 
    

     

  • It seems that you are trying to build CC2640 BLE example. Can you specify which BLE stack version and example you use?
  • user4354914: Repost your question in the BLE forum.