3 Replies Latest reply on Dec 5, 2017 9:14 PM by srds

    Cannot find Generated_Sources

    rashmihr_2937151

      Hello,

       

      I took example project CCG2 -> Notebook. It didn’t generating “Generated_Source” sources to workspace(It appeared gray in the workspace explorer). If i open that file I get error:

      Unable to open file from disk: (Could not find a part of the path 'C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\CYPD2122-24LQXI_notebook\CYPD2122-24LQXI_notebook.cydsn\Generated_Source\PSoC4\I2C_CONFIG.h'.)

       

      please can anyone suggest solution for this?

       

       

      Thanks,

      Rashmi

        • 1. Re: Cannot find Generated_Sources
          lisz

          Hi Rashmi,

           

          After you opened the project, please kindly build it. And then you will get the generate source files.

           

          Best Regards,

          Lisa

          • 2. Re: Cannot find Generated_Sources
            rashmihr_2937151

            Hi ,

              

            Thanks for the response.

             

            Yes, I have done, but i get error:

             

            The instance 'bl_comp', of component Bootloadable_v1_30, contains an error.

            Unable to locate and customize component 'Bootloadable_v1_30' used in schematic

            'C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\CYPD2122-24LQXI_notebook\CYPD2122-24LQXI_notebook.cydsn\TopDesign\TopDesign.cysch'.

             

            The instance 'HPI', of component SCB_P4_v3_0, contains an error.

            Unable to locate and customize component 'SCB_P4_v3_0' used in schematic

            'C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\CYPD2122-24LQXI_notebook\CYPD2122-24LQXI_notebook.cydsn\TopDesign\TopDesign.cysch'.

             

            The instance 'MUX', of component SCB_P4_v3_0, contains an error.

            Unable to locate and customize component 'SCB_P4_v3_0' used in schematic

            'C:\Program Files (x86)\Cypress\EZ-PD CCGx SDK\CCG2\Firmware\projects\CYPD2122-24LQXI_notebook\CYPD2122-24LQXI_notebook.cydsn\TopDesign\TopDesign.cysch'

             

            No location was selected for the binaries of the tool chain "ARM MDK Generic". The tool chain will not build until a location is selected.

            Use Tools > Options > Project Management > Generic Toolchains to set the location of the appropriate binaries.

             

            Build error: ERROR: No location was selected for the binaries of the tool chain "ARM MDK Generic".

            The tool chain will not build until a location is selected. Use Tools > Options > Project Management > Generic Toolchains to set the location of the appropriate binaries

            • 3. Re: Cannot find Generated_Sources
              srds

              Looks like you have not set the path (or correct path) to ARM MDK Generic toolchain (under Tools -> Options -> Project Management -> ARM Toolchains) and that's why you are seeing build error.

               

              Instead, try using default GCC toolchain (from menu Project -> Build Settings) and see if that resolves the issue. Refer to the section 3.1.2 Compiling the Project with PSoC Creator of the Cypress EZ-PD™ CCGx SDK User Guide for details.