7 Replies Latest reply on Dec 4, 2019 11:09 PM by ShR_1265436

    PSoC Designer build not working in Win10 64 bit

    ShR_1265436

      Hi

      I've just moved from a slow 32 bit Windows 10 system to a faster 64 bit system. I have installed PSoC Designer 5.4 in XP-SP3 compatibility mode, but the build does not take place.

      I get this message:

      Starting MAKE... psocmakemake.exe PDProject1 -oproject.mk creating project.mk -- no changes mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm mkdepend.exe @mkdep mkdepend.exe @mkdep if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/daily.o'.  Stop.   PDProject1 - 1 error(s) 0 warning(s) 02:28:08

       

      Please advise

        • 1. Re: PSoC Designer build not working in Win10 64 bit
          SampathS_11

          Hello Shivkumar,

           

          Kindly try the following:

          - Move project to C:\ Drive

          - Hope you are performing Generate / Build

          - PSoC Designer 5.4 was released nearly five years ago, and so has not been tested on Windows 10. However, Windows 10 supports Windows XP Virtual Machine. You can also try along that line.

           

          Best regards,

          Sampath Selvaraj

          • 2. Re: PSoC Designer build not working in Win10 64 bit
            ShR_1265436

            Hello Sampath

             

            Thank you for the reply.

            I have tried your suggestions.

             

            I use the Build menu 'Generate/Build' option to build the project.

             

            I tried copying the project directory to C:\ (C drive root directory). This gave errors that the include files were not found.

            Moving the project directory to any other directory (like D:\Hardware\PSOC) to remove the spaces in the directory name, also gave the include files error How do I remove the include files error? Where do I define path to include files?

            I tried running Designer in compatibility mode (WinXP SP3). Not working. The error remains as below:

             

            Starting MAKE...

            psocmakemake.exe PDProject1 -oproject.mk

            creating project.mk

            mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm

            mkdepend.exe @mkdep

            mkdepend.exe @mkdep

            if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom

            if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex

            make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/daily.o'.  Stop.

             

            My earlier system was a 32bit Win10 system. I had no problems there, except the svg file warning when Designer was started.

             

            I tried re-installing Designer in the new machine in compatibility mode also. No go.

             

            Please help.

            • 3. Re: PSoC Designer build not working in Win10 64 bit
              SampathS_11

              Hello Shivakumar,

               

              Where is daily.c in your project tree?

               

              Best regards,

              Sampath

              • 4. Re: PSoC Designer build not working in Win10 64 bit
                ShR_1265436

                Hi Sampath.

                There is no 'Daily.c' in my project. There is a 'Daily.h' in the inc directory created by Designer, I think. I haven't created it. But these are its contents:

                 

                //*****************************************************************************

                //*****************************************************************************

                //  FILENAME:  Daily.h

                //  Version: 1.7, Updated on 2015/3/4 at 22:26:11

                //  Generated by PSoC Designer 5.4.3191

                //

                //  DESCRIPTION:

                //    Daily Module header file.

                //-----------------------------------------------------------------------------

                //      Copyright (c) Cypress Semiconductor 2015. All Rights Reserved.

                //*****************************************************************************

                //*****************************************************************************

                #ifndef Daily_INCLUDE

                #define Daily_INCLUDE

                 

                 

                /* include the global header file */

                #include <m8c.h>

                 

                 

                /* Create pragmas to support proper argument and return value passing */

                #pragma fastcall16  Daily_Start         // class 1

                #pragma fastcall16  Daily_Stop          // class 2

                #pragma fastcall16  Daily_bE2Write      // class 4

                #pragma fastcall16  Daily_E2Read        // class 4

                 

                 

                //-------------------------------------------------

                // Prototypes of the Daily API.

                //-------------------------------------------------

                extern void  Daily_Start(void);     

                extern void  Daily_Stop(void);

                extern CHAR  Daily_bE2Write(WORD wAddr, BYTE * pbData, WORD wByteCount, CHAR cTemperature);

                extern void  Daily_E2Read(WORD wAddr, BYTE * pbDataDest, WORD wByteCount);

                 

                 

                //-------------------------------------------------

                // Defines for Daily API's.

                //-------------------------------------------------

                /* Return value for bE2Write */

                #define  Daily_NOERROR           0

                #define  Daily_FAILURE          -1

                #define  Daily_STACKOVERFLOW    -2

                 

                 

                #define  Daily_START_BLOCK        0xfd                               // Starting block of Daily EEPROM device

                #define  Daily_START_ADDR         (0xfd * 64)                        // absolute address of Daily EEPROM device

                #define  Daily_LENGTH             0x40                               // length of Daily EEPROM device

                 

                 

                #endif

                // end of file Daily.h

                • 5. Re: PSoC Designer build not working in Win10 64 bit
                  ShR_1265436

                  I tried another project on the same machine (64 bit Win10). These are the errors:

                   

                   

                  Starting MAKE...

                  psocmakemake.exe PDProject1 -oproject.mk

                  creating project.mk

                  mkdepend.exe -f project.dep -p./obj/ -o.o -- -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include -I./lib -I./std -I. -IC:/PROGRA~2/Cypress/PSOCDE~1/5.4/Common/CYPRES~1/tools/include/CY8C28~1  -- main.c ser_lcd.asm boot.asm

                  mkdepend.exe @mkdep

                  mkdepend.exe @mkdep

                  if exist output\PDProject1.rom del /F /Q  output\PDProject1.rom

                  if exist output\PDProject1.hex del /F /Q  output\PDProject1.hex

                  mkdir std

                  mkdir std\obj

                  make: *** No rule to make target `D:\Hardware\PSoC\Chip', needed by `lib/obj/bcamp.o'.  Stop.

                   

                  bcamp is the PGA module I use for signal amplification.

                   

                  I'll try again building after renaming directories with no spaces in directory names. Lets see.

                   

                  Edited to change 'installing' to 'building after renaming directories'

                  • 6. Re: PSoC Designer build not working in Win10 64 bit
                    SampathS_11

                    Hello Shivakumar,

                     

                    Kindly move your projects to the C:\ directory, and generate / build from there.

                     

                    Best regards,

                    Sampath

                    • 7. Re: PSoC Designer build not working in Win10 64 bit
                      ShR_1265436

                      Haah!!

                      It worked!

                      I just removed the spaces from the directory names.

                      My source was in 'Hardware\PSoC\Chip Level Projects\433 Projects\'

                      I changed to 'Hardware\PSoC\ChipLevelProjects\433Projects\'

                      No need to move the files to root dir, or re-install etc.

                      Going to program a chip and test its working!

                      Thank you Sampath.