4 Replies Latest reply on Apr 29, 2019 4:55 AM by YeshwanthK_56

    Failed to build Example project

    vivec_3546641

      Hello Team,

       

       

      I am trying to build the example project provided in Modus Toolbox. My target device is: CYBLE-416045-02 .

       

      I am getting following errors: (Sample project is also added below)

       

      make --no-print-directory post-build

      C:/Users/mehdi/ModusToolbox_1.1/tools/modus-shell-1.0/bin/bash --norc --noprofile C:/Users/mehdi/ModusToolbox_1.1/libraries/psoc6sw-1.1/makefiles/platforms/PSoC6_cm4_dual/cymcuelftool_postbuild.bash C:/Users/mehdi/ModusToolbox_1.1/tools/cymcuelftool-1.0/bin/cymcuelftool C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus Build\SPS_NEW_BOARD\EmptyPSoC6App_mainapp/psoc6_01_cm0p_sleep.elf C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus Build\SPS_NEW_BOARD\EmptyPSoC6App_mainapp/Debug/EmptyPSoC6App_mainapp.elf ARM_CM4

      Script: cymcuelftool_postbuild

      1: MCUELFTOOL_LOC : C:/Users/mehdi/ModusToolbox_1.1/tools/cymcuelftool-1.0/bin/cymcuelftool

      2: CM0P_LOC : C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus

      3: CM4_LOC : Build\SPS_NEW_BOARD\EmptyPSoC6App_mainapp/psoc6_01_cm0p_sleep.elf

      4: MCU_CORE : C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus

       

       

      Failed to move C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus to C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus_signed.elf.tmp

       

       

      =========================================

      == Application CM0+ Memory ==

      =========================================

      C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus_signed.elf: Failed to open C:\Users\mehdi\Desktop\WORK\Work\SPS_REP\PSOC6\Modus_signed.elf

       

       

       

      Invoking: GNU ARM Cross Create Flash Image

      arm-none-eabi-objcopy -O ihex EmptyPSoC6App_mainapp_final.elf EmptyPSoC6App_mainapp_final_manual.hex

      c:\Users\mehdi\ModusToolbox_1.1\tools\gcc-7.2.1-1.0\bin\arm-none-eabi-objcopy.exe: 'EmptyPSoC6App_mainapp_final.elf': No such file

      make: *** [EmptyPSoC6App_mainapp.hex] Error 1