2 Replies Latest reply on Dec 23, 2014 6:48 AM by user_14586677

    Problem with exmaple project

    net.eyal

      I try the example project - emfile_example

         

      I use - PSoc creator 3.0

         

      When I try to build the program (before do any change to code)

         

      I get the following output:

         

      Log file for this session is located at: C:\Users\User\AppData\Local\Temp\PSoC Creator-000.log
      --------------- Build Started: 12/23/2014 12:35:10 Project: emFile_Example01, Configuration: DP8051 Keil 9.51 Debug ---------------
      cydsfit.exe "-.appdatapath" "C:\Users\User\AppData\Local\Cypress Semiconductor\PSoC Creator\3.0" "-.fdsnotice" "-.fdswarpdepfile=warp_dependencies.txt" "-.fdselabdepfile=elab_dependencies.txt" "-.fdsbldfile=generated_files.txt" "-p" "C:\Users\User\Dropbox\PSoC Creator\Design01\emFile_Example01.cydsn\emFile_Example01.cyprj" "-d" "CY8C3866AXI-040" "-s" "C:\Users\User\Dropbox\PSoC Creator\Design01\emFile_Example01.cydsn\Generated_Source\PSoC3" "--" "-yv2" "-v3" "-ygs" "-q10" "-o2" "-.fftcfgtype=BE"
      Elaborating Design...
      HDL Generation ...
      Synthesis ...
      Place and Route ...
      Tech mapping ...
      Info: mpr.M0037: Unused pieces of the design have been optimized out. See the Tech mapping section of the report file for details. (App=cydsfit)
      Analog Placement ...
      Analog Routing ...
      Analog Code Generation ...
      Digital Placement ...
      Digital Routing ...
      Bitstream Generation ...
      Static timing analysis ...
      API Generation ...
      Dependency Generation ...
      Clean Temporary Files ...
      c51.exe .\main.c NOIV LARGE MODDP2 OMF2 VB(1) PR(.\DP8051\DP8051_Keil_951\Debug\main.lst) CD DB NOIP "OT(2, Size)" "INCDIR(., .\Generated_Source\PSoC3)" OJ(.\DP8051\DP8051_Keil_951\Debug\main.obj)
      WARNING: .\Generated_Source\PSoC3\emFile.h:23: can't open file 'MMC_X_HW.h'
      WARNING: .\main.c:32: can't open file 'FS.h'
      WARNING: .\main.c:34: can't open file 'Global.h'
      ERROR: .\main.c:40: syntax error near 'step', expected ')'
      ERROR: .\main.c:50: 'step': undefined identifier
      ERROR: .\main.c:52: 'str': undefined identifier
      ERROR: .\main.c:64: 'U16': undefined identifier
      ERROR: .\main.c:64: syntax error near 'step'
      ERROR: .\main.c:65: 'FS_FILE': undefined identifier
      The command 'c51.exe' failed with exit code '2'.
      --------------- Build Failed: 12/23/2014 12:35:38 ---------------
      --------------- Build Started: 12/23/2014 12:36:34 Project: emFile_Example01, Configuration: DP8051 Keil 9.51 Debug ---------------
      The code generation step is up to date.
      c51.exe .\main.c NOIV LARGE MODDP2 OMF2 VB(1) PR(.\DP8051\DP8051_Keil_951\Debug\main.lst) CD DB NOIP "OT(2, Size)" "INCDIR(., .\Generated_Source\PSoC3)" OJ(.\DP8051\DP8051_Keil_951\Debug\main.obj)
      WARNING: .\Generated_Source\PSoC3\emFile.h:23: can't open file 'MMC_X_HW.h'
      WARNING: .\main.c:32: can't open file 'FS.h'
      WARNING: .\main.c:34: can't open file 'Global.h'
      ERROR: .\main.c:40: syntax error near 'step', expected ')'
      ERROR: .\main.c:50: 'step': undefined identifier
      ERROR: .\main.c:52: 'str': undefined identifier
      ERROR: .\main.c:64: 'U16': undefined identifier
      ERROR: .\main.c:64: syntax error near 'step'
      ERROR: .\main.c:65: 'FS_FILE': undefined identifier
      The command 'c51.exe' failed with exit code '2'.
      --------------- Build Failed: 12/23/2014 12:36:35 ---------------
      --------------- Build Started: 12/23/2014 13:00:11 Project: emFile_Example02, Configuration: DP8051 Keil 9.51 Debug ---------------
      cydsfit.exe "-.appdatapath" "C:\Users\User\AppData\Local\Cypress Semiconductor\PSoC Creator\3.0" "-.fdsnotice" "-.fdswarpdepfile=warp_dependencies.txt" "-.fdselabdepfile=elab_dependencies.txt" "-.fdsbldfile=generated_files.txt" "-p" "C:\Users\User\Dropbox\PSoC Creator\Design01\emFile_Example02.cydsn\emFile_Example02.cyprj" "-d" "CY8C3866AXI-040" "-s" "C:\Users\User\Dropbox\PSoC Creator\Design01\emFile_Example02.cydsn\Generated_Source\PSoC3" "--" "-yv2" "-v3" "-ygs" "-q10" "-o2" "-.fftcfgtype=BE"
      Elaborating Design...
      HDL Generation ...
      Synthesis ...
      Place and Route ...
      Tech mapping ...
      Info: mpr.M0037: Unused pieces of the design have been optimized out. See the Tech mapping section of the report file for details. (App=cydsfit)
      Analog Placement ...
      Analog Routing ...
      Analog Code Generation ...
      Digital Placement ...
      Digital Routing ...
      Bitstream Generation ...
      Static timing analysis ...
      API Generation ...
      Dependency Generation ...
      Clean Temporary Files ...
      c51.exe .\main.c NOIV LARGE MODDP2 OMF2 VB(1) PR(.\DP8051\DP8051_Keil_951\Debug\main.lst) CD DB NOIP "OT(2, Size)" "INCDIR(., .\Generated_Source\PSoC3)" OJ(.\DP8051\DP8051_Keil_951\Debug\main.obj)
      WARNING: .\Generated_Source\PSoC3\emFile.h:23: can't open file 'MMC_X_HW.h'
      WARNING: .\main.c:32: can't open file 'FS.h'
      WARNING: .\main.c:34: can't open file 'Global.h'
      ERROR: .\main.c:40: syntax error near 'step', expected ')'
      ERROR: .\main.c:50: 'step': undefined identifier
      ERROR: .\main.c:52: 'str': undefined identifier
      ERROR: .\main.c:64: 'U16': undefined identifier
      ERROR: .\main.c:64: syntax error near 'step'
      ERROR: .\main.c:65: 'FS_FILE': undefined identifier
      The command 'c51.exe' failed with exit code '2'.
      --------------- Build Failed: 12/23/2014 13:00:41 ---------------
      Warning: prj.M0213: A build is required before the project 'emFile_Example02' can be exported. Would you like to build and continue with the export now?
       NO
       

         

      Yoni

         

      SnoreDown